From owner-freebsd-questions@FreeBSD.ORG Sat Apr 28 18:29:00 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB70816A403 for ; Sat, 28 Apr 2007 18:29:00 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu [140.142.32.166]) by mx1.freebsd.org (Postfix) with ESMTP id 95C7A13C465 for ; Sat, 28 Apr 2007 18:29:00 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout3.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3SIT0Ax028154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 28 Apr 2007 11:29:00 -0700 X-Auth-Received: from [192.168.10.45] (c-67-187-164-17.hsd1.ca.comcast.net [67.187.164.17]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l3SISwls017818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 28 Apr 2007 11:28:59 -0700 Message-ID: <46339272.9050506@u.washington.edu> Date: Sat, 28 Apr 2007 11:29:06 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: VeeJay References: <2cd0a0da0704280158u3ba40eb3vb1114a9e5ce32a95@mail.gmail.com> In-Reply-To: <2cd0a0da0704280158u3ba40eb3vb1114a9e5ce32a95@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.4.28.111034 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_SUBJ_9 0, __USER_AGENT 0' Cc: FreeBSD-Questions Subject: Re: Help, please ....Port Install Problem, Google didn't help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Apr 2007 18:29:00 -0000 VeeJay wrote: > Hello > > I am trying to run a perl script connecting a mysql50 database on a > freebsd61 box. > > But I get this error: > Can't locate Mysql.pm in @INC (@INC contains: > /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach > /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl > /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at...... > > But when I want to install perl database driver, I get this error: > > localhost# make install clean > ===> p5-DBD-mysql50-4.0000 depends on file: > /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm - found > ===> p5-DBD-mysql50-4.0000 depends on file: /usr/local/bin/perl5.8.8 - > found > ===> p5-DBD-mysql50-4.0000 depends on shared library: mysqlclient.15 - > not > found > ===> Verifying install for mysqlclient.15 in > /usr/ports/databases/mysql50-client > ===> Installing for mysql-client-5.0.27 > ===> Generating temporary packing list > ===> Checking if databases/mysql50-client already installed > ===> mysql-client-5.0.27 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of > databases/mysql50-client > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/databases/mysql50-client. > *** Error code 1 > > Stop in /usr/ports/databases/p5-DBD-mysql50. > localhost# > > > Please help and advise, what should I do? I have tried to google allready > but could not find any solution.... Do as the directions say. cd to the port directory, run make deinstall, make install. If you get this all the time, try updating your ports, and/or contacting the maintainer because it could be an improper packing list, or some sort of weird circular dependencies (former rather than latter). -Garrett