>Description: what do I have to do to get configure to use correct gcc options like: -I/usr/local/include -R/usr/local/lib ???
I use following options: ./configure --prefix=/home/mysql --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory --with-mit-threads=yes --enable-thread-safe-client --with-berkeley-db --enable-local-infile --with-innodb CC=gcc CXX=gcc Tried These, nothing works.. --libdir=/usr/local/lib --includedir=/usr/local/include '--with-lib-ccflags=-I/usr/local/include -R/usr/local/lib' Results: configure:8285: gcc -o conftest -DHAVE_CURSES_H -I/export/home/mysql/src/mysql-3.23.51/include -DHAVE_RWLOCK_T conftest.c -lz -lcrypt -lgen -lsocket -lnsl -lm >&5 configure:8288: $? = 0 configure:8290: ./conftest ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory Killed libz is in /usr/local/lib so without -R/usr/local/lib this will fail of course. And again>>> configure:8920: checking size of char configure:9084: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/export/home/mysql/src/mysql-3.23.51/include -DHAVE_RWLOCK_T conftest.c -lz -lcrypt -lgen -lsocket -lnsl -lm >&5 configure:9087: $? = 0 configure:9089: ./conftest ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory Killed ... configure: exit 1 >How-To-Repeat: See above >Fix: none >Submitter-Id: [EMAIL PROTECTED] >Originator: >Organization: AT&T Michael Matthews UNIX mail mailto:[EMAIL PROTECTED] Corporate mail mailto:[EMAIL PROTECTED] > >MySQL support: none >Synopsis: configure won't configure >Severity: non-critical >Priority: medium >Category: mysql >Class: sw-bug >Release: mysql-3.23.51 (Source distribution) >Server: /usr/local/mysql/bin/mysqladmin Ver 8.12 Distrib 3.23.28-gamma, for >sun-solaris2.7 on sparc Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 3.23.28-gamma-log Protocol version 10 Connection Localhost via UNIX socket UNIX socket /tmp/mysql.sock Uptime: 18 days 13 min 33 sec Threads: 1 Questions: 258266 Slow queries: 5 Opens: 127 Flush tables: 1 Open tables: 98 Queries per second avg: 0.166 >Environment: System: SunOS webnsf 5.7 Generic_106541-09 sun4u sparc SUNW,Ultra-60 Architecture: sun4 Some paths: /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gmake /usr/local/bin/gcc /opt/tools/SUNWspro/bin/cc GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.1/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.1 Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS='' LIBC: -rw-r--r-- 1 bin bin 1696732 Feb 25 2000 /lib/libc.a lrwxrwxrwx 1 root root 11 Mar 9 1999 /lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1115336 Feb 25 2000 /lib/libc.so.1 -rw-r--r-- 1 bin bin 1696732 Feb 25 2000 /usr/lib/libc.a lrwxrwxrwx 1 root root 11 Mar 9 1999 /usr/lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1115336 Feb 25 2000 /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 --enable-local-infile --with-innodb CC=gcc CXX=gcc --------------------------------------------------------------------- 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