List:General Discussion« Previous MessageNext Message »
From:Sasha Pachev Date:July 23 1999 3:37am
Subject:Re: MySQL needs a long long type ???
View as plain text  
Jani Tolonen wrote:
> 
> lr@stripped writes:
>  > >Description:
>  >      checking size of char... 1
>  >      checking size of int... 4
>  >      checking size of long... 4
>  >      checking size of long long... 0
>  >      configure: error: MySQL needs a long long type.
>  >
>  >         The compilation info below says CC-'gcc' but I don't have gcc and
>  >      it said it was using the ANSI-standard cc that is installed.
>  >      ANSI C doesn't have a 'long long' type, so I don't know why the
>  >      build process is expecting one.
>  >
>  > >How-To-Repeat:
>  >      shell> configure
>  >
>  > >Fix:
>  >      Please tell me!
>  >
>  > >Submitter-Id:       <submitter ID>
>  > >Originator: Larry Rosler
>  > >Organization:
>  >   Hewlett-Packard Laboratories
>  >   lr@stripped
>  > >
>  > >MySQL support: none (just starting!)
>  > >Synopsis:   Can't compile MySQL using HP-UX 9.0 and ANSI-C compiler.
>  > >Severity:   critical
>  > >Priority:   high
>  > >Category:   mysql
>  > >Class:              sw-bug
>  > >Release:    mysql-3.22.25 (Source distribution)
>  > >Environment:
>  >
>  > System: HP-UX pss A.09.05 A 9000/735 2004833812 two-user license
>  > Some paths:  /usr/local/bin/perl /bin/make /bin/cc
>  > Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
>  > Configure command: ./configure  --with-unix-socket-path=/var/tmp/mysql.sock
> --with-low-memory --with-mit-threads=yes
>  > Perl: This is perl, version 5.005_03 built for PA-RISC1.1
>  >
> 
> Hello,
> 
> Try first man cc; switch on the Extended ANSI mode
> for you compiler. (Should be something like -Ae or similar)
> 
> Then you need to do something like:
> 'setenv CFLAGS -Ae' before starting to configure.
> 
> You might also need to specify for HP's
> C++ compiler the right option. I think it is
> '-ext', set it for CXXFLAGS.
> 
> or fetch and install the newest egcs for your system:
> http://egcs.cygnus.com/
> 
> Regards,
> 
> - Jani
> 

Hey, looks like someone at HP is using MySQL, at least trying to!

-- 
Sasha Pachev
http://www.sashanet.com
Thread
MySQL needs a long long type ???lr23 Jul
  • MySQL needs a long long type ???Jani Tolonen23 Jul
  • Re: MySQL needs a long long type ???Sasha Pachev23 Jul