Re: make errors on Solaris 9X86 for mysql 4.0.12

Re: make errors on Solaris 9X86 for mysql 4.0.12

am 17.04.2003 14:04:44 von rupert

******* Sorry If you've already received this... the list kept on
rejecting my mail **********


Hi LenZ, Firstly, Thankyou for your help... It is very appreciated!!!

I've managed to get further, but not to the end!! I had a problem with
accessing libstdc++.so.5 so I added an environment variable LD_LIBRARY_PATH
set to /usr/local/lib and I got even further...

Then I came up against another error. It was in the sql subdirectory. The
output is below...

I looked through the list archive for anyone with similar problems and
found a message from Jim Ballantine who seems to be having identical
problems, but there did not seem to be a solution mentioned. (I would have
mailed Jim, but his email is not listed... maybe thats the idea!)

Anyway, I ran my 'configure' with the following environment set, and then
ran 'make'...

ps. I ran 'make clean' before retrying the make, but I noticed in the
online manual, there was reference to a 'config.cache' file. I don't know
whether this is created at the end of the make, but I can't find it
anywhere under the mysql tree. But as the manual says to remove it before
trying 'make' again, I thought this was probably a good sign.

If there is anything I haven't mentioned, or any information that you need,
please don't hesitate to get in touch...

Thanks once again!

Rupert


BUILD ENVIRONMENT
_=/usr/bin/env
TMPDIR=/tmp
HZ=100
PATH=/usr/local/mysql/bin:/usr/bin::/usr/local/bin:/usr/ccs/ bin:/scripts:/us
r/op
enwin/bin:/usr/local/mysql/libexec
EXECDIR=/usr/local/mysql/libexec
LOGNAME=mysql
PS1=mysql$
LD_RUN_PATH=/usr/local/mysql/lib/mysql
CC=gcc
BINDIR=/usr/local/mysql/bin
DISPLAY=home04:1
SHELL=/bin/ksh
HOME=/export/home/mysql
CXXFLAGS=-O3 -fomit-frame-pointer -felide-constructors -fno-exceptions
-fno-rtti
-DHAVE_CURSES_H
MYSQL_UNIX_PORT=/tmp/mysqld.sock
LD_LIBRARY_PATH=/usr/local/lib
TERM=vt100
CFLAGS=-O3 -fomit-frame-pointer -DHAVE_CURSES_H
GNULIB=/usr/local/mysql/lib:/usr/local/lib
PWD=/usr/local/mysql-4.0.12/sql
TZ=GB


CONFIGURE COMMAND LINE OPTIONS
../configure --prefix=/usr/local/mysql --with-mysqld-ldflags=-all-static

ERRORS IN MAKE
Making all in share
make[4]: Entering directory `/usr/local/mysql-4.0.12/sql/share'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/mysql-4.0.12/sql/share'
make[4]: Entering directory `/usr/local/mysql-4.0.12/sql'
source='sql_lex.cc' object='sql_lex.o' libtool=no \
depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr
/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\""
-DHAVE_CONFIG_
H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I.
-I../includ
e -I. -O3 -DDBUG_OFF -O3 -fomit-frame-pointer -felide-constructors -fno-exce
ptions -fno-rtti -DHAVE_CURSES_H -fno-implicit-templates -fno-exceptions -fno-r
tti -D_FILE_OFFSET_BITS=64 -DHAVE_RWLOCK_T -c -o sql_lex.o `test -f
sql_lex.cc |
| echo './'`sql_lex.cc
sql_lex.cc: In function `void lex_init()':
sql_lex.cc:85: `symbols' undeclared (first use this function)
sql_lex.cc:85: (Each undeclared identifier is reported only once for each
function it appears in.)
sql_lex.cc:87: `sql_functions' undeclared (first use this function)
sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)':
sql_lex.cc:171: `get_hash_symbol' undeclared (first use this function)
make[4]: *** [sql_lex.o] Error 1
make[4]: Leaving directory `/usr/local/mysql-4.0.12/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/mysql-4.0.12/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/mysql-4.0.12/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/mysql-4.0.12'
make: *** [all] Error 2
mysql$


At 21:07 15/04/2003 +0200, Lenz Grimmer wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi,
>
>On Tue, 1 Apr 2003 rupert@bigrup.demon.co.uk wrote:
>
> > HI there, I'm running Solaris9X86 and trying to compile version 4.0.12
> > from source.
> >
> > I'm using the suggested flags and configure options from the reference
> > manual. However I'm not really sure which of the compile options I can
> > add/remove/tinker with as I've never really done any c programming.
> >
> > It keeps on falling over when it tries to compile the 'strings'
> > directory...
> >
> > Has anyone else had any compilation issues on X86 or know how to fix it?
> > I'm using gcc 3.2.2 make 3.8.0... I include the output from the failed
> > attempt.
>
>Don't use "--enable-assembler" on Solaris x86 - the Assembler code is for
>SPARC only.
>
>Bye,
> LenZ
>- --
>For technical support contracts, visit https://order.mysql.com/?ref=mlgr
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Lenz Grimmer
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Production Engineer
>/_/ /_/\_, /___/\___\_\___/ Hamburg, Germany
> <___/ www.mysql.com
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
>Comment: For info see http://quantumlab.net/pine_privacy_guard/
>
>iD8DBQE+nFhZSVDhKrJykfIRAkt0AJ9l8lviJGkYCIaIMykzLLiR34hKkAC bBELX
>K5jVoZhIot5B1WGnxFIyON0=
>=Algl
>-----END PGP SIGNATURE-----


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql@m.gmane.org

Re: make errors on Solaris 9X86 for mysql 4.0.12

am 17.04.2003 14:11:14 von Sinisa Milivojevic

Rupert O'Halloran writes:
> ******* Sorry If you've already received this... the list kept on
> rejecting my mail **********
>
>
> Hi LenZ, Firstly, Thankyou for your help... It is very appreciated!!!
>
> I've managed to get further, but not to the end!! I had a problem with
> accessing libstdc++.so.5 so I added an environment variable LD_LIBRARY_PATH
> set to /usr/local/lib and I got even further...
>
> Then I came up against another error. It was in the sql subdirectory. The
> output is below...
>
> I looked through the list archive for anyone with similar problems and
> found a message from Jim Ballantine who seems to be having identical
> problems, but there did not seem to be a solution mentioned. (I would have
> mailed Jim, but his email is not listed... maybe thats the idea!)
>
> Anyway, I ran my 'configure' with the following environment set, and then
> ran 'make'...
>
> ps. I ran 'make clean' before retrying the make, but I noticed in the
> online manual, there was reference to a 'config.cache' file. I don't know
> whether this is created at the end of the make, but I can't find it
> anywhere under the mysql tree. But as the manual says to remove it before
> trying 'make' again, I thought this was probably a good sign.
>
> If there is anything I haven't mentioned, or any information that you need,
> please don't hesitate to get in touch...
>
> Thanks once again!
>
> Rupert

libstdc++ should not be included.

Our manual describes in detail how to achieve that for different
versions of GNU compilers.

--

Regards,

--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: make errors on Solaris 9X86 for mysql 4.0.12

am 17.04.2003 14:11:14 von Sinisa Milivojevic

Rupert O'Halloran writes:
> ******* Sorry If you've already received this... the list kept on
> rejecting my mail **********
>
>
> Hi LenZ, Firstly, Thankyou for your help... It is very appreciated!!!
>
> I've managed to get further, but not to the end!! I had a problem with
> accessing libstdc++.so.5 so I added an environment variable LD_LIBRARY_PATH
> set to /usr/local/lib and I got even further...
>
> Then I came up against another error. It was in the sql subdirectory. The
> output is below...
>
> I looked through the list archive for anyone with similar problems and
> found a message from Jim Ballantine who seems to be having identical
> problems, but there did not seem to be a solution mentioned. (I would have
> mailed Jim, but his email is not listed... maybe thats the idea!)
>
> Anyway, I ran my 'configure' with the following environment set, and then
> ran 'make'...
>
> ps. I ran 'make clean' before retrying the make, but I noticed in the
> online manual, there was reference to a 'config.cache' file. I don't know
> whether this is created at the end of the make, but I can't find it
> anywhere under the mysql tree. But as the manual says to remove it before
> trying 'make' again, I thought this was probably a good sign.
>
> If there is anything I haven't mentioned, or any information that you need,
> please don't hesitate to get in touch...
>
> Thanks once again!
>
> Rupert

libstdc++ should not be included.

Our manual describes in detail how to achieve that for different
versions of GNU compilers.

--

Regards,

--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org