Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2007 16:02:55 +0400
From:      Reshmakov Roman <ml@rrv.ru>
To:        Bill Moran <wmoran@potentialtech.com>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>, VeeJay <maanjee@gmail.com>
Subject:   Re[2]: Help, please ....Port Install Problem, Google didn't help!
Message-ID:  <131202964.20070428160255@rrv.ru>
In-Reply-To: <20070428075027.af3beb1d.wmoran@potentialtech.com>
References:  <2cd0a0da0704280158u3ba40eb3vb1114a9e5ce32a95@mail.gmail.com> <1743483595.20070428151306@rrv.ru> <20070428075027.af3beb1d.wmoran@potentialtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=0D=0A> Reshmakov Roman <ml@rrv.ru> wrote:
>>
>> after 'make' type 'make deinstall && make install'

key phrase: "mysql-client-5.0.27 is already installed", so you need
remove old package and install new :)

"make clean" does not solve this problem cause you clean build tree, not
package.


> I've found that a "make clean" frequently cleans up this problem as well,
> which basically seems to be the result of the port system somehow losing
> track of the fact that a particular dependency is already installed.

>> > Hello
>>=20
>> > I am trying to run a perl script connecting a mysql50 database on a
>> > freebsd61 box.
>>=20
>> > 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......
>>=20
>> > But when I want to install perl database driver, I get this error:
>>=20
>> > localhost# make install clean
>> =3D=3D=3D>>   p5-DBD-mysql50-4.0000 depends on file:
>> > /usr/local/lib/perl5/site_perl/5.8.8/mach/DBI.pm - found
>> =3D=3D=3D>>   p5-DBD-mysql50-4.0000 depends on file: /usr/local/bin/perl=
5.8.8 -
>> > found
>> =3D=3D=3D>>   p5-DBD-mysql50-4.0000 depends on shared library: mysqlclie=
nt.15 - not
>> > found
>> =3D=3D=3D>>    Verifying install for mysqlclient.15 in
>> > /usr/ports/databases/mysql50-client
>> =3D=3D=3D>>  Installing for mysql-client-5.0.27
>> =3D=3D=3D>>   Generating temporary packing list
>> =3D=3D=3D>>  Checking if databases/mysql50-client already installed
>> =3D=3D=3D>>   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
>>=20
>> > Stop in /usr/ports/databases/mysql50-client.
>> > *** Error code 1
>>=20
>> > Stop in /usr/ports/databases/p5-DBD-mysql50.
>> > localhost#
>>=20
>>=20
>> > Please help and advise, what should I do? I have tried to google allre=
ady
>> > but could not find any solution....
>>=20
>>=20
>>=20
>>=20
>> --=20
>> =D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC,
>>  Reshmakov                          mailto:ml@rrv.ru
>>=20
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.=
org"





--=20
=D1 =F3=E2=E0=E6=E5=ED=E8=E5=EC,
 Reshmakov                          mailto:ml@rrv.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?131202964.20070428160255>