>Description:
`./configure --with-mit-threads` fails to compile vio/ and innodb/ due to
missing -I directives for pthread.h.
>How-To-Repeat:
in my particular case:
./configure --prefix=/usr/local/mysql/ --with-named-z-libs=z --without-libwrap
--with-mit-threads
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O3 -DDBUG_OFF
-Dunix -c vio.c
In file included from ../include/my_sys.h:32,
from vio.c:29:
../include/my_pthread.h:233: pthread.h: No such file or directory
>Fix:
both innodb and vio don't seem to properly add a
-I../mit-pthreads/include/ to pick up the pthreads includes. manually
adding it to the compile line seems to work.
>Submitter-Id: <submitter ID>
>Originator: Tom Spindler
>Organization:
>MySQL support: [none | licence | email support | extended email support ]none
>Synopsis: ./configure --with-mit-threads fails to compile vio/ and innodb/
>Severity: serious
>Priority: medium
>Category: mysql
>Class: sw-bug
>Release: mysql-4.0.1-alpha (Source distribution)
>Environment:
System: NetBSD droolbib 1.5.3 NetBSD 1.5.3 (PRATTLE) #2: Wed May 8 14:42:08 PDT 2002
[EMAIL PROTECTED]:/netbsd15/nbsrc153/sys/arch/i386/compile/PRATTLE i386
Some paths: /usr/local/bin/perl /usr/bin/make /usr/pkg/bin/gmake /usr/bin/gcc
/usr/bin/cc
GCC: Using builtin specs.
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
LIBC:
-r--r--r-- 1 root wheel 1205162 Mar 13 14:13 /usr/lib/libc.a
lrwxr-xr-x 1 root wheel 15 Mar 13 14:32 /usr/lib/libc.so -> libc.so.12.62.1
lrwxr-xr-x 1 root wheel 15 Mar 13 14:32 /usr/lib/libc.so.12 -> libc.so.12.62.1
-r--r--r-- 1 root wheel 616710 Mar 13 14:13 /usr/lib/libc.so.12.62.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 --with-vio --without-pstack --with-extra-tools
--with-embedded-server
---------------------------------------------------------------------
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