Hi!

>>>>> "verkouter" == verkouter  <[EMAIL PROTECTED]> writes:

verkouter> Description:
verkouter>      I tried to compile the mysql client stuff. 
verkouter>      The first configure command was:
verkouter>      ./configure --prefix=/jaw0_3/jops/verkout --without-server 
--without-docs --without-bench --without-debug --with-pthread

verkouter>      This (obviously) did not fully work. Almost everyting was built, 
except the mysql binary (mysql{admin,show,..} were ok (and did work).
verkouter>      When compiling mysql.cc it gave *a lot* of errors, on include 
<stdio.h> and some other files. Mostly errors on lines wher _fpos_t and/or int64 were 
used.

verkouter>      Checked www.mysql.com. Found HPUX 10.20 build instructions.
verkouter>      Did another configure (env. vars. changes as per the webpage first).
verkouter>      ./configure --prefix=/jaw0_3/jops/verkout --without-server 
--without-docs --without-bench --without-debug --with-pthread 
--with-named-thread-libs='-ldce' --disable-shared

verkouter>      Still didn't work; the errors were still the same... I suspected they 
had to do with large-file support. Gave it another try with this configure command:
verkouter>      ./configure --prefix=/jaw0_3/jops/verkout --without-server 
--without-docs --without-bench --without-debug --with-pthread 
--with-named-thread-libs='-ldce' --disable-shared --disable-large-files

verkouter>      You guessed it: no difference.

<cut>

Between the different configure attemtns, did you do 'rm config.cache'?

If not, then there is a big change that the old content of 
config.cache from the first build could have affected the later
builds.

Any change you could quickly check on your machine if the
recommended configure line from the MySQL manual would work one a
clean MySQL distribution ?

On our HPUX 10.20 machine, we use the following configure line to
build our binaries:

CFLAGS="-DHPUX -I/opt/dce/include  -O3 -fpic" CXX=gcc CXXFLAGS="-DHPUX 
-I/opt/dce/include -felide-constructors -fno-exceptions -fno-rtti -O3 " ./configure 
--prefix=/usr/local/mysql "--with-comment=Official MySQL binary" 
--with-extra-charsets=complex "--with-server-suffix="  --with-pthread 
--with-named-thread-libs=-ldce --disable-shared

And this compiles without any problems.

Regards,
Monty


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to