Hi Michael,

Michael Widenius wrote:
> 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.

I got an email from Timothy Smith yesterday suggesting the same. I build
a lot of packages using configure and am aware of the config.cache
(guess how I found *that* out.. :))... no.. I almost automatically rm
config.cache before any configure command...

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

Ok. So I gave it another try. I untarred the source distro into a new
directory and ran the configure command above (only different prefix).
Made absolutely no difference whatsoever: still a gazillion+-1 errors
:). Below I have a snapshot of the kind of errors that fly by my tty....

I think our gcc is broken/only half installed; it can only build 32bit
apps.

g++ -v:
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)



<<< snip >>>
In file included from /usr/include/fcntl.h:9,
                 from ../include/global.h:176,
                 from mysql.cc:28:
/usr/include/sys/fcntl.h:212: initializer list being treated as compound
express
ion
/usr/include/sys/fcntl.h:212: syntax error before `char'
/usr/include/sys/fcntl.h:212: `mode_t c' used prior to declaration
/usr/include/sys/fcntl.h:212: parse error before `{'
/usr/include/sys/fcntl.h:213: initializer list being treated as compound
express
ion
/usr/include/sys/fcntl.h:213: syntax error before `char'
/usr/include/sys/fcntl.h:213: `mode_t b' used prior to declaration
/usr/include/sys/fcntl.h:213: parse error before `{'
In file included from /usr/include/unistd.h:11,
                 from ../include/global.h:192,
                 from mysql.cc:28:
/usr/include/sys/unistd.h:92: syntax error before `('
/usr/include/sys/unistd.h:275: type specifier omitted for parameter
/usr/include/sys/unistd.h:276: type specifier omitted for parameter
/usr/include/sys/unistd.h:362: type specifier omitted for parameter
/usr/include/sys/unistd.h:426: type specifier omitted for parameter
/usr/include/sys/unistd.h:526: syntax error before `('
/usr/include/sys/unistd.h:528: `int truncate' redeclared as different
kind of s
In file included from mysql.cc:28:
./include/global.h:633: syntax error before `;'
In file included from /usr/include/sys/stat.h:25,
                 from ../include/my_dir.h:27,
                 from mysql.cc:34:
/usr/include/sys/_stat_body.h:14: syntax error before `;'
/usr/include/sys/_stat_body.h:22: syntax error before `;'
In file included from ../include/my_dir.h:27,
                 from mysql.cc:34:
/usr/include/sys/stat.h:167: `int stat' redeclared as different kind of
symbol
/usr/include/sys/stat.h:108: previous declaration of `int stat(const
char *, sta
t *)'
/usr/include/sys/stat.h:167: initializer list being treated as compound
expressi
on
/usr/include/sys/stat.h:167: syntax error before `char'
/usr/include/sys/stat.h:167: conflicting types for `struct stat * b'
/usr/include/sys/fcntl.h:213: previous declaration as `mode_t b'
/usr/include/sys/stat.h:167: parse error before `{'
/usr/include/sys/stat.h:168: `int fstat' redeclared as different kind of
symbol
/usr/include/sys/stat.h:107: previous declaration of `int fstat(int,
stat *)'

<<< /snip >>>

Cheers,

-- 

Groeten,


Harro Verkouter                 Joint Institute for VLBI in Europe
[EMAIL PROTECTED]               Radiosterrenwacht Dwingeloo 
                                Postbus 2
tel.: (+31)(0)521-596516        7990 AA DWINGELOO, the Netherlands
fax.: (+31)(0)521-597332        

------------------------------------------------------------------

Accident, n.:
        A condition in which presence of mind is good, but absence of
        body is better.
                -- Foolish Dictionary

------------------------------------------------------------------

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