List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:October 20 1999 7:51pm
Subject:HPUX 9.03 problems
View as plain text  
>>>>> "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[2]: *** [obj/fd.o] Error 1
Adam> gmake[2]: Leaving directory `/tmp/mysql-3.22.27/mit-pthreads'
Adam> gmake[1]: *** [all-recursive] Error 1
Adam> gmake[1]: 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)

Try doing:

./configure --without-server


HPUX 9.03 problemsAdam Huffman20 Oct
  • Re: HPUX 9.03 problemssinisa20 Oct
    • Re: HPUX 9.03 problemsRalf Kraudelt21 Oct
  • HPUX 9.03 problemsMichael Widenius20 Oct