>Description:
I'm comiling with GNU make and tar, and Forte C++ v6 r2.
The compiler is current, as is the Solaris.
My configuration line looks like:
./configure --prefix=/usr/local/mysql --with-innodb
I'm getting the following errors when running the "make" command:
cc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\" -DDATADIR=\"/usr/local/mysql/var\
" -DSHAREDIR=\"/usr/local/mysql/share/mysql\" -DUNDEF_THREADS_HACK -I./../includ
e -I../include -I./.. -I.. -I.. -O -DDBUG_OFF -DHAVE_CURSES_H -I/usr/local/utili
ties/mysql/v3.23.40/mysql-3.23.40/include -DHAVE_RWLOCK_T -c hash.c -KPIC -DPIC
-o hash.o
"hash.c", line 186: reference to static variable "hash_key" in inline extern fun
ction
"hash.c", line 226: cannot recover from previous errors
cc: acomp failed for hash.c
make[2]: *** [hash.lo] Error 1
make[2]: Leaving directory `/usr/local/utilities/mysql/v3.23.40/mysql-3.23.40/li
bmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/utilities/mysql/v3.23.40/mysql-3.23.40'
make: *** [all-recursive-am] Error 2
When I look at the "Compilation info" line I see references to gcc.
Yet from the command line, if I enter "which cc" I get "/opt/SUNWspro/bin/cc"
and if I enter "which CC" I get "/opt/SUNWspro/bin/CC". /opt/SUNWspro is
the directory that has Forte C++.
I look at the Makefile that is generated and I see no reference to "gcc".
So I don't undetstand why that line shows "CC='gcc' and CXX='gcc'.
I've run the whole attempt to install under the "script" command, so I
can send the whole session.
>How-To-Repeat:
>Fix:
>Submitter-Id: <submitter ID>
>Originator:
>Organization:
>MySQL support: none
>Synopsis: I Can't compile Mysql 3.23.40 on Solaris X86 with Forte compiler.
>Severity: critical
>Priority:
>Category: mysql
>Class:
>Release: mysql-3.23.40 (Source distribution)
>Environment:
System: SunOS tiamat 5.8 Generic_108529-09 i86pc i386 i86pc
Architecture: i86pc
Some paths: /usr/bin/perl /usr/local/bin/make /opt/SUNWspro/bin/cc
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
LIBC:
-rw-r--r-- 1 root bin 1584056 Jul 20 19:51 /lib/libc.a
lrwxrwxrwx 1 root root 11 Jun 24 16:09 /lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 root bin 938940 Jul 20 19:51 /lib/libc.so.1
-rw-r--r-- 1 root bin 1584056 Jul 20 19:51 /usr/lib/libc.a
lrwxrwxrwx 1 root root 11 Jun 24 16:09 /usr/lib/libc.so -> ./libc.so.1
-rwxr-xr-x 1 root bin 938940 Jul 20 19:51 /usr/lib/libc.so.1
Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock
--with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client
--with-berkeley-db --with-innodb
Perl: This is perl, version 5.005_03 built for i86pc-solaris
---------------------------------------------------------------------
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