Problems compiling Gideon under FreeBSD.

Tony Byrne kdevelop at byrnehq.com
Mon Jun 30 20:45:50 UTC 2003


Hello Tony,

Friday, June 27, 2003, 4:50:12 PM, you wrote:

TB> You may recall my earlier posts regarding compiling Gideon under
TB> FreeBSD and the problems I've had with CVS sources after the
TB> release of Alpha4.  Assuming that other FreeBSD users must be
TB> having better luck than me, I went back to first principles.

As requested here's the relevant parts of config.log from my failing
configure under FreeBSD.

I'm using Autoconf 2.57 and Automake 1.7.5, both installed from the
vanilla GNU src tarballs, since the corresponding FreeBSD ports are
marked as broken.



====================

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57.  Invocation command line was

  $ ./configure --prefix=/usr/local/gideon --with-extra-includes=/usr/local/include/db3 --with-extra-libs=/usr/local/lib

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

hostname = liftpass.traveldev.com
uname -m = i386
uname -r = 4.8-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 4.8-STABLE #6: Fri May 30 11:24:56 IST 2003     tonyb at liftpass.traveldev.com:/usr/obj/usr/src/sys/LIFTPASS 

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

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

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


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

<SNIP>

configure:33833: checking for Berkeley DB >= 3
configure:33882: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common  -ldb -pthread -DQT_THREAD_SUPPORT  -D_THREAD_SAFE  conftest.cc  1>&5
In file included from /usr/include/sys/types.h:45,
                 from /usr/include/db.h:39,
                 from configure:33897:
/usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined
/usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined
configure:33903: warning: `DB_VERSION_MAJOR' is not defined
configure: In function `int main()':
configure:33910: syntax error before `;'
configure:33885: $? = 1
configure: failed program was:
| #line 33856 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gideon_kdevelop"
| #define VERSION "3.0.0a5"
| #define KDELIBSUFF ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_STRLCAT 1
| #define HAVE_STRLCAT_PROTO 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRLCPY_PROTO 1
| #define HAVE_CRYPT 1
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_RES_INIT 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_CHAR_P 4
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBPTHREAD 1
| #define YYTEXT_POINTER 1
| /* end confdefs.h.  */
| 
|       #include <db.h>
| 
| int
| main ()
| {
| 
|       #if DB_VERSION_MAJOR < 3
|          choke me
|       #else
|          DB *db;
|          db->open( db, 0, NULL, DB_BTREE, DB_CREATE, 0644 );
|       #endif
| 
|   ;
|   return 0;
| }
configure:33924: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common  -ldb -pthread -DQT_THREAD_SUPPORT  -D_THREAD_SAFE  conftest.cc  1>&5
In file included from /usr/include/sys/types.h:45,
                 from /usr/include/db.h:39,
                 from configure:33939:
/usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined
/usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined
configure:33945: warning: `DB_VERSION_MAJOR' is not defined
configure: In function `int main()':
configure:33952: syntax error before `;'
configure:33927: $? = 1
configure: failed program was:
| #line 33898 "configure"
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "gideon_kdevelop"
| #define VERSION "3.0.0a5"
| #define KDELIBSUFF ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_STRLCAT 1
| #define HAVE_STRLCAT_PROTO 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRLCPY_PROTO 1
| #define HAVE_CRYPT 1
| #define ksize_t socklen_t
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_RES_INIT 1
| #define SIZEOF_INT 4
| #define SIZEOF_LONG 4
| #define SIZEOF_CHAR_P 4
| #define SIZEOF_SIZE_T 4
| #define SIZEOF_UNSIGNED_LONG 4
| #define HAVE_VSNPRINTF 1
| #define HAVE_SNPRINTF 1
| #define HAVE_LIBZ 1
| #define HAVE_LIBJPEG 1
| #define HAVE_LIBPTHREAD 1
| #define YYTEXT_POINTER 1
| /* end confdefs.h.  */
| 
|         #include <db.h>
| 
| int
| main ()
| {
| 
|         #if DB_VERSION_MAJOR < 3
|            choke me
|         #else
|            DB *db;
|            db->open( db, 0, 0, NULL, DB_BTREE, DB_CREATE, 0644 );
|         #endif
| 
|   ;
|   return 0;
| }
configure:33960: error: no - please install Berkeley DB >= 3

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

Regards,

Tony.

-- 
Tony Byrne






More information about the KDevelop-devel mailing list