[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Building 1.4.0 fails on OpenBSD 3.9

From: Kyle George <kgeorge_at_tcpsoft.com>
Date: 2006-10-17 21:55:02 CEST

Building svn 1.4.0 from the source tarball is failing on OpenBSD 3.9.
Building 1.3.2 from source on OpenBSD works perfectly out of the box with
the same configure options (I'm running it in production now).

I searched the dev mailing list archive but didn't find any references to
a known problem with 1.4.0. It fails with and without -deps present in
the source tree and with and without options to ./configure.

It looks like it's having trouble finding some symbols in
libsvn_client-1.la when it's trying to link the cmdline client.

See after my sig for the configure options (but it fails even with no
options) and the build error.

Has anyone else had success building 1.4.0 on OpenBSD?

I'm happy to provide any additional information.

Regards,

-- 
Kyle George
$ wget http://subversion.tigris.org/downloads/subversion-1.4.0.tar.gz
$ tar -xzvf subversion-1.4.0.tar.gz
$ cd subversion-1.4.0
$ ./configure \
    --with-neon=/usr/local \
    --with-apxs=/usr/local/apache2/bin/apxs \
    --with-apr=/usr/local/apache2/bin/apr-1-config \
    --with-apr-util=/usr/local/apache2/bin/apu-1-config \
    --with-ssl \
    --with-zlib \
    --with-berkeley-db
[snip]
$ make
[snip]
cd subversion/svn && /bin/sh /home/kgeorge/subversion-1.4.0/libtool
--tag=CC --silent --mode=link gcc  -g -O2  -g -O2 -pthread  -DNEON_ZLIB
-DNEON_SSL  -L/usr/local/lib  -rpath /usr/local/lib -o svn  add-cmd.o
blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o copy-cmd.o
delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o
list-cmd.o lock-cmd.o log-cmd.o main.o merge-cmd.o mkdir-cmd.o move-cmd.o
notify.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o
propset-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o
switch-cmd.o unlock-cmd.o update-cmd.o util.o
../../subversion/libsvn_client/libsvn_client-1.la
../../subversion/libsvn_wc/libsvn_wc-1.la
../../subversion/libsvn_ra/libsvn_ra-1.la
../../subversion/libsvn_delta/libsvn_delta-1.la
../../subversion/libsvn_diff/libsvn_diff-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la
/usr/local/apache2/lib/libaprutil-1.la -lldap  -ldb -lexpat
/usr/local/apache2/lib/libapr-1.la -lpthread /usr/local/lib/libneon.la -lz
/home/kgeorge/subversion-1.4.0/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so.0.0:
warning: strcpy() is almost always misused, please use strlcpy()
/home/kgeorge/subversion-1.4.0/subversion/libsvn_subr/.libs/libsvn_subr-1.so.0.0:
warning: sprintf() is often misused, please use snprintf()
/usr/local/apache2/lib/libaprutil-1.so.2.7: warning: strcat() is almost
always misused, please use strlcat()
blame-cmd.o(.text+0x458): In function `svn_cl__blame':
subversion/svn/blame-cmd.c:285: undefined reference to `svn_client_blame3'
copy-cmd.o(.text+0x12a): In function `svn_cl__copy':
subversion/svn/copy-cmd.c:115: undefined reference to `svn_client_copy3'
copy-cmd.o(.text+0x1d4):subversion/svn/copy-cmd.c:127: undefined reference
to `svn_client_copy3'
diff-cmd.o(.text+0x342): In function `svn_cl(double, int, float, float)':
subversion/svn/diff-cmd.c:248: undefined reference to
`svn_client_diff_summarize'
diff-cmd.o(.text+0x42b):subversion/svn/diff-cmd.c:291: undefined reference
to `svn_client_diff_summarize_peg'
list-cmd.o(.text+0x64d): In function `svn_cl__list':
subversion/svn/list-cmd.c:300: undefined reference to `svn_client_list'
log-cmd.o(.text+0x609): In function `svn_cl__log':
subversion/svn/log-cmd.c:493: undefined reference to `svn_client_log3'
log-cmd.o(.text+0x68d):subversion/svn/log-cmd.c:524: undefined reference
to `svn_client_log3'
merge-cmd.o(.text+0x147): In function `svn_cl__merge':
subversion/svn/merge-cmd.c:162: undefined reference to
`svn_client_merge_peg2'
merge-cmd.o(.text+0x193):subversion/svn/merge-cmd.c:177: undefined
reference to `svn_client_merge2'
move-cmd.o(.text+0xcd): In function `svn_cl__move':
subversion/svn/move-cmd.c:75: undefined reference to `svn_client_move4'
move-cmd.o(.text+0x17f):subversion/svn/move-cmd.c:86: undefined reference
to `svn_client_move4'
collect2: ld returned 1 exit status
*** Error code 1
Stop in /home/kgeorge/subversion-1.4.0 (line 504 of ./build-outputs.mk).
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 17 21:56:04 2006

This is an archived mail posted to the Subversion Dev mailing list.