>>>>> "Adam" == Adam Huffman <adam.huffman@stripped> writes:
Adam> I've been trying to compile 3.22.27 on an HPUX 9.03 machine.
Adam> However, it always fails in the mit-pthreads section. There are
Adam> several questions about this in the archives, but mainly for HPUX
Adam> 10.20. Does anyone have experience with this older version?
Adam> Actually, I only want the header files etc. so that I can install
Adam> Perl DBI and the DBD::mysql module for access to a MySQL database
Adam> on another machine, so if anyone can think of another solution.
Adam> The error I get during compilation is:
Adam> gcc -I. -Iinclude -I/tmp/mysql-3.22.27/mit-pthreads/include
Adam> -DPTHREAD_KERNEL -O6 -DDBUG_OFF -Werror -c
Adam> /tmp/mysql-3.22.27/mit-pthreads/pthreads/fd.c -o obj/fd.o
Adam> /tmp/mysql-3.22.27/mit-pthreads/pthreads/fd.c:1056: conflicting
Adam> types for `ioctl'
Adam> /usr/include/sys/ioctl.h:26: previous declaration of `ioctl'
Adam> gmake: *** [obj/fd.o] Error 1
Adam> gmake: Leaving directory `/tmp/mysql-3.22.27/mit-pthreads'
Adam> gmake: *** [all-recursive] Error 1
Adam> gmake: Leaving directory `/tmp/mysql-3.22.27'
Adam> gmake: *** [all-recursive-am] Error 2
It shouldn't be hard to only get perl and the clients to work.
(In this case you don't need threads)