>>>>> "DAPING" == DAPING XIA <dapingxia@stripped> writes:
DAPING> Has anyone compiled the lasted mysql under hp-ux 10.20 (hp 700) with \
DAPING> perl DBI support? I tried millions of times, no luck! Appreciate for any helps
DAPING> and hints!
DAPING> I'm using gcc 2.8.1, hp-ux 10.20.
Hi!
Yes. This mainly requires you to configure MySQL with:
CFLAGS=-fpic ./configure
I used the following configure line on HPUX:
CC=gcc CFLAGS="-O2 -Dhp9000s800 -D__hpux__ -fpic" CXX=gcc CXXFLAGS="-O2
-felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql
--with-debug --with-low-memory --with-mysqld-ldflags=-all-static --disable-shared
Note that I have had some weird problems with gcc 2.8.1 on HP-UX. I
would strongly suggest that you try egcs 1.1.2 instead (I don't know
if egcs 1.1.2 is better, but it can't be worse than gcc...)
Regards,
Monty