I am having trouble compiling mysql on and HP 9000 running HP-UX 10.20.  I
installed gcc 2.95.3 binaries and followed the instructions in the
documentation page concerning the problem with MIT-pthreads (CFLAGS="-DHPUX
-I/opt/dce/include" CXXFLAGS="-DHPUX -I/opt/dce/include -felide-constructors
-fno-exceptions -fno-rtti" CXX=gcc ./configure --with-pthread
--with-named-thread-libs='-ldce' --prefix=/usr/local/mysql --disable-shared)
but the make still stopped with this error.

Making all in strings
make[2]: Entering directory `/home/rac/mysql-3.23.39/strings'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include  -D__STDC_EXT__
-O3 -DDBUG_OFF   -DHAVE_BROKEN_SNPRINTF -DSIGNALS_DONT_BREAK_READ -c
strxmov.c
In file included from strxmov.c:16:
../include/global.h:94: pthread.h: No such file or directory
make[2]: *** [strxmov.o] Error 1
make[2]: Leaving directory `/home/rac/mysql-3.23.39/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rac/mysql-3.23.39'
make: *** [all-recursive-am] Error 2

There is also this warning in the docs:

If you are compiling gcc 2.95 yourself, you should NOT link it with the DCE
libraries (libdce.a or libcma.a) if you want to compile MySQL with
MIT-pthreads. If you mix the DCE and
MIT-pthreads packages you will get a mysqld to which you cannot connect.
Remove the DCE libraries while you compile gcc 2.95!

I installed gcc from a depot file does how do I know if  gcc was complied in
this manner? Any assistance at all would be greatly appreciated.


David Hudgins
Code 935 System Administrator
NASA Goddard Space flight center
Code 935 Bld 28 Rm 196a
Greenbelt MD 20771
[EMAIL PROTECTED]

Reply via email to