Mysql compile error
I'm getting ready to do a roll out next week on converting an application from MySQL to MSSQL. I'm installing the perl drivers on the production machines today. The perl DBD driver requires mysql to be installed. Everything's been going fine on all the machines until I got to the last one. On that one I am getting this error when compiling mysql: Making all in isam make[2]: Entering directory `/usr/src/mysql-4.1.14/isam' source='open.c' object='open.o' libtool=no \ depfile='.deps/open.Po' tmpdepfile='.deps/open.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF-c open.c open.c: In function `nisam_open': open.c:136: `F_TO_EOF' undeclared (first use in this function) open.c:136: (Each undeclared identifier is reported only once open.c:136: for each function it appears in.) make[2]: *** [open.o] Error 1 make[2]: Leaving directory `/usr/src/mysql-4.1.14/isam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mysql-4.1.14' make: *** [all] Error 2 Here is what I used for the ./configure command: ./configure --without-server \ --prefix=/usr/local/mysql \ --exec-prefix=/usr/local/mysql \ --with-named-curses-libs=/usr/lib/libncurses.so.4 \ --enable-thread-safe-client \ --with-extra-character-sets=complex Any ideas on what's wrong? I am installing verion 4.1.14, and the server is running RedHat 6.2. Thanks, -Ryan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: Mysql compile error - more info
I thought I would get around the whole thing by just installing the RPM instead of compiling. So I downloaded MySQL-devel-4.1.14-0.i386.rpm and installed it. Then I went to install the DBD-mysql module and got this error during the compile: /usr/bin/ld: cannot find -lz collect2: ld returned 1 exit status An error occurred while linking the DBD::mysql driver. The error message seems to indicate that you don't have a libz.a, or a libz.so. This is typically resolved by: 1.) You may try to remove the -lz or -lgz flag from the libs list by using the --libs switch for perl Makefile.PL. 2.) On Red Hat Linux install libz-devel 3.) On other systems, please contact the mailing list [EMAIL PROTECTED] For further hints, see INSTALL.html, section Linker flags. make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1 So I figured out how to run mysql_config --libs and get that value, then put it on the perl Makefile.PL line without the -lz: perl Makefile.PL --libs=-L/usr/lib/mysql [the -lz was right here] -lmysqlclient -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv Then I was able to compile without error. So I installed the driver. But when I try to use it to connect to mysql I get this error: install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so: undefined symbol: compress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. at (eval 1) line 3 Perhaps a required shared library or dll isn't installed where expected at /home/wms/test1.pl line 8 Any help appriciated. I apologize for this message being formatted badly, there's no obvious break between my comments and my pasted error messages. I hate Outlook with a passion but am forced to use it. -Ryan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: Mysql compile error - fixed
I fixed the whole problem by typing this one line: `ln -s libz.so.1.1.3 /usr/lib/libz.so` Linux is such a pain sometimes. -Ryan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: Mysql compile error
Hi Ryan, Hmm, --without-server doesn't seem to work. Not sure what are you doing wrong, but as a workaround you could define F_TO_EOF to zero in open.c. Quoting sql/my_global.h: #define F_TO_EOF 0L /* Param to lockf() to lock rest of file */ And for linux it is zero (it's different for windows). The define should solve at least this particular compile failure. Petr On Wed, 2005-11-23 at 13:40 -0600, Ryan Stille wrote: cut Making all in isam make[2]: Entering directory `/usr/src/mysql-4.1.14/isam' source='open.c' object='open.o' libtool=no \ depfile='.deps/open.Po' tmpdepfile='.deps/open.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -O3 -DDBUG_OFF-c open.c open.c: In function `nisam_open': open.c:136: `F_TO_EOF' undeclared (first use in this function) open.c:136: (Each undeclared identifier is reported only once open.c:136: for each function it appears in.) make[2]: *** [open.o] Error 1 make[2]: Leaving directory `/usr/src/mysql-4.1.14/isam' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mysql-4.1.14' make: *** [all] Error 2 -- Petr Chardin, Software Developer MySQL AB, www.mysql.com Are you MySQL certified? www.mysql.com/certification -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
mysql compile error.
i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib thanks in advance.
mysql compile error.
i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib thanks in advance. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: mysql compile error.
On Thu, 25 Sep 2003 15:28:15 +0200 Richard Pijnenburg [EMAIL PROTECTED] wrote: i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: Richard, please, resend your letter one more time, we have real enjoy reading it again and again... =) --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: mysql compile error.
Sorry, but because I haven't got it I thought it didn't get here. Sorry! M.v.g. Richard Pijnenburg -Original Message- From: Antony Dovgal [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 3:42 PM To: [EMAIL PROTECTED] Subject: Re: mysql compile error. On Thu, 25 Sep 2003 15:28:15 +0200 Richard Pijnenburg [EMAIL PROTECTED] wrote: i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: Richard, please, resend your letter one more time, we have real enjoy reading it again and again... =) --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: mysql compile error.
I've installed now mysql-4.0.14 without any problems. So I think it's something about the .15 version. Does anyone know a thing about it? With kind regards, Richard Pijnenburg -Original Message- From: Richard Pijnenburg [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 3:28 PM To: [EMAIL PROTECTED] Subject: mysql compile error. i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib thanks in advance. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Re: mysql compile error.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Thu, 25 Sep 2003, Richard Pijnenburg wrote: i'm trying to compile mysql-4.0.15a on my server and i'm getting the folowing error: gcc -DDEFAULT_CHARSET_HOME=\/usr/local/mysql\ -DDATADIR=\/data/mysql\ -DSHAREDIR=\/usr/local/mysql/share/mysql\ -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. /usr/local/openssl/include -O3 -DDBUG_OFF -c libmysql.c -MT libmysql.lo -MD -MP -MF .deps/libmysql.TPlo -fPIC -DPIC -o .libs/libmysql.lo gcc: cannot specify -o with -c or -S and multiple compilations make[2]: *** [libmysql.lo] Error 1 make[2]: Leaving directory `/usr/local/src/web/mysql-4.0.15a/libmysql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/web/mysql-4.0.15a' make: *** [all] Error 2 my configure command is this: ./configure \ --prefix=/usr/local/mysql \ --localstatedir=/data/mysql \ --enable-large-files \ --with-innodb \ --with-mysqld-user=mysql \ --disable-maintainer-mode \ --without-docs \ --without-debug \ --without-bench \ --enable-assembler \ --with-openssl=/usr/local/openssl \ --with-openssl-includes=/usr/local/openssl/include \ --with-openssl-libs=/usr/local/openssl/lib \ --with-named-z-libs=/usr/local/zlib/lib I think you need to install libtool to be able to successfully compile this. Please give it a try. Bye, LenZ - -- Lenz Grimmer [EMAIL PROTECTED] Senior Production Engineer MySQL GmbH, http://www.mysql.de/ Hamburg, Germany For technical support contracts, visit https://order.mysql.com/?ref=mlgr -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE/c1b3SVDhKrJykfIRAt8+AJ48Y4CxHEjdLDZA7b0xVXn8/beTVwCbBVQQ W3+jVl+iTSVKqDejinKXxVM= =AEUA -END PGP SIGNATURE- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
Fw: mysql compile error
NOBODY has an idea??? it's a redhat linux box with downgraded gcc 2.95.4 - glibc 2.2.4 hi list, getting this with mysql-3.23.55 on 2 machines (on other it compiled): make all-am make[3]: Entering directory `/usr/src/mysql-3.23.55/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/mysql-3.23.55/include' make[2]: Leaving directory `/usr/src/mysql-3.23.55/include' Making all in Docs make[2]: Entering directory `/usr/src/mysql-3.23.55/Docs' make all-am make[3]: Entering directory `/usr/src/mysql-3.23.55/Docs' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/mysql-3.23.55/Docs' make[2]: Leaving directory `/usr/src/mysql-3.23.55/Docs' Making all in readline make[2]: Entering directory `/usr/src/mysql-3.23.55/readline' source='readline.c' object='readline.o' libtool=no \ depfile='.deps/readline.Po' tmpdepfile='.deps/readline.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f readline.c || echo './'`readline.c source='funmap.c' object='funmap.o' libtool=no \ depfile='.deps/funmap.Po' tmpdepfile='.deps/funmap.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f funmap.c || echo './'`funmap.c source='keymaps.c' object='keymaps.o' libtool=no \ depfile='.deps/keymaps.Po' tmpdepfile='.deps/keymaps.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f keymaps.c || echo './'`keymaps.c source='vi_mode.c' object='vi_mode.o' libtool=no \ depfile='.deps/vi_mode.Po' tmpdepfile='.deps/vi_mode.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f vi_mode.c || echo './'`vi_mode.c source='parens.c' object='parens.o' libtool=no \ depfile='.deps/parens.Po' tmpdepfile='.deps/parens.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f parens.c || echo './'`parens.c source='rltty.c' object='rltty.o' libtool=no \ depfile='.deps/rltty.Po' tmpdepfile='.deps/rltty.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f rltty.c || echo './'`rltty.c source='complete.c' object='complete.o' libtool=no \ depfile='.deps/complete.Po' tmpdepfile='.deps/complete.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f complete.c || echo './'`complete.c source='bind.c' object='bind.o' libtool=no \ depfile='.deps/bind.Po' tmpdepfile='.deps/bind.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f bind.c || echo './'`bind.c source='isearch.c' object='isearch.o' libtool=no \ depfile='.deps/isearch.Po' tmpdepfile='.deps/isearch.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f isearch.c || echo './'`isearch.c source='display.c' object='display.o' libtool=no \ depfile='.deps/display.Po' tmpdepfile='.deps/display.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f display.c || echo './'`display.c source='signals.c' object='signals.o' libtool=no \ depfile='.deps/signals.Po' tmpdepfile='.deps/signals.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f signals.c || echo './'`signals.c source='util.c' object='util.o' libtool=no \ depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f util.c || echo './'`util.c source='kill.c' object='kill.o' libtool=no \ depfile='.deps/kill.Po' tmpdepfile='.deps/kill.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f kill.c || echo './'`kill.c source='undo.c' object='undo.o' libtool=no \ depfile='.deps/undo.Po' tmpdepfile='.deps/undo.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I.
mysql compile error
hi list, getting this with mysql-3.23.55 on 2 machines (on other it compiled): make all-am make[3]: Entering directory `/usr/src/mysql-3.23.55/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/mysql-3.23.55/include' make[2]: Leaving directory `/usr/src/mysql-3.23.55/include' Making all in Docs make[2]: Entering directory `/usr/src/mysql-3.23.55/Docs' make all-am make[3]: Entering directory `/usr/src/mysql-3.23.55/Docs' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/mysql-3.23.55/Docs' make[2]: Leaving directory `/usr/src/mysql-3.23.55/Docs' Making all in readline make[2]: Entering directory `/usr/src/mysql-3.23.55/readline' source='readline.c' object='readline.o' libtool=no \ depfile='.deps/readline.Po' tmpdepfile='.deps/readline.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f readline.c || echo './'`readline.c source='funmap.c' object='funmap.o' libtool=no \ depfile='.deps/funmap.Po' tmpdepfile='.deps/funmap.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f funmap.c || echo './'`funmap.c source='keymaps.c' object='keymaps.o' libtool=no \ depfile='.deps/keymaps.Po' tmpdepfile='.deps/keymaps.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f keymaps.c || echo './'`keymaps.c source='vi_mode.c' object='vi_mode.o' libtool=no \ depfile='.deps/vi_mode.Po' tmpdepfile='.deps/vi_mode.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f vi_mode.c || echo './'`vi_mode.c source='parens.c' object='parens.o' libtool=no \ depfile='.deps/parens.Po' tmpdepfile='.deps/parens.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f parens.c || echo './'`parens.c source='rltty.c' object='rltty.o' libtool=no \ depfile='.deps/rltty.Po' tmpdepfile='.deps/rltty.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f rltty.c || echo './'`rltty.c source='complete.c' object='complete.o' libtool=no \ depfile='.deps/complete.Po' tmpdepfile='.deps/complete.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f complete.c || echo './'`complete.c source='bind.c' object='bind.o' libtool=no \ depfile='.deps/bind.Po' tmpdepfile='.deps/bind.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f bind.c || echo './'`bind.c source='isearch.c' object='isearch.o' libtool=no \ depfile='.deps/isearch.Po' tmpdepfile='.deps/isearch.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f isearch.c || echo './'`isearch.c source='display.c' object='display.o' libtool=no \ depfile='.deps/display.Po' tmpdepfile='.deps/display.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f display.c || echo './'`display.c source='signals.c' object='signals.o' libtool=no \ depfile='.deps/signals.Po' tmpdepfile='.deps/signals.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f signals.c || echo './'`signals.c source='util.c' object='util.o' libtool=no \ depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f util.c || echo './'`util.c source='kill.c' object='kill.o' libtool=no \ depfile='.deps/kill.Po' tmpdepfile='.deps/kill.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f kill.c || echo './'`kill.c source='undo.c' object='undo.o' libtool=no \ depfile='.deps/undo.Po' tmpdepfile='.deps/undo.TPo' \ depmode=gcc /bin/sh ../depcomp \ gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -DNO_KILL_INTR -I. -I. -I.. -I./../ include -I./.. -I..-O3 -DDBUG_OFF -c `test -f undo.c || echo './'`undo.c source='macro.c' object='macro.o' libtool=no \ depfile='.deps/macro.Po'
Re: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
Yes. Dumb question. You did install the OS X developer tools, yes? I just compiled 3.23.47 from source this morning on 10.1.2 with not a problem at all. -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Tue, 29 Jan 2002 18:40:12 -0800 To: [EMAIL PROTECTED] Subject: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local\ -DDATADIR=\/usr/local/var\ -DSHAREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I.-O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -c sql_udf.cc sql_udf.cc:57: dlfcn.h: No such file or directory make[3]: *** [sql_udf.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Any suggestions? Ryan - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
Cool. And the file ./mysql-3.23.47/sql/sql_udf.cc is present? Did you try a make clean? It shouldn't have any effect on configure but... -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Wed, 30 Jan 2002 00:21:44 -0800 To: [EMAIL PROTECTED] Subject: Re: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 Yes. Dumb question. You did install the OS X developer tools, yes? I just compiled 3.23.47 from source this morning on 10.1.2 with not a problem at all. -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Tue, 29 Jan 2002 18:40:12 -0800 To: [EMAIL PROTECTED] Subject: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local\ -DDATADIR=\/usr/local/var\ -DSHAREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I.-O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -c sql_udf.cc sql_udf.cc:57: dlfcn.h: No such file or directory make[3]: *** [sql_udf.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Any suggestions? Ryan - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
Yes, the file is present. Yes, I've made clean between each attempt. At 10:11 AM -0500 1/30/02, John McCauley wrote: Cool. And the file ./mysql-3.23.47/sql/sql_udf.cc is present? Did you try a make clean? It shouldn't have any effect on configure but... -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Wed, 30 Jan 2002 00:21:44 -0800 To: [EMAIL PROTECTED] Subject: Re: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 Yes. Dumb question. You did install the OS X developer tools, yes? I just compiled 3.23.47 from source this morning on 10.1.2 with not a problem at all. -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Tue, 29 Jan 2002 18:40:12 -0800 To: [EMAIL PROTECTED] Subject: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local\ -DDATADIR=\/usr/local/var\ -DSHAREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I.-O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -c sql_udf.cc sql_udf.cc:57: dlfcn.h: No such file or directory make[3]: *** [sql_udf.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Any suggestions? Ryan - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local\ -DDATADIR=\/usr/local/var\ -DSHAREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I.-O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -c sql_udf.cc sql_udf.cc:57: dlfcn.h: No such file or directory make[3]: *** [sql_udf.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Any suggestions? Ryan - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2
Dumb question. You did install the OS X developer tools, yes? I just compiled 3.23.47 from source this morning on 10.1.2 with not a problem at all. -- John McCauley CTGi Oakton, VA 703-352-0590 http://www.ctgusa.com From: Ryan Walker [EMAIL PROTECTED] Date: Tue, 29 Jan 2002 18:40:12 -0800 To: [EMAIL PROTECTED] Subject: MySQL compile error, mysql-3.23.47, Mac OS X 10.1.2 I'm trying to compile MySQL on Mac OS X 10.1.2. Ideally, I'd like to compile it with: ./configure --with-mysqld-user=mysql \ --enable-thread-safe-client \ --with-pthread \ --with-raid Unfortunately, I can't even get it to compile with just: ./configure Produces error: sql_show.cc c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME=\/usr/local\ -DDATADIR=\/usr/local/var\ -DSHAREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I./../include -I./../regex -I. -I../include -I.. -I.-O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -traditional-cpp -DHAVE_DARWIN_THREADS -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -c sql_udf.cc sql_udf.cc:57: dlfcn.h: No such file or directory make[3]: *** [sql_udf.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Any suggestions? Ryan - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
MySQL compile error
Help me please ! installing MySQL 3.23.36 on Ultra SPARC/Solaris 2.7 GNU make 3.79.1, binutils, and libtool latest version, gcc 2.95.2 environment variables: CC=gcc CFLAGS=-O6 CXX=gcc CXXFLAGS=-O6 -felide -constructors -fno-exceptions -fno-rtti at the command line: ./configure --prefix=myprefix --with-low-memory --enable-assembler# configure completed OK make After entering make, it ran for awhile and then I got the following error: . . . gcc -O6 -DDBUG_OFF -O6 -DHAVE_CURSES_H -I/vendors/wwsoft/software/opensource/mysql/src/3.23.36/include -DHAVE_RWLOCK_T -o resolveip resolveip.o ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -ldl -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread Undefined first referenced symbol in file __h_errno resolveip.o ld: fatal: Symbol referencing errors. No output written to resolveip collect2: ld returned 1 exit status make[2]: *** [resolveip] Error 1 make[2]: Leaving directory `/vendors/wwsoft/software/opensource/mysql/src/3.23.36/extra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vendors/wwsoft/software/opensource/mysql/src/3.23.36' make: *** [all-recursive-am] Error 2 . . . Is there anything I can do ?
Re: MySQL compile error
You might want to try downloading binutils from the GNU web site. It has a modified version of the linker libraries (ld). I still wasn't able to get past the yacc compile even with 512MB RAM. Let me know how you make out. I ended up using the binary distribution. James Bonham wrote: Help me please ! installing MySQL 3.23.36 on Ultra SPARC/Solaris 2.7 GNU make 3.79.1, binutils, and libtool latest version, gcc 2.95.2 environment variables: CC=gcc CFLAGS=-O6 CXX=gcc CXXFLAGS=-O6 -felide -constructors -fno-exceptions -fno-rtti at the command line: ./configure --prefix=myprefix --with-low-memory --enable-assembler# configure completed OK make After entering make, it ran for awhile and then I got the following error: . . . gcc -O6 -DDBUG_OFF -O6 -DHAVE_CURSES_H -I/vendors/wwsoft/software/opensource/mysql/src/3.23.36/include -DHAVE_RWLOCK_T -o resolveip resolveip.o ../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -ldl -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread Undefined first referenced symbol in file __h_errno resolveip.o ld: fatal: Symbol referencing errors. No output written to resolveip collect2: ld returned 1 exit status make[2]: *** [resolveip] Error 1 make[2]: Leaving directory `/vendors/wwsoft/software/opensource/mysql/src/3.23.36/extra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vendors/wwsoft/software/opensource/mysql/src/3.23.36' make: *** [all-recursive-am] Error 2 . . . Is there anything I can do ? - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Re: mysql compile error on solaris 2.5.1
Graeme B. Davis writes: Any ideas on this error? I'd love to use fulltext, but the last server that compiled for me was 3.23.14 :( c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/var/home/ap psweb/newmysql\"" -DDATADIR="\"/var/home/appsweb/newmysql/ var\"" -DSHAREDIR="\"/var/home/appsweb/newmysql/share/m ysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DD BUG_OFF -fno-implicit-templates -DHAVE_RWLOCK_T -DSOLARIS -c sql_base.cc sql_base.cc: In function `bool table_is_used(struct st_table *, bool)': sql_base.cc:1137: parse error before `)' What compiler and which version are you using on which Solaris ?? Regards, Sinisa __ _ _ ___ == MySQL AB /*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic /*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED] /*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaka, Cyprus /*/ /*/ /*/\*\_/*/ \*\_/*/ |*| /*/^^^\*\^^^ /*/ \*\Developers Team - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
mysql compile error on solaris 2.5.1
Any ideas on this error? I'd love to use fulltext, but the last server that compiled for me was 3.23.14 :( c++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/var/home/ap psweb/newmysql\"" -DDATADIR="\"/var/home/appsweb/newmysql/ var\"" -DSHAREDIR="\"/var/home/appsweb/newmysql/share/m ysql\"" -DHAVE_CONFIG_H -I./../include -I./../regex-I. -I../include -I.. -I.-O3 -DD BUG_OFF -fno-implicit-templates -DHAVE_RWLOCK_T -DSOLARIS -c sql_base.cc sql_base.cc: In function `bool table_is_used(struct st_table *, bool)': sql_base.cc:1137: parse error before `)' - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail [EMAIL PROTECTED] To unsubscribe, e-mail [EMAIL PROTECTED] Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php