I am unable to build subversion 1.4.0 on my Solaris 10 machine with
OpenPKG-CURRENT.

It appears that on Solaris 10, one needs to link with -lrt in order to
use Berkeley DB, or at least portions thereof.  See the attached
section of config.log from the apr-util directory:

[...]
configure:18966: $? = 0
configure:18986: result: yes
configure:19021: checking for db.h
configure:19028: result: yes
configure:19044: checking for -ldb
configure:19110: /openpkg-current/bin/cc -o conftest -O2 -pipe
-I/openpkg-current/in
clude/libxml2 -I/openpkg-current/include -DSOLARIS2=10
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/openpkg-current/include
-L/openpkg-current/lib -L/openpkg-current/lib
conftest.c  -ldb >&5
conftest.c: In function 'main':
conftest.c:32: warning: incompatible implicit declaration of built-in
function 'exit
'
/openpkg-current/lib/libdb.a(os_fsync.o): In function `__os_fsync':
os_fsync.c:(.text+0x85): undefined reference to `fdatasync'
collect2: ld returned 1 exit status
configure:19113: $? = 1
configure: program exited with status 1
[...]

According to the Solaris man pages, fdatasync requires linking with -lrt.

--
Caleb Epstein
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to