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

build problems

From: TeraStation <pieter.detroyer_at_gmail.com>
Date: Mon, 25 Feb 2008 10:29:04 +0100 (CET)

  Hello,

  I tried to build subversion on a clean (minimal) development system.
  Whatever I try, I end up with the build failing. I tried once with the dependenccy package installed,
  and once without this. Both failed, the same way.
  I include all the commands, untill failure, hereafter. I first built all dependencies, without problems.
  Everything is installed in /opt, apache is installed in /opt/apache2.
  I tried several versions of apache as well, but always i had the same issue.
  
 
  
  324 cd usr/local/src/zlib-1.2.3
  325 ./configure --shared --prefix=/opt/ --exec_prefix=/opt/bin --libdir=/opt/lib --includedir=/opt/include
  326 make
  327 make install
  328 cd ..
  329 cd openssl-0.9.8g
  375 ./config threads shared zlib-dynamic --prefix=/opt/ --openssldir=/opt/openssl
  377 make
  381 make install
  383 cd ..
  385 tar xzf wget-1.10.2.tar.gz
  386 cd wget-1.10.2
  397 ./configure --prefix=/opt
  398 make
  399 make install
  402 cd ../
  403 tar xzf Python-2.5.1.tgz
  404 cd Python-2.5.1
  408 ./configure --prefix=/opt --enable-shared
  409 make
  410 make install
  411 cd ..
  412 tar xzf httpd-2.2.8.tar.gz
  413 cd httpd-2.2.8
  414 ./configure --enable-mods-shared="most ssl dav" --disable-status --disable-userdir --prefix=/opt/apache2 --with-ssl=/opt/
  415 make && make install
  422 cd ..
  424 tar xzf neon-0.26.4.tar.gz
  425 cd neon-0.26.4
  428 ./configure CFLAGS='-I /opt/include -I /opt/apache2/include -I /opt/include/openssl' --with-expat --prefix=/opt --with-ssl --with-libs=/opt/ --enable-shared
  429 make && make install
  433 cd ..
  447 tar xjf subversion-1.4.6.tar.bz2
  448 cd subversion-1.4.6
  465 ./autogen.sh
  466 ./configure CFLAGS='-I /opt/include -I /opt/apache2/include' --prefix=/opt --with-apxs=/opt/apache2/bin/apxs --with-apr-util=/opt/apache2/bin/apr-1-config --with-apu=/opt/apache2/bin/apu-1-config --with-neon=/opt/
  467 make
  
  The error that stopped the build was:
cd subversion/svn && /bin/sh /usr/local/src/subversion-1.4.6/libtool --tag=CC --silent --mode=link gcc -I /opt/include -I /opt/apache2/include -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -rpath /opt/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 /opt/apache2/lib/libapr-1.la -lrt -lcrypt -lpthread -ldl /opt/apache2/lib/libapr
 -1.la -lrt -lcrypt -lpthread -ldl /opt/lib/libneon.la -lz
/usr/local/src/subversion-1.4.6/subversion/libsvn_subr/.libs/libsvn_subr-1.so: undefined reference to `apr_xlate_open'
/usr/local/src/subversion-1.4.6/subversion/libsvn_subr/.libs/libsvn_subr-1.so: undefined reference to `apr_uuid_format'
/usr/local/src/subversion-1.4.6/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so: undefined reference to `apr_md5_final'
/usr/local/src/subversion-1.4.6/subversion/libsvn_ra_dav/.libs/libsvn_ra_dav-1.so: undefined reference to `apr_xml_quote_string'
/usr/local/src/subversion-1.4.6/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so: undefined reference to `apr_md5'
/usr/local/src/subversion-1.4.6/subversion/libsvn_subr/.libs/libsvn_subr-1.so: undefined reference to `apr_xlate_conv_buffer'
/usr/local/src/subversion-1.4.6/subversion/libsvn_subr/.libs/libsvn_subr-1.so: undefined reference to `apr_uuid_get'
/usr/local/src/subversion-1.4.6/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so: undefined reference to `apr_md5_init'
/usr/local/src/subversion-1.4.6/subversion/libsvn_fs_fs/.libs/libsvn_fs_fs-1.so: undefined reference to `apr_md5_update'
/usr/local/src/subversion-1.4.6/subversion/libsvn_ra_svn/.libs/libsvn_ra_svn-1.so: undefined reference to `apr_uri_parse'
collect2: ld returned 1 exit status
make: *** [subversion/svn/svn] Error 1

This is what is in the environment defined:
LD_LIBRARY_PATH=/opt/apache2/lib:/opt/lib:/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/lib/uams
LD_INCLUDE_PATH=/opt/apache2/include:/opt/include:/usr/include
C_INCLUDE_PATH=/opt/apache2/include:/opt/include:/usr/include:/usr/local/include:/usr/local/BerkeleyDB.4.2/include
LD_INCLUDE_PATH=/opt/apache2/include:/opt/include:/usr/include
LIBRARY_PATH=/opt/apache2/lib:/opt/lib:/usr/lib:/usr/local/lib:/usr/local/BerkeleyDB.4.2/lib:/usr/lib/uams

this is my ld.so.conf:
sh-2.05b# cat /etc/ld.so.conf
/opt/apache2/lib
/opt/lib
/usr/local/lib
/usr/local/BerkeleyDB.4.2/lib
/usr/lib/uams

I'm not new to building my own stuff, but I never needed much troubleshooting,
 so I don't know much about possible misconfigurations on my system, nor about the influence of environment parameters.

I would really appreciate any hint on where to go from here...

Thanks in advance.

Pieter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-25 10:29:26 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.