Date: Tue, 20 Dec 2005 11:57:50 +0100 From: Valerio daelli <valerio.daelli@gmail.com> To: freebsd-questions@freebsd.org Subject: Installing mysql 5 with linuxthreads from ports Message-ID: <27dbfc8c0512200257k292a2f48h6bfee61d8569cebf@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi I have problem installing mysql 50 on FreeBSD 5.4. I am trying to install it with linuxthreads and I keep getting these errors: $ cd /usr/ports/databases/mysql50-server $ make -DWITH_LINUXTHREADS -DDATA_DIR=3D/data/mysql CONFIGURE_ARGS=3D"--without-debug --without-readline \ --without-libedit --without-bench --without-extra-tools \ --with-libwrap --with-mysqlfs --with-vio --with-low-memory \ --enable-thread-safe-client --enable-assembler --without-berkeley-db \ --with-named-thread-libs=3D-pthread --prefix=3D/usr/local" install ..... if c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=3D"\"/usr/local\"" -DDATADIR=3D"\"/data/mysql\"" -DSHAREDIR=3D"\"/usr/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../include -I../include -I../regex -I. -DDBUG_OFF -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -felide-constructors -fno-rtti -fno-exceptions -fno-implicit-templates -fno-exceptions -fno-rtti -DMYSQLD_NET_RETRY_COUNT=3D1000000 -MT mysqld.o -MD -MP -MF ".deps/mysqld.T= po" -c -o mysqld.o mysqld.cc; then mv -f ".deps/mysqld.Tpo" ".deps/mysqld.Po"; else rm -f ".deps/mysqld.Tpo"; exit 1; fi mysqld.cc: In function `int main(int, char**)': mysqld.cc:3266: error: `pthread_setprio' undeclared (first use this function) mysqld.cc:3266: error: (Each undeclared identifier is reported only once fo= r each function it appears in.) *** Error code 1 Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.16/sql. *** Error code 1 I found the definition of the function pthread_setprio in /usr/local/include/mysql/my_pthread.h. Does anybody how to fix this error? Thanks Valerio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27dbfc8c0512200257k292a2f48h6bfee61d8569cebf>