migur
2003-11-26 02:10:05 UTC
I cannot compile mysql 3.23.58, configure dies on checking size of
char.
Here is exerb from the log:
configure:14375: checking size of char
configure:14654: gcc -o conftest -O3 -DDBUG_OFF -DSCO conftest.c
-lgthreads
-lsocket -lgthreads -lz -lcrypt -lm -lgthreads -lsocket -lgthreads
configure:14659: ./conftest
./configure[14660]: 28359 Memory fault(coredump)
I tried to compile that conftest.c without any libraries and it run
fine, but as soon as I compile and link it with libgthreads it dumps
core.
I have OpenServer 5.0.5, gcc ver.2.95.2
there are two versions of thread libraries installed (don't know why):
***@develop # find /usr/lib -name libgthreads.a -exec ls -l {}
lrwxrwxrwx 1 root sys 52 Apr 16 2002
/usr/lib/libgthreads.a ->
/opt/K/SKUNK98/FSUpthreads/3.5/usr/lib/libgthreads.a
***@develop # find /usr/local/lib -name libgthreads.a -exec ls -l {}
lrwxrwxrwx 1 root sys 60 Apr 16 2002
/usr/local/lib/libgthreads
.a -> /opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/lib/libgthreads.a
Is this the root of my problem? Does anyone know how to overcome it?
I would really like to be able to upgrade at least to mysql 3.23 from
what is included in skunkware (ver.3.21).
Thanks.
Michael.
char.
Here is exerb from the log:
configure:14375: checking size of char
configure:14654: gcc -o conftest -O3 -DDBUG_OFF -DSCO conftest.c
-lgthreads
-lsocket -lgthreads -lz -lcrypt -lm -lgthreads -lsocket -lgthreads
&5
configure:14657: $? = 0configure:14659: ./conftest
./configure[14660]: 28359 Memory fault(coredump)
I tried to compile that conftest.c without any libraries and it run
fine, but as soon as I compile and link it with libgthreads it dumps
core.
I have OpenServer 5.0.5, gcc ver.2.95.2
there are two versions of thread libraries installed (don't know why):
***@develop # find /usr/lib -name libgthreads.a -exec ls -l {}
lrwxrwxrwx 1 root sys 52 Apr 16 2002
/usr/lib/libgthreads.a ->
/opt/K/SKUNK98/FSUpthreads/3.5/usr/lib/libgthreads.a
***@develop # find /usr/local/lib -name libgthreads.a -exec ls -l {}
lrwxrwxrwx 1 root sys 60 Apr 16 2002
/usr/local/lib/libgthreads
.a -> /opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/lib/libgthreads.a
Is this the root of my problem? Does anyone know how to overcome it?
I would really like to be able to upgrade at least to mysql 3.23 from
what is included in skunkware (ver.3.21).
Thanks.
Michael.