It seems it can't find the Berkely DB:

| }
configure:21602: result: no
configure:21673: WARNING: APR-UTIL may or may not be using the specified
                     Berkeley DB at `/sw/include/db4:/sw/lib'.  Using
the Berkeley DB
                     supplied by APR-UTIL.
configure:21710: checking for availability of Berkeley DB
configure:21782: gcc -o conftest -g -O2  -g -O2   -I/sw/include/apache2
-I/sw/include -I/sw/include  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp -L/sw/lib/system-openssl/lib -L/sw/lib    -L/sw/lib
conftest.c  -L/sw/lib     >&5
Undefined symbols:
  "_db_version", referenced from:
      _main in ccof3eGW.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
configure:21786: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.4.6"
| #define PACKAGE_STRING "subversion 1.4.6"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/";
| #define SVN_NEON_0_25 1
| #define SVN_NEON_0_26 1
| #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_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SVN_BINDIR "/sw/bin"
| #define SVN_LOCALE_DIR "/sw/share/locale"
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
|
| #include <stdlib.h>
| #define APU_WANT_DB
| #include <apu_want.h>
|
| int main ()
| {
|   int major, minor, patch;
|
|   db_version (&major, &minor, &patch);
|
|   /* Sanity check: ensure that db.h constants actually match the db
library */
|   if (major != DB_VERSION_MAJOR
|       || minor != DB_VERSION_MINOR
|       || patch != DB_VERSION_PATCH)
|     exit (1);
|
|   /* Run-time check:  ensure the library claims to be the correct
version. */
|
|   if (major < 4)
|     exit (1);
|   if (major > 4)
|     exit (0);
|
|   if (minor < 0)
|     exit (1);
|   if (minor > 0)
|     exit (0);
|
|   if (patch >= 14)
|     exit (0);
|   else
|     exit (1);
| }
|
configure:21822: result: no
configure:21826: error: Berkeley DB 4.0.14 wasn't found.

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


On 8/17/09 6:43 PM, Alexander Hansen wrote:
> James Rome wrote:
> > sh-3.2# ls -la /usr/local
> > total 8
> > drwxr-xr-x   18 root  wheel    612 Aug 17 10:53 .
> > drwxr-xr-x@  14 root  wheel    476 Aug 17 17:39 ..
> > drwxr-xr-x   11 root  admin    374 Oct 22  2008 adeona
> > lrwxr-xr-x    1 root  wheel     27 Aug 17 10:53 ant ->
> > /usr/local/apache-ant-1.7.1
> > drwxr-xr-x   14 jar   wheel    476 Jun 27  2008 apache-ant-1.7.1
> > drwxr-xr-x    6 root  wheel    204 Apr  4  2006 apr
> > drwxr-xr-x  157 root  wheel   5338 Aug 17 10:52 bin
> > drwxr-xr-x    6 root  wheel    204 Jun 23  2008 dyndns
> > drwxr-xr-x    5 root  wheel    170 Nov  6  2007 etc
> > drwxr-xr-x   19 root  wheel    646 Jul 31 15:21 globus-4.2.0
> > drwxr-xr-x    4 root  wheel    136 Aug  2  2008 hermes
> > drwxr-xr-x   64 root  wheel   2176 Jun 16 13:06 include
> > drwxr-xr-x    6 root  wheel    204 Oct 23  2008 info
> > drwxr-xr-x  317 root  wheel  10778 Jul 18 09:59 lib
> > drwxr-xr-x    4 jar   jar      136 Feb 22  2008 libexec
> > drwxr-xr-x    7 root  wheel    238 Apr  1  2008 man
> > drwxr-xr-x    2 root  wheel     68 Feb 23 14:06 sbin
> > drwxr-xr-x   20 root  wheel    680 Jul 16 19:21 share
>
> > I renamed usr/local to usr/localt and redid it. still dies:
> > checking dlfcn.h usability... yes
> > checking dlfcn.h presence... yes
> > checking for dlfcn.h... yes
> > checking for g++... g++
> > checking whether we are using the GNU C++ compiler... yes
> > checking whether g++ accepts -g... yes
> > checking how to run the C++ preprocessor... g++ -E
> > checking whether we are using the GNU Fortran 77 compiler... no
> > checking whether no accepts -g... no
> > checking the maximum length of command line arguments... 196608
> > checking command to parse /usr/bin/nm -p output from gcc object... ok
> > checking for objdir... .libs
> > checking for ar... ar
> > checking for ranlib... ranlib
> > checking for strip... strip
> > checking for dsymutil... dsymutil
> > checking for nmedit... nmedit
> > checking for -single_module linker flag... yes
> > checking for -exported_symbols_list linker flag... yes
> > checking if gcc supports -fno-rtti -fno-exceptions... no
> > checking for gcc option to produce PIC... -fno-common
> > checking if gcc PIC flag -fno-common works... yes
> > checking if gcc static flag -static works... no
> > checking if gcc supports -c -o file.o... yes
> > checking whether the gcc linker
> > (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared
> > libraries... yes
> > checking dynamic linker characteristics... darwin9.8.0 dyld
> > checking how to hardcode library paths into programs... immediate
> > checking whether stripping libraries is possible... yes
> > checking if libtool supports shared libraries... yes
> > checking whether to build shared libraries... yes
> > checking whether to build static libraries... yes
> > configure: creating libtool
> > appending configuration tag "CXX" to libtool
> > checking for ld used by g++...
> /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
> > checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is
> > GNU ld... no
> > checking whether the g++ linker
> > (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared
> > libraries... yes
> > checking for g++ option to produce PIC... -fno-common
> > checking if g++ PIC flag -fno-common works... yes
> > checking if g++ static flag -static works... no
> > checking if g++ supports -c -o file.o... yes
> > checking whether the g++ linker
> > (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared
> > libraries... yes
> > checking dynamic linker characteristics... darwin9.8.0 dyld
> > (cached) (cached) checking how to hardcode library paths into
> > programs... immediate
> > appending configuration tag "F77" to libtool
> > checking whether libtool accepts --tag=XXX... yes
> > checking whether libtool needs -no-undefined... no
> > checking whether to avoid circular linkage at all costs... no
> > checking for trang... none
> > checking for socket in -lsocket... no
> > configure: WARNING: APR-UTIL may or may not be using the specified
> >                      Berkeley DB at `/sw/include/db4:/sw/lib'.  Using
> > the Berkeley DB
> >                      supplied by APR-UTIL.
> > checking for availability of Berkeley DB... no
> > configure: error: Berkeley DB 4.0.14 wasn't found.
> > ### execution of /var/tmp/tmp.1.x2GduO failed, exit code 1
> > Removing runtime build-lock...
> > Removing build-lock package...
> > /sw/bin/dpkg-lockwait -r fink-buildlock-svn-1.4.6-14
> > (Reading database ... 133711 files and directories currently installed.)
> > Removing fink-buildlock-svn-1.4.6-14 ...
> > Failed: phase compiling: svn-1.4.6-14 failed
>
> > On 8/17/09 3:46 PM, Alexander Hansen wrote:
> > James Rome wrote:
>
>
> <snip>
>
> It may be somewhere else other than /usr/local, then.  Moving it is
> generally a good plan, though.
>
> The next thing is to look in the config.log file in the svn build
> directory, probably /sw/src/fink.build/svn-1.4.6-14/svn-1.4.6/config.log
>  , and see what commands it is actually running.  Look for where it
> checks for DB and post a few lines around that.
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to