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

Problem with libtool while compiling

From: Antonio Nó Rodríguez <anorod_at_gmail.com>
Date: Sat, 30 Aug 2008 11:49:57 +0200

Hello users,

This week I decided to update to subversion 1.5.1. My problem is when
I run "make" and it stops here:

cd subversion/mod_dav_svn && /bin/sh /usr/src/subversion/1.5.1/otro2/
subversion-1.5.1/libtool --tag=CC --silent --mode=link gcc -g -O2 -g
-O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -L/usr/local/share/
openssl/0.9.8h/lib -L/usr/local/share/berkeleydb/4.7.25//lib -L/usr/
local/share/httpd/2.0.63/lib -rpath -avoid-version -module -o
mod_dav_svn.la activity.lo authz.lo deadprops.lo liveprops.lo lock.lo
merge.lo mirror.lo mod_dav_svn.lo reports/dated-rev.lo reports/file-
revs.lo reports/get-location-segments.lo reports/get-locations.lo
reports/get-locks.lo reports/log.lo reports/mergeinfo.lo reports/
replay.lo reports/update.lo repos.lo util.lo version.lo ../../
subversion/libsvn_repos/libsvn_repos-1.la ../../subversion/libsvn_fs/
libsvn_fs-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la ../../
subversion/libsvn_subr/libsvn_subr-1.la
libtool: link: only absolute run-paths are allowed
make: *** [subversion/mod_dav_svn/mod_dav_svn.la] Error 1
servidor:/usr/src/subversion/1.5.1/otro2/subversion-1.5.1#

I've tried:
-> Run ./configure with all combinations of --enable-shared, --disable-
shared, --enable-static --disable-static
-> Compile libtool 2.2.4 and use it.
-> Run autogen.sh
-> Compile neon and everything else independent.
-> Edit build-outputs.mk to take away the "../../" and put absolute
paths.
-> Use tar.gz subversion and subversion-deps instead of looking for
the dependencies.

The only idea I have now is with a warning I get at the end of the ./
configure:
-> config.status: WARNING: 'Makefile.in' seems to ignore the --
datarootdir setting

But I have the correct versions listed in the INSTALL readme:
-> autoconf (GNU Autoconf) 2.61
-> gcc (Debian 4.3.1-9) 4.3.1
-> GNU Make 3.81

The configure I use is:
./configure --prefix=/usr/local/share/svn/1.5.1 --with-apr=/usr/local/
share/httpd/2.0.63/ --with-apr-util=/usr/local/share/httpd/2.0.63 --
with-ssl --with-apache=/usr/src/httpd/2.0/httpd-2.0.63 | tee
Configure.txt

And two exported variables of the openssl path:
-> export CPPFLAGS=-I/usr/local/share/openssl/0.9.8h/include/
-> export LDFLAGS=-L/usr/local/share/openssl/0.9.8h/lib

Please, any ideas?

Here are the results of configure with the --disable-shared

configure: Configuring Subversion 1.5.1
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for static Apache module support... yes - Apache 2.0.x
checking httpd version... recent enough
checking for Apache module support via DSO through APXS... no
configure: Apache Portable Runtime (APR) library configuration
checking for APR... yes
checking APR version... 0.9.17
configure: Apache Portable Runtime Utility (APRUTIL) library
configuration
checking for APR-util... yes
checking APR-UTIL version... 0.9.15
configure: checking neon library
checking neon library version... 0.28.1
Using neon found in source directory.
configure: configuring package in neon now
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
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 for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
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... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for library containing strerror... none required
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for off_t... yes
checking for uname... Linux
checking whether make sets $(MAKE)... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for gcc -Wformat -Werror sanity... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for size_t... (cached) yes
checking size of size_t... 4
checking how to print size_t... u
checking for off_t... (cached) yes
checking size of off_t... 4
checking how to print off_t... ld
checking for ssize_t... yes
checking size of ssize_t... 4
checking how to print ssize_t... d
checking for time_t... yes
checking size of time_t... 4
checking how to print time_t... ld
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for stdint.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for pipe... yes
checking for isatty... yes
checking for usleep... yes
checking for shutdown... yes
checking for setlocale... yes
checking whether byte ordering is bigendian... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for sys/time.h... (cached) yes
checking for limits.h... yes
checking for sys/select.h... yes
checking for arpa/inet.h... yes
checking for libintl.h... yes
checking for signal.h... yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for netdb.h... yes
checking for sys/poll.h... yes
checking for sys/limits.h... no
checking for fcntl.h... yes
checking for iconv.h... yes
checking for timezone global... yes
checking for off64_t... yes
checking for off64_t... (cached) yes
checking size of off64_t... 8
checking how to print off64_t... lld
checking for strtoll... yes
checking for lseek64... yes
checking for fstat64... yes
configure: LFS (large file) support enabled
checking for strcasecmp... yes
checking for signal... yes
checking for setvbuf... yes
checking for setsockopt... yes
checking for stpcpy... yes
checking for poll... yes
checking for fcntl... yes
checking for getsockopt... yes
checking whether stpcpy is declared... yes
checking for library containing socket... none needed
checking for library containing getaddrinfo... none needed
checking for gai_strerror... yes
checking for getnameinfo... yes
checking for inet_ntop... yes
configure: IPv6 support is enabled
checking for working AI_ADDRCONFIG... yes
checking for socklen_t... yes
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
configure: zlib support enabled, using -lz
checking whether to enable ACL support in neon... yes
checking for pkg-config... /usr/bin/pkg-config
checking for openssl pkg-config data... no
checking for library containing RSA_new... -lcrypto
checking for library containing SSL_library_init... -lssl -ldl
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking OpenSSL version is >= 0.9.7... yes
configure: OpenSSL >= 0.9.7; EGD support not needed in neon
configure: SSL support enabled, using OpenSSL (0.9.7 or later)
checking for CRYPTO_set_idptr_callback... no
configure: Thread-safe SSL not supported
configure: SOCKSv5 support is not enabled
checking for krb5-config... none
configure: WebDAV support is enabled
checking expat.h usability... no
checking expat.h presence... no
checking for expat.h... no
checking for xml2-config... xml2-config
checking libxml/xmlversion.h usability... yes
checking libxml/xmlversion.h presence... yes
checking for libxml/xmlversion.h... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: XML parser used: libxml 2.6.32
checking for library containing bindtextdomain... none needed
checking for bind_textdomain_codeset... yes
configure: Internationalization support enabled
configure: debugging is enabled
checking for openssl... /usr/bin/openssl
checking for certutil... notfound
checking for pk12util... notfound
checking for pkg-config... (cached) /usr/bin/pkg-config
configure: creating ./config.status
config.status: creating neon-config
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating neon.pc
config.status: creating test/makekeys
config.status: creating config.h
configure: Configured to build neon 0.28.1:

   Install prefix: /usr/local/share/svn/1.5.1
   Compiler: gcc
   XML Parser: libxml 2.6.32
   SSL library: SSL support enabled, using OpenSSL (0.9.7 or later)
   zlib support: zlib support enabled, using -lz
   Build libraries: Shared=no, Static=yes

neon configured properly
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
configuring libtool now
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
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 for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into
programs... immediate
appending configuration tag "F77" to libtool
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
checking for availability of Berkeley DB... yes
checking whether to look for SASL... yes
configure: Looking in default locations
checking sasl/sasl.h usability... no
checking sasl/sasl.h presence... no
checking for sasl/sasl.h... no
checking for availability of Cyrus SASL v2... no
checking for Mac OS KeyChain Services... no
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for library containing bindtextdomain... none required
checking for bind_textdomain_codeset... yes
checking if we are using GNU gettext... yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for symlink... yes
checking for readlink... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking for python... /usr/bin/python
checking for JDK... configure: WARNING: no JNI header files found.
no
checking for perl... /usr/bin/perl
checking for ruby... /usr/bin/ruby
checking for rb_hash_foreach()... yes
checking for rdoc... none
checking for Ruby major version... 1
checking for Ruby minor version... 9
checking for swig... none
configure: Configuring python swig binding
checking for Python includes... -I/usr/include/python2.5
checking for compiling Python extensions... gcc -pthread -fno-strict-
aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC
checking for linking Python extensions... gcc -pthread -shared -Wl,-O1
-Wl,-Bsymbolic-functions
checking for linking Python libraries... -Wl,-O1 -Wl,-Bsymbolic-
functions
checking for apr_int64_t Python/C API format string... L
checking perl version... 5010000
configure: Configuring Ruby SWIG binding
checking for Ruby include path... -I. -I/usr/lib/ruby/1.9.0/i486-linux
checking how to compile Ruby extensions... cc -fno-strict-aliasing -g -
g -O2 -O2 -g -Wall -Wno-parentheses -fPIC
checking how to link Ruby extensions... cc -shared -shrext .so
checking for linking Ruby libraries... -lruby1.9
checking where to install Ruby scripts... /usr/local/lib/site_ruby/1.9.0
checking where to install Ruby extensions... /usr/local/lib/site_ruby/
1.9.0/i486-linux
checking how to use output level for Ruby bindings tests... normal
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --
datarootdir setting
config.status: creating tools/backup/hot-backup.py
config.status: creating contrib/client-side/svn_load_dirs/
svn_load_dirs.pl
config.status: creating contrib/client-side/svncopy/svncopy.pl
config.status: creating contrib/client-side/svncopy/testsvncopy.pl
config.status: creating tools/hook-scripts/commit-access-control.pl
config.status: creating tools/hook-scripts/commit-email.pl
config.status: creating subversion/bindings/swig/perl/native/Makefile.PL
config.status: creating packages/solaris/pkginfo
config.status: creating subversion/svn_private_config.h
config.status: executing mkdir-init commands
/usr/bin/install -c -d subversion/bindings/javahl/classes
/usr/bin/install -c -d subversion/bindings/javahl/include

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-30 11:50:22 CEST

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.