Hi folks, Here is a bug report using the bug tool... ~~~~~~~~~~~BUG REPORT~~~~~~~~~~~ SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: From: mcook To: [EMAIL PROTECTED] Subject: Installation of mysql fails on Solaris 2.6
>Description: When I run configure, I get this error: ~~~~~ ERROR ~~~~~~ checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of char... 0 configure: error: No size for char type. A likely cause for this could be that there isn't any static libraries installed. You can verify this by checking if you have libm.a in /lib, /usr/lib or some other standard place. If this is the problem, install the static libraries and try again. If this isn't the problem, examine config.log for possible errors. If you want to report this, use 'scripts/mysqlbug' and include at least the last 20 rows from config. log! smbug - /usr/local/mysql-3.23.46 - 265 #-> ls -l /usr/lib/libm.a -rw-r--r-- 1 root bin 146708 Aug 22 1996 /usr/lib/libm.a ~~~~~ ERROR ~~~~~~ The library does exist as you can see. The Solaris 7 binary install fails also (I can't find a 2.6 binary install). >How-To-Repeat: Run the configure script again to repeat - I have tried the following 2 configures (CC=gcc is an environment variabe for me): ./configure --prefix=/usr/local/mysql and `CC=gcc CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors - fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql - -with-low-memory --with-extra-charsets=complex --enable-assembler' >Fix: unknown >Originator: Michael Cook >Organization: home >MySQL support: none >Synopsis: mysql failed >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.46 (Source distribution) >Environment: Sun Ultra 10, Solaris 2.6, ??? libraries System: SunOS smbug 5.6 Generic_105181-30 sun4u sparc SUNW,Ultra-5_10 Architecture: sun4 Some paths: /usr/bin/perl /usr/ccs/bin/make /usr/local/bin/gcc GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2. 6/2.95.3/specs gcc version 2.95.3 20010315 (release) Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS='' LIBC: -rw-r--r-- 1 bin bin 1623988 Dec 7 16:26 /lib/libc.a lrwxrwxrwx 1 root root 11 Jul 20 10:21 /lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1025416 Dec 7 16:26 /lib/libc.so.1 -rw-r--r-- 1 bin bin 1623988 Dec 7 16:26 /usr/lib/libc.a smbug - /usr/local/mysql-3.23.46 - 289 #-> cat aa SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: From: mcook To: [EMAIL PROTECTED] Subject: Installation of mysql fails on Solaris 2.6 >Description: When I run configure, I get this error: ~~~~~ ERROR ~~~~~~ checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of char... 0 configure: error: No size for char type. A likely cause for this could be that there isn't any static libraries installed. You can verify this by checking if you have libm.a in /lib, /usr/lib or some other standard place. If this is the problem, install the static libraries and try again. If this isn't the problem, examine config.log for possible errors. If you want to report this, use 'scripts/mysqlbug' and include at least the last 20 rows from config. log! smbug - /usr/local/mysql-3.23.46 - 265 #-> ls -l /usr/lib/libm.a -rw-r--r-- 1 root bin 146708 Aug 22 1996 /usr/lib/libm.a ~~~~~ ERROR ~~~~~~ The library does exist as you can see. The Solaris 7 binary install fails also (I can't find a 2.6 binary install). >How-To-Repeat: Run the configure script again to repeat - I have tried the following 2 configures (CC=gcc is an environment variabe for me): ./configure --prefix=/usr/local/mysql and `CC=gcc CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors - fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql - -with-low-memory --with-extra-charsets=complex --enable-assembler' >Fix: unknown >Originator: Michael Cook >Organization: home >MySQL support: none >Synopsis: mysql failed >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.46 (Source distribution) >Environment: Sun Ultra 10, Solaris 2.6, ??? libraries System: SunOS smbug 5.6 Generic_105181-30 sun4u sparc SUNW,Ultra-5_10 Architecture: sun4 Some paths: /usr/bin/perl /usr/ccs/bin/make /usr/local/bin/gcc GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2. 6/2.95.3/specs gcc version 2.95.3 20010315 (release) Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS='' LIBC: -rw-r--r-- 1 bin bin 1623988 Dec 7 16:26 /lib/libc.a lrwxrwxrwx 1 root root 11 Jul 20 10:21 /lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1025416 Dec 7 16:26 /lib/libc.so.1 -rw-r--r-- 1 bin bin 1623988 Dec 7 16:26 /usr/lib/libc.a lrwxrwxrwx 1 root root 11 Jul 20 10:21 /usr/lib/libc. so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1025416 Dec 7 16:26 /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 Last 20 lines of config.log: configure:1304: checking for gawk configure:1336: checking for gcc configure:1449: checking whether the C compiler (gcc -O3 ) works configure:1465: gcc -o conftest -O3 conftest.c 1>&5 configure:1491: checking whether the C compiler (gcc -O3 ) is a cross-compiler configure:1496: checking whether we are using GNU C configure:1524: checking whether gcc accepts -g configure:1560: checking for c++ configure:1592: checking whether the C++ compiler (c++ -O3 -felide- constructors -fno-exceptions -fno- rtti ) works configure:1608: c++ -o conftest -O3 -felide-constructors -fno-exceptions -fno- rtti conftest.C 1>&5 c++: rtti: No such file or directory cc1plus: Invalid option `-fno-' configure: failed program was: #line 1603 "configure" #include "confdefs.h" int main(){return(0);} ~~~~~~~~~~~BUG REPORT~~~~~~~~~~~ Thanks!!! Michael == CigarPool == http://www.cigarpool.com --------------------------------------------------------------------- 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