On Intel - FreeBSD 4.9 STABLE - using MySQL Ver 11.18 Distrib 3.23.55, for portbld-freebsd4.7 (i386)
On AMD64 - FreeBSD 5.2 CURRENT - using Mysql Ver 14.3 Distrib 4.1.1-alpha, for portbld-freebsd5.2.1 (amd64)
I get the same compile error:
# make
make all-recursive
Making all in src
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -g -O2 -c super-smack.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -g -O2 -c client.cc
client.cc: In method `void Client::thread_sync()':
client.cc:347: `ERESTART' undeclared (first use this function)
client.cc:347: (Each undeclared identifier is reported only once
client.cc:347: for each function it appears in.)
*** Error code 1
Stop in /root/super-smack-1.2/src. *** Error code 1
Stop in /root/super-smack-1.2. *** Error code 1
If I change ERESTART to EINTR in client.cc then I get farther along, but it fails to make again:
# make
make all-recursive
Making all in src
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -g -O2 -c super-smack.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -g -O2 -c client.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -g -O2 -c engines.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -g -O2 -c die.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -g -O2 -c dictionary.cc
byacc -d super-smack-yacc.yy && mv y.tab.c super-smack-yacc.cc
if test -f y.tab.h; then if cmp -s y.tab.h super-smack-yacc.h; then rm -f y.tab.h; else mv y.tab.h super-smack-yacc.h; fi; else :; fi
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/mysql -g -O2 -c super-smack-yacc.cc
super-smack-yacc.yy:9: getopt.h: No such file or directory
*** Error code 1
Stop in /root/super-smack-1.2/src. *** Error code 1
Stop in /root/super-smack-1.2. *** Error code 1
Stop in /root/super-smack-1.2.
Also on a third box I am running Mandrake 10 RC1 for AMD64 with MySQL installed out of the box
and can not get super-smack to configure/compile there either...
# uname -a
Linux amd64m 2.6.3-9mdksmp #1 SMP Mon Apr 19 10:48:13 CEST 2004 x86_64 unknown unknown GNU/Linux
# mysql --version mysql Ver 12.22 Distrib 4.0.18, for mandrake-linux-gnu (x86_64)
--- super-smack compile attempt below:
]# ./configure --with-mysql
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking for sh... /bin/sh
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for compress in -lz... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking for libmysqlclient...
configure: error: Could not find libmysqlclient in ' /usr/lib /usr/lib/mysql /usr/local/lib /usr/local/lib/mysql /usr/local/mysql/lib'
# updatedb # locate libmysqlclient /usr/lib64/libmysqlclient.so.12 /usr/lib64/libmysqlclient.so.12.0.0 /usr/lib64/libmysqlclient_r.so.12 /usr/lib64/libmysqlclient_r.so.12.0.0
Any suggestions here?
I would really like to get super-smack going because I am trying to benchmark performance and configuration
differences between FreeBSD and Linux (Mandrake in this case) on the AMD64, and then compare those results
against various Intel hardware until I reach similar performance - to find out what Intel hardware is required to match
our AMD64 hardware/config.
I plan to publish my results to this and other relevant lists of course.
Thanks,
JeremyG
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]