Re: Building super-smack on freebsd 4.9
On Wed, Mar 24, 2004 at 06:29:40PM -0700, Sasha Pachev wrote: > [EMAIL PROTECTED] wrote: > > Hmm.. Looks like Jeremy did not quite fix everything on FreeBSD in version 1.2. > For a hack, change ERESTART to EINTR in client.cc for now until we've figured it > out. 1.3 builds cleanly on FreeBSD. I should probably put that on-line, huh? Okay, coming VERY soon... Jeremy -- Jeremy D. Zawodny | Perl, Web, MySQL, Linux Magazine, Yahoo! <[EMAIL PROTECTED]> | http://jeremy.zawodny.com/ MySQL 4.0.15-Yahoo-SMP: up 195 days, processed 3,268,031,892 queries (193/sec. avg) -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Building super-smack on freebsd 4.9
> [EMAIL PROTECTED] wrote: >> Not sure if this is the place to post this but... >> >> I'm trying to build super-smack-1.2 on freebsd 4.9 w/ MySQL 4.0.18 and >> am >> running into the following problems. Below are configure, make and gmake >> output: >> >> [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ ./configure --with-mysql >> creating 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... found >> 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 >> checkin > g 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... no >> checking for byacc... byacc >> checking for compress in -lz... yes >> checking for crypt in -lcrypt... yes >> checking for crypt... yes >> checking for libmysqlclient... >> checking for mysql_real_connect in -lmysqlclient... yes >> checking for mysql_real_connect in -lmysqlclient... (cached) yes >> checking for mysql.h... >> checking for ANSI C header files... yes >> checking for sys/time.h... yes >> checking for unistd.h... yes >> checking whether time.h and sys/time.h may both be included... yes >> checking return type of signal handlers... void >> checking for gettimeofday... yes >> checking for strerror... yes >> updating cache ./config.cache >> creating ./config.status >> creating Makefile >> creating src/Makefile >> creating config.h >> >> >> Building with the following options: >> >> MySQL Support. yes >> PostgreSQL Support no >> Oracle Support no >> >> If this is not what you intended, please re-run configure. >> >> Thanks for using super-smack! >> >> [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ gmake >> gmake all-recursive >> gmake[1]: Entering directory `/usr/local/src/build/super-smack-1.2' >> Making all in src >> gmake[2]: Entering directory `/usr/local/src/build/super-smack-1.2/src' >> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -c >> super-smack.cc >> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -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.) >> gmake[2]: *** [client.o] Error 1 >> gmake[2]: Leaving directory `/usr/local/src/build/super-smack-1.2/src' >> gmake[1]: *** [all-recursive] Error 1 >> gmake[1]: Leaving directory `/usr/local/src/build/super-smack-1.2' >> gmake: *** [all-recursive-am] Error 2 >> [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ make >> make all-recursive >> Making all in src >> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include-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 /usr/local/src/build/super-smack-1.2/src. >> *** Error code 1 >> >> Stop in /usr/local/src/build/super-smack-1.2. >> *** Error code 1 >> >> Stop in /usr/local/src/build/super-smack-1.2. > > Hmm.. Looks like Jeremy did not quite fix everything on FreeBSD in version > 1.2. > For a hack, change ERESTART to EINTR in client.cc for now until we've > figured it > out. > Ok, I did that. Gets further now but still doesn't finish building. [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ make make all-recursive Making all in src c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include-g -O2 -c client.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include-g -O2 -c engines.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include-g -O2 -c die.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include-g -O2 -c dictionary.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include-g -O2 -c super-smack-yacc.cc super-smack-yacc.yy:9: getopt.h: No such file or direc
Re: Building super-smack on freebsd 4.9
[EMAIL PROTECTED] wrote: Not sure if this is the place to post this but... I'm trying to build super-smack-1.2 on freebsd 4.9 w/ MySQL 4.0.18 and am running into the following problems. Below are configure, make and gmake output: [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ ./configure --with-mysql creating 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... found 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... no checking for byacc... byacc checking for compress in -lz... yes checking for crypt in -lcrypt... yes checking for crypt... yes checking for libmysqlclient... checking for mysql_real_connect in -lmysqlclient... yes checking for mysql_real_connect in -lmysqlclient... (cached) yes checking for mysql.h... checking for ANSI C header files... yes checking for sys/time.h... yes checking for unistd.h... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating config.h Building with the following options: MySQL Support. yes PostgreSQL Support no Oracle Support no If this is not what you intended, please re-run configure. Thanks for using super-smack! [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ gmake gmake all-recursive gmake[1]: Entering directory `/usr/local/src/build/super-smack-1.2' Making all in src gmake[2]: Entering directory `/usr/local/src/build/super-smack-1.2/src' c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -c super-smack.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -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.) gmake[2]: *** [client.o] Error 1 gmake[2]: Leaving directory `/usr/local/src/build/super-smack-1.2/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/build/super-smack-1.2' gmake: *** [all-recursive-am] Error 2 [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ make make all-recursive Making all in src c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include-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 /usr/local/src/build/super-smack-1.2/src. *** Error code 1 Stop in /usr/local/src/build/super-smack-1.2. *** Error code 1 Stop in /usr/local/src/build/super-smack-1.2. Hmm.. Looks like Jeremy did not quite fix everything on FreeBSD in version 1.2. For a hack, change ERESTART to EINTR in client.cc for now until we've figured it out. -- Sasha Pachev Create online surveys at http://www.surveyz.com/ -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Building super-smack on freebsd 4.9
Not sure if this is the place to post this but... I'm trying to build super-smack-1.2 on freebsd 4.9 w/ MySQL 4.0.18 and am running into the following problems. Below are configure, make and gmake output: [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ ./configure --with-mysql creating 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... found 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... no checking for byacc... byacc checking for compress in -lz... yes checking for crypt in -lcrypt... yes checking for crypt... yes checking for libmysqlclient... checking for mysql_real_connect in -lmysqlclient... yes checking for mysql_real_connect in -lmysqlclient... (cached) yes checking for mysql.h... checking for ANSI C header files... yes checking for sys/time.h... yes checking for unistd.h... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for strerror... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating config.h Building with the following options: MySQL Support. yes PostgreSQL Support no Oracle Support no If this is not what you intended, please re-run configure. Thanks for using super-smack! [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ gmake gmake all-recursive gmake[1]: Entering directory `/usr/local/src/build/super-smack-1.2' Making all in src gmake[2]: Entering directory `/usr/local/src/build/super-smack-1.2/src' c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -c super-smack.cc c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -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.) gmake[2]: *** [client.o] Error 1 gmake[2]: Leaving directory `/usr/local/src/build/super-smack-1.2/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/local/src/build/super-smack-1.2' gmake: *** [all-recursive-am] Error 2 [EMAIL PROTECTED] /usr/local/src/build/super-smack-1.2$ make make all-recursive Making all in src c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include-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 /usr/local/src/build/super-smack-1.2/src. *** Error code 1 Stop in /usr/local/src/build/super-smack-1.2. *** Error code 1 Stop in /usr/local/src/build/super-smack-1.2. Any ideas? Thanks! Max -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]