Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 2009 16:00:43 +0800
From:      James Chang <james.technew@gmail.com>
To:        freebsd-ports-bugs@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   MySQL 5.1.39 build Failed under FreeBSD 7.2
Message-ID:  <a951c2910909290100n3b38322cs5a3a3a8fdf5fd33c@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
   I try to build mysql51-server and mysql51-client today,
But build failed and show me the following messages:

===============mysql51-client build error messages=========================
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  -O2
-fno-strict-aliasing -pipe -march=nocona      -o mysqlshow mysqlshow.o
-pthread ../libmysql/libmysqlclient.la -lcrypt -lm   -lz
libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=nocona
-fconserve-space -O2 -fno-strict-aliasing -pipe -march=nocona
-felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
-fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o
.libs/mysqladmin mysqladmin.o -pthread
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  -O2
-fno-strict-aliasing -pipe -march=nocona      -o mysqlcheck
mysqlcheck.o -pthread ../libmysql/libmysqlclient.la -lcrypt -lm   -lz
libtool: link: cc -DTHREAD -UUNDEF_THREADS_HACK -O2
-fno-strict-aliasing -pipe -march=nocona -o .libs/mysqlimport
mysqlimport-mysqlimport.o -pthread
../libmysql_r/.libs/libmysqlclient_r.so ../mysys/libmysys.a -lcrypt
-lm -lz -pthread -Wl,-rpath -Wl,/usr/local/lib/mysql
mv -f .deps/mysql.Tpo .deps/mysql.Po
libtool: link: cc -O2 -fno-strict-aliasing -pipe -march=nocona -o
.libs/mysqlshow mysqlshow.o -pthread
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link cc
-DTHREAD -UMYSQL_CLIENT_NO_THREADS -O2 -fno-strict-aliasing -pipe
-march=nocona      -o mysqlslap mysqlslap-mysqlslap.o  -pthread
../libmysql_r/libmysqlclient_r.la ../mysys/libmysys.a -lcrypt -lm
-lz
/bin/sh ../libtool --preserve-dup-deps --tag=CXX   --mode=link c++
-O2 -fno-strict-aliasing -pipe -march=nocona -fconserve-space -O2
-fno-strict-aliasing -pipe -march=nocona  -felide-constructors
-fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions
-fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000   -o mysql mysql.o
readline.o sql_string.o completion_hash.o
../cmd-line-utils/libedit/libedit.a -lncursesw -pthread
../libmysql/libmysqlclient.la  -lcrypt -lm   -lz
/bin/sh ../libtool --preserve-dup-deps --tag=CC   --mode=link cc  -O2
-fno-strict-aliasing -pipe -march=nocona      -o mysql_upgrade
mysql_upgrade.o my_getpagesize.o -pthread
../libmysql/libmysqlclient.la -lcrypt -lm   -lz
libtool: link: cc -O2 -fno-strict-aliasing -pipe -march=nocona -o
.libs/mysqlcheck mysqlcheck.o -pthread
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
libtool: link: cc -DTHREAD -UMYSQL_CLIENT_NO_THREADS -O2
-fno-strict-aliasing -pipe -march=nocona -o .libs/mysqlslap
mysqlslap-mysqlslap.o -pthread
../libmysql_r/.libs/libmysqlclient_r.so ../mysys/libmysys.a -lcrypt
-lm -lz -pthread -Wl,-rpath -Wl,/usr/local/lib/mysql
libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=nocona
-fconserve-space -O2 -fno-strict-aliasing -pipe -march=nocona
-felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
-fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o
.libs/mysql mysql.o readline.o sql_string.o completion_hash.o -pthread
 ../cmd-line-utils/libedit/libedit.a -lncursesw
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
c++: ../cmd-line-utils/libedit/libedit.a: No such file or directory
gmake[2]: *** [mysql] Error 1
gmake[2]: *** Waiting for unfinished jobs....
libtool: link: cc -O2 -fno-strict-aliasing -pipe -march=nocona -o
.libs/mysql_upgrade mysql_upgrade.o my_getpagesize.o -pthread
../libmysql/.libs/libmysqlclient.so -lcrypt -lm -lz -pthread
-Wl,-rpath -Wl,/usr/local/lib/mysql
mv -f .deps/mysqldump.Tpo .deps/mysqldump.Po
mv -f .deps/mysqltest-mysqltest.Tpo .deps/mysqltest-mysqltest.Po
mv -f .deps/mysqlbinlog.Tpo .deps/mysqlbinlog.Po
gmake[2]: Leaving directory
`/usr/ports/databases/mysql51-client/work/mysql-5.1.39/client'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/databases/mysql51-client/work/mysql-5.1.39/client'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /usr/ports/databases/mysql51-client.

===============mysql51-server build error messages=========================
/bin/sh ../../libtool --preserve-dup-deps --tag=CXX   --mode=link c++
-O2 -fno-strict-aliasing -pipe -march=nocona -fPIC -fconserve-space
-O2 -fno-strict-aliasing -pipe -march=nocona  -fPIC
-felide-constructors -fno-rtti -fno-exceptions
-fno-implicit-templates -fno-exceptions -fno-rtti
-DMYSQLD_NET_RETRY_COUNT=1000000   -o mysql mysql.o readline.o
completion_hash.o ../../cmd-line-utils/libedit/libedit.a -lncursesw
../libmysqld.a    -pthread -lcrypt -lm  -pthread   -lcrypt -lm   -lz
libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=nocona -fPIC
-fconserve-space -O2 -fno-strict-aliasing -pipe -march=nocona -fPIC
-felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates
-fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=1000000 -o mysql
mysql.o readline.o completion_hash.o -pthread -pthread
../../cmd-line-utils/libedit/libedit.a -lncursesw ../libmysqld.a
-lcrypt -lm -lcrypt -lm -lz -pthread
c++: ../../cmd-line-utils/libedit/libedit.a: No such file or directory
gmake[4]: *** [mysql] Error 1
gmake[4]: *** Waiting for unfinished jobs....
mv -f .deps/mysqltest.Tpo .deps/mysqltest.Po
mv -f .deps/mysql_client_test.Tpo .deps/mysql_client_test.Po
gmake[4]: Leaving directory
`/usr/ports/databases/mysql51-server/work/mysql-5.1.39/libmysqld/examples'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory
`/usr/ports/databases/mysql51-server/work/mysql-5.1.39/libmysqld/examples'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/databases/mysql51-server/work/mysql-5.1.39/libmysqld'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/usr/ports/databases/mysql51-server/work/mysql-5.1.39/libmysqld'
gmake: *** [all-recursive] Error 1
*** Error code 1

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



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