Hi,
I want to compile SVN 1.4.2 source or 1.4.0 source but i've a problem during
make that it doesn't exist in my 1.3.1 installation. My configure setup is:
# My zlib library is in /usr/local/lib/hpux32
export LDFLAGS=-L/usr/local/lib/hpux32
./configure --prefix=/home/cvs/subversion/1.4.2
The configure script generates a libtool file wich contains:
# Flag to hardcode $libdir into a binary during linking.
# This must work even if $libdir does not exist.
hardcode_libdir_flag_spec="\${wl}+b \${wl}\$libdir"
# If ld is used when linking, flag to hardcode $libdir into
# a binary during linking. This must work even if $libdir does
# not exist.
hardcode_libdir_flag_spec_ld="+b \$libdir"
The make command fails with:
gcc: +b: No such file or directory
gcc: /home/cvs/subversion/src/subversion-1.4.2/apr-util/.libs:/home/cvs/subversion/1.4.2/lib:
No such file or directory
I've run the especific command that fails with debug option:
cd subversion/libsvn_subr && /bin/sh
/home/cvs/subversion/src/subversion-1.4.2/libtool --debug --tag=CC --silent
--mode=link gcc -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE
-DNE_LFS -L/usr/local/lib/hpux32 -L/home/cvs/subver
sion/src/subversion-1.4.2/apr-util/xml/expat/lib -rpath
/home/cvs/subversion/1.4.2/lib -o libsvn_subr-1.la auth.lo cmd
line.lo compat.lo config.lo config_auth.lo config_file.lo config_win.lo
constructors.lo ctype.lo date.lo dso.lo error.lo
hash.lo io.lo kitchensink.lo lock.lo md5.lo nls.lo opt.lo path.lo
pool.lo prompt.lo quoprint.lo simple_providers.lo sor
ts.lo ssl_client_cert_providers.lo ssl_client_cert_pw_providers.lo
ssl_server_trust_providers.lo stream.lo subst.lo svn_
base64.lo svn_string.lo target.lo time.lo user.lo username_providers.lo
utf.lo utf_validate.lo validate.lo version.lo xm
l.lo /home/cvs/subversion/src/subversion-1.4.2/apr-util/libaprutil-0.la/home/cvs/subversion/src/subversion-
1.4.2/apr-ut
il/xml/expat/l
and generates:
+ eval gcc -shared -Wl,+h -Wl,libsvn_subr-1.so.0 -Wl,+nodefaultrpath -o
.libs/libsvn_subr-1.so.0.0 .libs/auth.o .libs/cmdline.o
.libs/compat.o .libs/config.o .libs/config_auth.o .libs/config_file.o
.libs/config_win.o .libs/constructors.o .libs/ctype.o .libs/date.o
.libs/dso.o .libs/error.o .libs/hash.o .libs/io.o .libs/kitchensink.o
.libs/lock.o .libs/md5.o .libs/nls.o .libs/opt.o .libs/path.o .libs/pool.o
.libs/prompt.o .libs/quoprint.o .libs/simple_providers.o .libs/sorts.o
.libs/ssl_client_cert_providers.o .libs/ssl_client_cert_pw_providers.o
.libs/ssl_server_trust_providers.o .libs/stream.o .libs/subst.o
.libs/svn_base64.o .libs/svn_string.o .libs/target.o .libs/time.o
.libs/user.o .libs/username_providers.o .libs/utf.o .libs/utf_validate.o
.libs/validate.o .libs/version.o .libs/xml.o +b
/home/cvs/subversion/src/subversion-1.4.2/apr-util/.libs:/home/cvs/subversion/1.4.2/lib
-L/usr/local/lib/hpux32
-L/home/cvs/subversion/src/subversion-1.4.2/apr-util/xml/expat/lib
/home/cvs/subversion/src/subversion-1.4.2/apr-util/.libs/libaprutil-0.so-lc
-pthread
+ gcc -shared -Wl,+h -Wl,libsvn_subr-1.so.0 -Wl,+nodefaultrpath -o
.libs/libsvn_subr-1.so.0.0 .libs/auth.o .libs/cmdline.o .libs/compat.o
.libs/config.o .libs/config_auth.o .libs/config_file.o .libs/config_win.o
.libs/constructors.o .libs/ctype.o .libs/date.o .libs/dso.o .libs/error.o
.libs/hash.o .libs/io.o .libs/kitchensink.o .libs/lock.o .libs/md5.o
.libs/nls.o .libs/opt.o .libs/path.o .libs/pool.o .libs/prompt.o
.libs/quoprint.o .libs/simple_providers.o .libs/sorts.o
.libs/ssl_client_cert_providers.o .libs/ssl_client_cert_pw_providers.o
.libs/ssl_server_trust_providers.o .libs/stream.o .libs/subst.o
.libs/svn_base64.o .libs/svn_string.o .libs/target.o .libs/time.o
.libs/user.o .libs/username_providers.o .libs/utf.o .libs/utf_validate.o
.libs/validate.o .libs/version.o .libs/xml.o +b
/home/cvs/subversion/src/subversion-1.4.2/apr-util/.libs:/home/cvs/subversion/1.4.2/lib
-L/usr/local/lib/hpux32
-L/home/cvs/subversion/src/subversion-1.4.2/apr-util/xml/expat/lib
/home/cvs/subversion/src/subversion-1.4.2/apr-util/.libs/libaprutil-0.so -lc
-pthread
gcc: +b: No such file or directory
gcc: /home/cvs/subversion/src/subversion-1.4.2/apr-util/.libs:/home/cvs/subversion/1.4.2/lib:
No such file or directory
I've solved the problem changing manually the libtool file generated after
configuration. Simply set:
hardcode_libdir_flag_spec_ld="\${wl}+b \${wl}\$libdir"
Do you think this is a bug or perhaps i've configured incorrectly something?
Some additional info:
# The build system.
build_alias=
build=ia64-hp-hpux11.23
build_os=hpux11.23
#gcc --v
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: ../gcc/configure
Thread model: posix
gcc version 4.1.1
Thanks in advance.
Received on Tue Jan 16 15:38:49 2007