Help, please ....Port Install Problem, Google didn't help!

Reshmakov Roman ml at rrv.ru
Sat Apr 28 12:02:58 UTC 2007


> Reshmakov Roman <ml at 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
>> 
>> > 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....
>> 
>> 
>> 
>> 
>> -- 
>> Ñ óâàæåíèåì,
>>  Reshmakov                          mailto:ml at rrv.ru
>> 
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"





-- 
Ñ óâàæåíèåì,
 Reshmakov                          mailto:ml at rrv.ru



More information about the freebsd-questions mailing list