2 messages in com.mysql.lists.bugsRe: install bug on solaris 2.7 when u...| From | Sent On | Attachments |
|---|---|---|
| Martin Jespersen | 20 Feb 2001 06:03 | |
| Thimble Smith | 20 Feb 2001 08:39 |
| Subject: | Re: install bug on solaris 2.7 when using zlib![]() |
|---|---|
| From: | Thimble Smith (ti...@mysql.com) |
| Date: | 02/20/2001 08:39:35 AM |
| List: | com.mysql.lists.bugs |
On Tue, Feb 20, 2001 at 03:03:36PM +0100, Martin Jespersen wrote:
he following fails on solaris 2.7 (with both version 3.22.32 & 3.23.33):
./configure --prefix=/usr/local/mysql-3.23.33 --enable-thread-safe-client --without-debug --with-charset=danish --enable-assembler
Error:
... checking size of char... 0 configure: error: No size for char type.
config.log shows this:
configure:6444: checking size of char configure:6463: gcc -o conftest -O6 -DDBUG_OFF -O6 -mcpu=v8 -Wa,-xarch=v8plusa -DHAVE_CURSES_H -I/home/mbj/mysql-3.23.33/include -DHAVE_RWLOCK_T conftest.c -ldl -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5
The problem is that zlib can't be found because it's in /usr/local/lib and there's no -L/usr/local/lib in the above command. What I don't understand is how it is being found in the test for zlib itself, which happens earlier in the configure process.
Can you check the config.log to see what it says right after:
configure:4891: checking if libz with compress
(Your line number might be different than mine.)
That should give me a hint about why this is happening.
Thanks,
Tim
-- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Tim Smith <ti...@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Development Team /_/ /_/\_, /___/\___\_\___/ Boone, NC USA <___/ www.mysql.com




