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

0.37.0 build fails --with-ssl on Solaris 9

From: Andrew A. Raines <aaraines_at_pobox.com>
Date: 2004-02-17 19:57:47 CET

This build configuration is successful without --with-ssl:

   $ gcc --version | head -1
   gcc (GCC) 3.3.2
   $ uname -srm
   SunOS 5.9 sun4u
   $ openssl version
   OpenSSL 0.9.7c 30 Sep 2003
   $ more ../CONFIGURE_subversion-0.37.0
   #!/bin/sh

   SSL=/usr/local/ssl

   JAVA_HOME=/usr/local/java; export JAVA_HOME
   CPPFLAGS="-I$SSL/include"; export CPPFLAGS
   LDFLAGS="-L$SSL/lib -R$SSL/lib"; export LDFLAGS

   ./configure \
     --prefix=/opt/pkgs/subversion-0.37.0 \
     --sysconfdir=/etc/subversion \
     --with-apxs=/opt/pkgs/httpd-2.0.48/bin/apxs \
     --with-ssl

But with the ssl directive, neon chokes:

   ------ making all in neon
   gmake[1]: Entering directory `/opt/src/subversion-0.37.0/neon'
   cd src && gmake
   gmake[2]: Entering directory `/opt/src/subversion-0.37.0/neon/src'
   [...]
   /bin/bash ../libtool --quiet --mode=link gcc -L/usr/local/ssl/lib
     -R/usr/local/ssl/lib -rpath /opt/pkgs/subversion-0.37.0/lib
     -version-info 24:4:0 -o libneon.la ne_request.lo ne_session.lo
     ne_basic.lo ne_string.lo ne_uri.lo ne_dates.lo ne_alloc.lo
     ne_md5.lo ne_utils.lo ne_socket.lo ne_auth.lo ne_cookies.lo
     ne_redirect.lo ne_compress.lo ne_207.lo ne_xml.lo ne_props.lo
     ne_locks.lo ne_acl.lo ne_openssl.lo -lssl -lcrypto -lnsl -lsocket
     -lz -L/usr/local/lib -R/usr/local/lib -lgssapi_krb5 -lkrb5
     -lk5crypto -lcom_err -lsocket -lnsl -lresolv -R/usr/lib -lxml2 -lz
     -lpthread -lm -lsocket -lnsl

   Text relocation remains referenced
       against symbol offset in file
   <unknown> 0xd44 /usr/local/ssl/lib/libssl.a(t1_enc.o)
   <unknown> 0xd48 /usr/local/ssl/lib/libssl.a(t1_enc.o)
   <unknown> 0xd4c /usr/local/ssl/lib/libssl.a(t1_enc.o)
   <unknown> 0xd50 /usr/local/ssl/lib/libssl.a(t1_enc.o)
   [symbol table dump with thousands of lines referencing various
   openssl libs]
   strncmp 0x15dc /usr/local/ssl/lib/libcrypto.a(v3_utl.o)
   strncmp 0x13d8 /usr/local/ssl/lib/libcrypto.a(pem_lib.o)
   ld: fatal: relocations remain against allocatable but non-writable sections
   collect2: ld returned 1 exit status
   gmake[2]: *** [libneon.la] Error 1
   gmake[2]: Leaving directory `/opt/src/subversion-0.37.0/neon/src'
   gmake[1]: *** [subdirs] Error 2
   gmake[1]: Leaving directory `/opt/src/subversion-0.37.0/neon'
   gmake: *** [external-all] Error 1

I'm running `gmake distclean' in between attempts.

As a workaround, I built neon-0.24.4 separately using ./configure
--with-ssl, installed it, then built subversion --with-neon. I
also had to fix neon-config, however, to include a `-Xlinker
-R${libdir}' in its reporting because of Solaris' strict linking
requirements.

-- 
    aaraines@pobox.com (Andrew A. Raines)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 17 20:00:38 2004

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.