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

        This (obviously) did not fully work. Almost everyting was built, except the 
mysql binary (mysql{admin,show,..} were ok (and did work).
        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.

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

        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:
        ./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

        You guessed it: no difference.

Fix:

        Went into 'include/my_config.h'. Found that the #defn's usually used to 
indicate large-file support were still defined?!
        Did a #undef on the following variables:
        _FILE_OFFSET_BITS
        _LARGEFILE_SOURCE
        _LARGE_FILES

        After that, gmake in the 'client' subdir worked like a charm! The produced 
binaries seem to work ok.....


Originator:     Harro Verkouter
MySQL support: none
Synopsis:       Buildprobs on HPUX 10.20
Severity:       non-critical
Priority:       medium
Category:       mysql
Class:          sw-bug
Release:        mysql-3.23.40 (Source distribution)

Environment:
System: HP-UX jaw0 B.10.20 A 9000/782 2000098990 two-user license


Some paths:  /local/bin/perl /local/bin/make /local/bin/gmake /local/gcc-2.95/bin/gcc 
/usr/bin/cc
GCC: Reading specs from /local/gcc-2.95/lib/gcc-lib/hppa2.0-hp-hpux10.20/2.95.2/specs
gcc version 2.95.2 19991024 (release)
Compilation info: CC='gcc'  CFLAGS='-DHPUX -I/opt/dce/include'  CXX='gcc'  
CXXFLAGS='-DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions -fno-rtti'  
LDFLAGS=''
LIBC: 
-r-xr-xr-x   1 bin        bin        1863680 Nov 10  1999 /lib/libc.1
-r--r--r--   1 bin        bin        2456532 Nov 10  1999 /lib/libc.a
lrwxr-xr-x   1 root       sys             15 Jun 16  1998 /lib/libc.sl -> 
/usr/lib/libc.1
-r-xr-xr-x   1 bin        bin        1863680 Nov 10  1999 /usr/lib/libc.1
-r--r--r--   1 bin        bin        2456532 Nov 10  1999 /usr/lib/libc.a
lrwxr-xr-x   1 root       sys             15 Jun 16  1998 /usr/lib/libc.sl -> 
/usr/lib/libc.1
Configure command: ./configure  --prefix=/jaw0_3/jops/verkout --without-server 
--without-docs --without-bench --without-debug --with-pthread 
--with-named-thread-libs=-ldce --disable-shared
Perl: This is perl, version 5.005_02 built for PA-RISC2.0

---------------------------------------------------------------------
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