I'm having problems running configure for mysql V3.22.20a on SCO OpenServer V5.0.4.
I get this in config.log:
configure:2315: gcc -c -belf conftest.c 1>&5
gcc: installation problem, cannot exec `cpp': No such file or directory
gcc: file path prefix `/usr/local/lib/gcc-lib/elf/2.8.1/' never used
configure: failed program was:
#line 2297 "configure"
#include "confdefs.h"
#if !defined(__STDC__)
choke me
#endif
/* DYNIX/ptx V4.1.3 can't compile sys/stat.h with -Xc -D__EXTENSIONS__. */
#ifdef _SEQUENT_
# include <sys/types.h>
# include <sys/stat.h>
#endif
int main() {
int test (int i, double x);
struct s1 {int (*f) (int a);};
struct s2 {int (*f) (double a);};
; return 0; }
I see that somehow Mysql's config thinks it's needed. Any idea why ?
What does architecture type "elf" mean ? Should I just make a link from
/usr/local/lib/gcc-lib/elf to my actual architecture-specific library ?
# grep belf * | more
aclocal.m4: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
aclocal.m4: CFLAGS="$CFLAGS -belf"
config.log:configure:2315: gcc -c -belf conftest.c 1>&5
config.log:configure:2315: gcc -qlanglvl=ansi -c -belf conftest.c 1>&5
config.log:configure:2315: gcc -std1 -c -belf conftest.c 1>&5
config.log:configure:2315: gcc -Aa -D_HPUX_SOURCE -c -belf conftest.c 1>&5
configure: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
configure: CFLAGS="$CFLAGS -belf"
configure: CC="$CC -belf";
configure: CXX="$CXX -belf";
configure.in: CC="$CC -belf";
configure.in: CXX="$CXX -belf";
libtool:# CC="gcc" CFLAGS=" -belf" CPPFLAGS="" \
ltconfig: special_shlib_compile_flags='-belf'
Thanks to Paul D. Smith at Bay for getting me this far...
Jeff Dickens
Software Tools Engineer
ERS Boxboro (978) 264-2832