Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Problems building db

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Cory S <fubeca AT gmail.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: [SM-Discuss] Problems building db
  • Date: Thu, 3 Nov 2005 12:03:52 -0700

I just installed onto a clean partition using the stable 0.9.5 ISO
(very nice, BTW). I didn't do a sorcery rebuild as I'm a little
pressed for time to get the box up and running and I didn't want to
wait 1-2 days while it rebuilt everything. I did however do a scribe
update, a sorcery update, and I rebuilt g++, the kernel, and autoconf
using the stable grimoire (db v. is 4.3.28).

When I cast db the configure script hangs when checking to see if the
g++ compiler is a GNU compiler. It looks like it's trying to compile
conftest.cc in the config.log but there is no conftest.cc to be found
anywhere on my system. I don't know if that's the reason it's hanging
or not.

Does anyone have any ideas? I Googled for it and found one thread with
a similar problem but it didn't really help me resolve it.

I've attached config.log for your viewing pleasure.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Berkeley DB configure 4.3.28, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ../dist/configure --prefix=/usr --build=i686-pc-linux-gnu
--enable-dynamic --enable-compat185 --enable-cxx --disable-tcl

## --------- ##
## Platform. ##
## --------- ##

hostname = ammon
uname -m = i686
uname -r = 2.6.13
uname -s = Linux
uname -v = #1 Sun Oct 9 20:36:10 Local time zone must be set--see zic manua

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/local/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /usr/bin/X11
PATH: /home/cory/bin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1577: checking build system type
configure:1595: result: i686-pc-linux-gnu
configure:1603: checking host system type
configure:1617: result: i686-pc-linux-gnu
configure:1640: checking if building in the top-level or dist directories
configure:1649: result: no
configure:1727: checking if --disable-cryptography option specified
configure:1740: result: no
configure:1744: checking if --disable-hash option specified
configure:1757: result: no
configure:1761: checking if --disable-queue option specified
configure:1774: result: no
configure:1778: checking if --disable-replication option specified
configure:1791: result: no
configure:1795: checking if --disable-statistics option specified
configure:1808: result: no
configure:1812: checking if --disable-verify option specified
configure:1825: result: no
configure:1829: checking if --enable-compat185 option specified
configure:1838: result: yes
configure:1841: checking if --enable-cxx option specified
configure:1850: result: yes
configure:1853: checking if --enable-debug option specified
configure:1862: result: no
configure:1865: checking if --enable-debug_rop option specified
configure:1874: result: no
configure:1877: checking if --enable-debug_wop option specified
configure:1886: result: no
configure:1889: checking if --enable-diagnostic option specified
configure:1913: result: no
configure:1917: checking if --enable-dump185 option specified
configure:1926: result: no
configure:1929: checking if --enable-java option specified
configure:1938: result: no
configure:1941: checking if --enable-mingw option specified
configure:1950: result: no
configure:1953: checking if --enable-o_direct option specified
configure:1962: result: no
configure:1965: checking if --enable-posixmutexes option specified
configure:1974: result: no
configure:1977: checking if --enable-rpc option specified
configure:1986: result: no
configure:1989: checking if --enable-smallbuild option specified
configure:2006: result: no
configure:2009: checking if --enable-tcl option specified
configure:2018: result: no
configure:2021: checking if --enable-test option specified
configure:2030: result: no
configure:2033: checking if --enable-uimutexes option specified
configure:2042: result: no
configure:2045: checking if --enable-umrw option specified
configure:2054: result: no
configure:2057: checking if --with-mutex=MUTEX option specified
configure:2075: result: no
configure:2080: checking if --with-mutexalign=ALIGNMENT option specified
configure:2101: result: no
configure:2104: checking if --with-tcl=DIR option specified
configure:2114: result: no
configure:2120: checking if --with-uniquename=NAME option specified
configure:2133: result: no
configure:2261: checking for ar
configure:2277: found /usr/bin/ar
configure:2288: result: ar
configure:2347: checking for chmod
configure:2363: found /bin/chmod
configure:2374: result: chmod
configure:2433: checking for cp
configure:2449: found /bin/cp
configure:2460: result: cp
configure:2519: checking for ln
configure:2535: found /bin/ln
configure:2546: result: ln
configure:2605: checking for mkdir
configure:2621: found /bin/mkdir
configure:2632: result: mkdir
configure:2693: checking for ranlib
configure:2709: found /usr/bin/ranlib
configure:2720: result: ranlib
configure:2734: checking for ranlib
configure:2752: found /usr/bin/ranlib
configure:2765: result: /usr/bin/ranlib
configure:2814: checking for rm
configure:2830: found /bin/rm
configure:2841: result: rm
configure:2990: checking for sh
configure:3006: found /bin/sh
configure:3017: result: sh
configure:3031: checking for sh
configure:3049: found /bin/sh
configure:3062: result: /bin/sh
configure:3120: checking for strip
configure:3136: found /usr/bin/strip
configure:3147: result: strip
configure:3161: checking for strip
configure:3179: found /usr/bin/strip
configure:3192: result: /usr/bin/strip
configure:3303: checking for a BSD-compatible install
configure:3358: result: /bin/install -c
configure:3501: checking for cc
configure:3517: found /usr/bin/cc
configure:3527: result: cc
configure:3548: checking for C compiler version
configure:3551: cc --version </dev/null >&5
cc (GCC) 3.4.4
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3554: $? = 0
configure:3556: cc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i486-pc-linux-gnu/3.4.4/specs
Configured with: /usr/src/gcc-3.4.4/configure --host=i486-pc-linux-gnu
--prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
--enable-threads=posix --with-system-zlib
Thread model: posix
gcc version 3.4.4
configure:3559: $? = 0
configure:3561: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:3564: $? = 1
configure:3587: checking for C compiler default output file name
configure:3590: cc -O -march=pentium2 -mmmx -pipe -O3 -D_GNU_SOURCE
-D_REENTRANT -z combreloc -s -lpthread conftest.c >&5
configure:3593: $? = 0
configure:3639: result: a.out
configure:3644: checking whether the C compiler works
configure:3650: ./a.out
configure:3653: $? = 0
configure:3670: result: yes
configure:3677: checking whether we are cross compiling
configure:3679: result: no
configure:3682: checking for suffix of executables
configure:3684: cc -o conftest -O -march=pentium2 -mmmx -pipe -O3
-D_GNU_SOURCE -D_REENTRANT -z combreloc -s -lpthread conftest.c >&5
configure:3687: $? = 0
configure:3712: result:
configure:3718: checking for suffix of object files
configure:3739: cc -c -O -march=pentium2 -mmmx -pipe -O3 -D_GNU_SOURCE
-D_REENTRANT conftest.c >&5
configure:3742: $? = 0
configure:3764: result: o
configure:3768: checking whether we are using the GNU C compiler
configure:3792: cc -c -O -march=pentium2 -mmmx -pipe -O3 -D_GNU_SOURCE
-D_REENTRANT conftest.c >&5
configure:3798: $? = 0
configure:3802: test -z
|| test ! -s conftest.err
configure:3805: $? = 0
configure:3808: test -s conftest.o
configure:3811: $? = 0
configure:3824: result: yes
configure:3830: checking whether cc accepts -g
configure:3851: cc -c -g -D_GNU_SOURCE -D_REENTRANT conftest.c >&5
configure:3857: $? = 0
configure:3861: test -z
|| test ! -s conftest.err
configure:3864: $? = 0
configure:3867: test -s conftest.o
configure:3870: $? = 0
configure:3881: result: yes
configure:3898: checking for cc option to accept ANSI C
configure:3968: cc -c -O -march=pentium2 -mmmx -pipe -O3 -D_GNU_SOURCE
-D_REENTRANT conftest.c >&5
configure:3974: $? = 0
configure:3978: test -z
|| test ! -s conftest.err
configure:3981: $? = 0
configure:3984: test -s conftest.o
configure:3987: $? = 0
configure:4005: result: none needed
configure:4023: cc -c -O -march=pentium2 -mmmx -pipe -O3 -D_GNU_SOURCE
-D_REENTRANT conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:4029: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:4187: checking for an ANSI C-conforming const
configure:4254: cc -c -O2 -march=pentium2 -mmmx -pipe -O3 -D_GNU_SOURCE
-D_REENTRANT conftest.c >&5
configure:4260: $? = 0
configure:4264: test -z
|| test ! -s conftest.err
configure:4267: $? = 0
configure:4270: test -s conftest.o
configure:4273: $? = 0
configure:4284: result: yes
configure:4768: checking for g++
configure:4784: found /usr/bin/g++
configure:4794: result: g++
configure:4810: checking for C++ compiler version
configure:4813: g++ --version </dev/null >&5
g++ (GCC) 3.4.4
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4816: $? = 0
configure:4818: g++ -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
g++: unrecognized option `-v'
g++: unrecognized option `-mtune=pentiumpro'
Configured with: /usr/src/gcc-3.4.4/configure --host=i686-pc-linux-gnu
--prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man
--enable-threads=posix --with-system-zlib --enable-languages=c++
Thread model: posix
gcc version 3.4.4
configure:4821: $? = 0
configure:4823: g++ -V </dev/null >&5
g++: `-V' option must have argument
configure:4826: $? = 1
configure:4829: checking whether we are using the GNU C++ compiler
configure:4853: g++ -c -O -march=pentium2 -mmmx -pipe -O3 -D_GNU_SOURCE
-D_REENTRANT conftest.cc >&5

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_ct_db_cv_path_ar=ar
ac_ct_db_cv_path_chmod=chmod
ac_ct_db_cv_path_cp=cp
ac_ct_db_cv_path_ln=ln
ac_ct_db_cv_path_mkdir=mkdir
ac_ct_db_cv_path_rm=rm
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O -march=pentium2 -mmmx -pipe -O3'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O -march=pentium2 -mmmx -pipe -O3'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-z combreloc -s -lpthread'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_db_cv_path_ranlib=/usr/bin/ranlib
ac_cv_path_db_cv_path_sh=/bin/sh
ac_cv_path_db_cv_path_strip=/usr/bin/strip
ac_cv_path_install='/bin/install -c'
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_db_cv_path_ar=ar
ac_cv_prog_ac_ct_db_cv_path_chmod=chmod
ac_cv_prog_ac_ct_db_cv_path_cp=cp
ac_cv_prog_ac_ct_db_cv_path_ln=ln
ac_cv_prog_ac_ct_db_cv_path_mkdir=mkdir
ac_cv_prog_ac_ct_db_cv_path_rm=rm
ac_cv_prog_ac_ct_path_ranlib=ranlib
ac_cv_prog_ac_ct_path_sh=sh
ac_cv_prog_ac_ct_path_strip=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
db_cv_build_cryptography=yes
db_cv_build_hash=yes
db_cv_build_queue=yes
db_cv_build_replication=yes
db_cv_build_statistics=yes
db_cv_build_type=release
db_cv_build_verify=yes
db_cv_compat185=yes
db_cv_cxx=yes
db_cv_debug=no
db_cv_debug_rop=no
db_cv_debug_wop=no
db_cv_diagnostic=no
db_cv_dump185=no
db_cv_java=no
db_cv_mingw=no
db_cv_o_direct=no
db_cv_path_ar=ar
db_cv_path_chmod=chmod
db_cv_path_cp=cp
db_cv_path_ln=ln
db_cv_path_mkdir=mkdir
db_cv_path_ranlib=/usr/bin/ranlib
db_cv_path_rm=rm
db_cv_path_sh=/bin/sh
db_cv_path_strip=/usr/bin/strip
db_cv_posixmutexes=no
db_cv_rpc=no
db_cv_smallbuild=no
db_cv_tcl=no
db_cv_test=no
db_cv_uimutexes=no
db_cv_umrw=no
db_cv_uniquename=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ADDITIONAL_INCS=''
ADDITIONAL_LANG=''
ADDITIONAL_OBJS=''
ADDITIONAL_PROGS=''
AR=''
BUILD_TARGET='library_build'
CC='cc'
CCC=''
CFLAGS='-O2 -march=pentium2 -mmmx -pipe -O3 '
CONFIGURATION_ARGS=''
CONFIGURATION_PATH=''
CPP=''
CPPFLAGS=' -D_GNU_SOURCE -D_REENTRANT'
CRYPTO_OBJS=''
CXX='g++'
CXXCPP=''
CXXFLAGS='-O -march=pentium2 -mmmx -pipe -O3'
DB_CONST=''
DB_PROTO1='#undef __P'
DB_PROTO2='#define __P(protos) protos'
DB_VERSION_MAJOR='4'
DB_VERSION_MINOR='3'
DB_VERSION_PATCH='28'
DB_VERSION_STRING='"Sleepycat Software: Berkeley DB 4.3.28: (April 22, 2005)"'
DB_VERSION_UNIQUE_NAME=''
DEFAULT_LIB=''
DEFAULT_LIB_CXX=''
DEFS=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALLER=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_LIBS=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_TARGET='library_install'
JAR=''
JAVA=''
JAVAC=''
JAVACFLAGS=''
JMODSUFFIX=''
LDFLAGS='-z combreloc -s -lpthread'
LIBJSO_LIBS=''
LIBOBJS=''
LIBS=''
LIBSO_LIBS=''
LIBTOOL=''
LIBTSO_LIBS=''
LIBTSO_MODSUFFIX=''
LIBTSO_MODULE=''
LIBXSO_LIBS=''
LN_S=''
LTLIBOBJS=''
MAKEFILE_CC='cc'
MAKEFILE_CCLINK='cc'
MAKEFILE_CXX='nocxx'
MAKEFILE_CXXLINK='nocxx'
MAKEFILE_SOLINK=''
MAKEFILE_XSOLINK=''
MODSUFFIX=''
OBJEXT='o'
OSDIR=''
PACKAGE_BUGREPORT='support AT sleepycat.com'
PACKAGE_NAME='Berkeley DB'
PACKAGE_STRING='Berkeley DB 4.3.28'
PACKAGE_TARNAME='db-4.3.28'
PACKAGE_VERSION='4.3.28'
PATH_SEPARATOR=':'
POSTLINK=''
RANLIB=''
REPLACEMENT_OBJS=''
RPC_CLIENT_OBJS=''
RPC_SERVER_H=''
SHELL='/bin/sh'
SOFLAGS=''
SOSUFFIX=''
STRIP=''
TCFLAGS=''
TCL_BIN_DIR=''
TCL_LIB_FILE=''
TCL_SRC_DIR=''
TCL_TCLSH=''
TEST_LIBS=''
_ACJNI_JAVAC=''
ac_ct_AR=''
ac_ct_CC='cc'
ac_ct_CCC=''
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
ac_ct_db_cv_path_ar='ar'
ac_ct_db_cv_path_chmod='chmod'
ac_ct_db_cv_path_cp='cp'
ac_ct_db_cv_path_kill=''
ac_ct_db_cv_path_ln='ln'
ac_ct_db_cv_path_mkdir='mkdir'
ac_ct_db_cv_path_rm='rm'
ac_ct_db_cv_path_rpcgen=''
ac_ct_path_ranlib='ranlib'
ac_ct_path_sh='sh'
ac_ct_path_strip='strip'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
cxx_have_stdheaders=''
datadir='${prefix}/share'
db_cv_build_type='release'
db_cv_path_ar='ar'
db_cv_path_chmod='chmod'
db_cv_path_cp='cp'
db_cv_path_kill=''
db_cv_path_ln='ln'
db_cv_path_mkdir='mkdir'
db_cv_path_ranlib='/usr/bin/ranlib'
db_cv_path_rm='rm'
db_cv_path_rpcgen=''
db_cv_path_sh='/bin/sh'
db_cv_path_strip='/usr/bin/strip'
db_int_def=''
db_seq_decl=''
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
int16_decl=''
int32_decl=''
int64_decl=''
inttypes_h_decl=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
o=''
oldincludedir='/usr/include'
path_ranlib='ranlib'
path_sh='sh'
path_strip='strip'
prefix='/usr'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
ssize_t_decl=''
stddef_h_decl=''
stdint_h_decl=''
sysconfdir='${prefix}/etc'
target_alias=''
u_char_decl=''
u_int16_decl=''
u_int32_decl=''
u_int64_decl=''
u_int8_decl=''
u_int_decl=''
u_long_decl=''
u_short_decl=''
uintmax_t_decl=''
uintptr_t_decl=''
uudecode=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "support AT sleepycat.com"
#define PACKAGE_NAME "Berkeley DB"
#define PACKAGE_STRING "Berkeley DB 4.3.28"
#define PACKAGE_TARNAME "db-4.3.28"
#define PACKAGE_VERSION "4.3.28"

configure: caught signal 2
configure: exit 1



Archive powered by MHonArc 2.6.24.

Top of Page