Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 01:19:16 +0100
From:      PawelG <pawel@mcmail.pl>
To:        freebsd-ports@freebsd.org
Subject:   Re[2]: MySQL  compilation problem
Message-ID:  <299917677.20041222011916@mcmail.pl>
In-Reply-To: <20041221222017.GA12353@xor.obsecurity.org>
References:  <439663082.20041221231133@mcmail.pl> <20041221222017.GA12353@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Tuesday, December 21, 2004, 11:20:17 PM, you wrote:

KK> On Tue, Dec 21, 2004 at 11:11:33PM +0100, PawelG wrote:
>> 
>> Hello,
>> 
>> I've got FreeBSD 5.3 STABLE. I try to compile mysql41, mysql40 and
>> mysql50 without success.
>> 
>> (root@ttyp2):/usr/ports/databases/mysql41-server# make BUILD_STATIC=yes install
>> ===>   mysql-server-4.1.7 depends on executable: gmake - found
>> ===>   mysql-server-4.1.7 depends on file:
>> /usr/local/bin/libtool15 - found
>> ===>   mysql-server-4.1.7 depends on shared library: mysqlclient.14 - not found
>> ===>    Verifying install for mysqlclient.14 in
>> /usr/ports/databases/mysql41-client
>> ===>   Returning to build of mysql-server-4.1.7
>> Error: shared library "mysqlclient.14" does not exist
>> *** Error code 1
>> 
>> I updated ports collection and still can't install mysql.

KK> You have an old version of mysql41-client sitting there already built
KK> and installed.  Get into the habit of running 'make clean' when you
KK> finish installing a port, or use portupgrade to manage your updates
KK> (here you may also need to first deinstall the old mysql41-client
KK> since it looks like the version you have installed is not sufficient
KK> and must be updated first).

i remove all mysql ports and cleaned directory:

cd /usr/ports/databases/mysql41-client
make deinstall
make clean

cd /usr/ports/databases/mysql41-server
make clean

and then:

cd /usr/ports/databases/mysql41-client
make install clean

(root@ttyp1):/usr/ports/databases/mysql41-server# pkg_info | grep mysql
mysql-client-4.1.7  Multithreaded SQL database (client)

then:

cd /usr/ports/databases/mysql41-server
make

...compile/compile/compile...
gmake[1]: Entering directory `/usr/ports/databases/mysql41-client/work/mysql-4.1.7'
gmake[2]: Entering directory `/usr/ports/databases/mysql41-client/work/mysql-4.1.7'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/usr/ports/databases/mysql41-client/work/mysql-4.1.7'
gmake[1]: Leaving directory `/usr/ports/databases/mysql41-client/work/mysql-4.1.7'
===>   Compressing manual pages for mysql-client-4.1.7
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib/mysql
ldconfig: /usr/local/lib/mysql: ignoring group-writable directory
===>   Registering installation for mysql-client-4.1.7
===>   Returning to build of mysql-server-4.1.7
Error: shared library "mysqlclient.14" does not exist
*** Error code 1

Stop in /usr/ports/databases/mysql41-server.
*** Error code 1

Stop in /usr/ports/databases/mysql41-server.


i have no idea... please help.

kind regards,

-- 
Pawel










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