List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:July 2 1999 9:55am
Subject:problem when compile the mysql
View as plain text  
>>>>> "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
Thread
problem when compile the mysqlDAPING XIA2 Jul
  • Re: problem when compile the mysqlSasha Pachev2 Jul
  • problem when compile the mysqlMichael Widenius2 Jul