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

subversion problems on Solaris

From: Luke A. Kanies <luke_at_madstop.com>
Date: 2004-04-07 17:25:30 CEST

Hi,

I'm compiling subversion 1.0.0 on Solaris and I'm having some problems,
most of which seem to have already been encountered but apparently not
solved. This is all Solaris 8 on x86.

The first problem that I had is that the tarballs available for download
are not understood by the Solaris; I had to untar on a linux box. I tried
it with both the gzip and bzip2 archives, and I verified their
authenticity with MD5. Not an insurmountable problem -- I'm sure
installing gtar would allow me past it -- but still a problem.

The next problem I have is related to pthreads in some way. When I first
try to compile I get this:

ld: warning: file ../../subversion/libsvn_fs/.libs/libsvn_fs-1.so: linked
to /sfw/build/subversion/1.0.0/subversion/libsvn_fs/.libs/libsvn_fs-1.so:
attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_delta/.libs/libsvn_delta-1.so:
linked to
/sfw/build/subversion/1.0.0/subversion/libsvn_delta/.libs/libsvn_delta-1.so:
attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_subr/.libs/libsvn_subr-1.so:
linked to
/sfw/build/subversion/1.0.0/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
attempted multiple inclusion of file
Undefined first referenced
 symbol in file
pthread_mutex_consistent_np /usr/local/lib/libapr-0.so
pthread_mutexattr_setrobust_np /usr/local/lib/libapr-0.so
ld: fatal: Symbol referencing errors. No output written to .libs/svnadmin
collect2: ld returned 1 exit status
make: *** [subversion/svnadmin/svnadmin] Error 1

That's using the following configure script:

export LDFLAGS='-pthreads'

./configure --with-apxs \
        --with-berkeley-db=/usr/local \
        --with-zlib \
        --with-ssl=/usr/local \
        --with-apr=/usr/local \
        --with-apu-util=/usr/local | tee config.log

When I change the LDFLAGS to '-lpthread' and reconfigure and remake I
still get the warnings about multiple inclusion but the undefined symbol
errors go away. If I then switch back to '-pthreads' and reconfigure and
remake everything works.

This is obviously wonky. I don't really know what's going on, but it
mostly works, so I'm not complaining too badly. The only problem now is
that I can't get SSL to work. The only output from configure that I can
find related to SSL is from neon:

configure: Configured to build neon 0.24.4:

  Install prefix: /usr/local
  Compiler: gcc
  XML Parser: libxml 2.6.7
  SSL library: No SSL support
  zlib support: found in -lz
  Build libraries: Shared=yes, Static=yes

Now run 'make' to compile the neon library.

If I cd into the neon directory and do 'configure --with-ssl=/usr/local'
manually I get ssl support, so it's able to find it but for some reason is
not being told to do so.

Although I could just use the svn server over SSH, apparently, I'd prefer
to have this all working over https, so I need SSL working.

Any help or pointers would be greatly appreciated. I'd be glad to include
the entire output from configure; I just didn't want to spam the list with
it right off the bat.

Thanks,
Luke

-- 
One of the Ten Commandments for Technicians
        (7) Work thou not on energized equipment, for if thou dost, thy
            fellow workers will surely buy beers for thy widow and
            console her in other ways.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 7 17:25:59 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.