MySQL compilation problem

PawelG pawel at mcmail.pl
Tue Dec 21 16:19:40 PST 2004


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 at 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 at 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










More information about the freebsd-ports mailing list