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

Re: Issues compiling SVN 1.7.5 on Solaris Sparc 9

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 17 Aug 2012 12:21:12 +0100

Knowing how to make Subversion's build use Neon is documented in the
INSTALL file in the root of the subversion source tree (and tarball).

As to the rest: read up on how shared libraries (.so / .dll) work in C.
You used a symbol at compile-time that could not be resolved at link
time. The easier fix was to disable using of that symbol at compile
time; another fix would have been to fix LDFLAGS to make the linker find
the library defining that symbol. (That might have required installing
that library if it wasn't already installed.)

Or, you could hire a dev team (maybe just half a person to start with). :-)

Ferreira, Matthew wrote on Fri, Aug 17, 2012 at 05:07:12 -0400:
> I appreciate your help...if you (or anyone else) has a tip on where I could readup on this stuff so I could try and figure it out, I'd read up on it...I've never had to compile software from source before, typically I had a development team that handled that for me in previous positions
>
> -----Original Message-----
> From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> Sent: Friday, August 17, 2012 4:52 AM
> To: Ferreira, Matthew
> Cc: users_at_subversion.apache.org
> Subject: Re: Issues compiling SVN 1.7.5 on Solaris Sparc 9
>
> Daniel Shahaf wrote on Thu, Aug 16, 2012 at 23:58:34 +0100:
> > This is really getting in the realm of stuff you should figure out
> > yourself, but:
> >
> > 1. Pass --disable-nls to neon's configure too
> >
> > 2. Put neon as a SIBLING to subversion/ and build/ if you want neon to
>
> This should have read:
>
> 2. Put neon as a SIBLING to subversion/ and build/ if you want svn's configure+make+'make install' to
>
> > build it. Alternatively, build+install it yourself and let svn's
> > configure find it (or help it by passing --with-neon)
> >
> > Ferreira, Matthew wrote on Thu, Aug 16, 2012 at 10:51:04 -0400:
> > > Ok, my developers wanted the neon libs, so when I tried to compile
> > > the source from scratch with the neon libs installed (Downloaded the
> > > neon source,di configure, make make install) and when I recompile
> > > the svn source, I get get the following in my make (I ran
> > > ./configure --disable-nls and place the neon source in
> > > subversion/neon)
> > >
> > > /bin/bash /tmp/svn_src/subversion-1.7.5/libtool --tag=CC --silent --mode=compile gcc -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -pthreads -D_LARGEFILE64_SOURCE -DNE_LFS -I./subversion/include -I./subversion -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/include/neon -I/tmp/svn_src/subversion-1.7.5/sqlite-amalgamation -o subversion/svn/util.lo -c subversion/svn/util.c
> > > cd subversion/svn && /bin/bash /tmp/svn_src/subversion-1.7.5/libtool --tag=CC --silent --mode=link gcc -g -O2 -pthreads -D_LARGEFILE64_SOURCE -DNE_LFS -rpath /usr/local/lib -o svn add-cmd.lo blame-cmd.lo cat-cmd.lo changelist-cmd.lo checkout-cmd.lo cleanup-cmd.lo commit-cmd.lo conflict-callbacks.lo copy-cmd.lo delete-cmd.lo diff-cmd.lo export-cmd.lo help-cmd.lo import-cmd.lo info-cmd.lo list-cmd.lo lock-cmd.lo log-cmd.lo main.lo merge-cmd.lo mergeinfo-cmd.lo mkdir-cmd.lo move-cmd.lo notify.lo patch-cmd.lo propdel-cmd.lo propedit-cmd.lo propget-cmd.lo proplist-cmd.lo props.lo propset-cmd.lo relocate-cmd.lo resolve-cmd.lo resolved-cmd.lo revert-cmd.lo status-cmd.lo status.lo switch-cmd.lo tree-conflicts.lo unlock-cmd.lo update-cmd.lo upgrade-cmd.lo util.lo ../../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 -L/usr/local/apache2/lib -laprutil-1 -L/usr/local/apache2/lib -lapr-1 -L/usr/local/lib -lneon -lnsl -lsocket -lz -lexpat -lsocket
> > > ld: warning: file ../../subversion/libsvn_wc/.libs/libsvn_wc-1.so:
> > > linked to
> > > /tmp/svn_src/subversion-1.7.5/subversion/libsvn_wc/.libs/libsvn_wc-1
> > > .so: attempted multiple inclusion of file
> > > ld: warning: file ../../subversion/libsvn_ra/.libs/libsvn_ra-1.so:
> > > linked to
> > > /tmp/svn_src/subversion-1.7.5/subversion/libsvn_ra/.libs/libsvn_ra-1
> > > .so: attempted multiple inclusion of file
> > > ld: warning: file
> > > ../../subversion/libsvn_delta/.libs/libsvn_delta-1.so: linked to
> > > /tmp/svn_src/subversion-1.7.5/subversion/libsvn_delta/.libs/libsvn_d
> > > elta-1.so: attempted multiple inclusion of file
> > > ld: warning: file
> > > ../../subversion/libsvn_diff/.libs/libsvn_diff-1.so: linked to
> > > /tmp/svn_src/subversion-1.7.5/subversion/libsvn_diff/.libs/libsvn_di
> > > ff-1.so: attempted multiple inclusion of file
> > > ld: warning: file ../../subversion/libsvn_subr/.libs/libsvn_subr-1.so: linked to /tmp/svn_src/subversion-1.7.5/subversion/libsvn_subr/.libs/libsvn_subr-1.so: attempted multiple inclusion of file
> > > Undefined first referenced
> > > symbol in file
> > > libintl_dgettext /tmp/svn_src/subversion-1.7.5/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so
> > > ld: fatal: Symbol referencing errors. No output written to .libs/svn
> > > collect2: ld returned 1 exit status
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `subversion/svn/svn'
> > >
> > > -----Original Message-----
> > > From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> > > Sent: Wednesday, August 15, 2012 9:12 AM
> > > To: Ferreira, Matthew
> > > Cc: users_at_subversion.apache.org
> > > Subject: Re: Issues compiling SVN 1.7.5 on Solaris Sparc 9
> > >
> > > Build from a tarball, not from a tag. The latter requires Python.
> > >
> > > Ferreira, Matthew wrote on Wed, Aug 15, 2012 at 08:59:01 -0400:
> > > > Thx....did that , ran in to some errors...realised it was half way through the previous compile, so started fresh, remade config with flags, ran the make process, hit the following:
> > > >
> > > > /bin/bash /tmp/svn_src/subversion-1.7.5/libtool --tag=CC --silent --mode=compile gcc -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -pthreads -I./subversion/include -I./subversion -I/usr/local/apache2/include -I/usr/local/apache2/include -I/tmp/svn_src/subversion-1.7.5/sqlite-amalgamation -o subversion/libsvn_fs_fs/lock.lo -c subversion/libsvn_fs_fs/lock.c
> > > > none ./build/transform_sql.py
> > > > subversion/libsvn_fs_fs/rep-cache-db.sql
> > > > ./subversion/libsvn_fs_fs/rep-cache-db.h
> > > > bash: none: command not found
> > > > *** Error code 127
> > > > make: Fatal error: Command failed for target `subversion/libsvn_fs_fs/rep-cache-db.h'
> > > >
> > > > -----Original Message-----
> > > > From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> > > > Sent: Tuesday, August 14, 2012 4:14 PM
> > > > To: Ferreira, Matthew
> > > > Cc: users_at_subversion.apache.org
> > > > Subject: Re: Issues compiling SVN 1.7.5 on Solaris Sparc 9
> > > >
> > > > Add --disable-nls to your configure flags.
> > > >
> > > > Ferreira, Matthew wrote on Tue, Aug 14, 2012 at 14:24:18 -0400:
> > > > > ld: warning: file ../../subversion/libsvn_subr/.libs/libsvn_subr-1.so: linked to /tmp/svn_src/subversion-1.7.5/subversion/libsvn_subr/.libs/libsvn_subr-1.so: attempted multiple inclusion of file
> > > > > Undefined first referenced
> > > > > symbol in file
> > > > > libintl_bind_textdomain_codeset /tmp/svn_src/subversion-1.7.5/subversion/libsvn_subr/.libs/libsvn_subr-1.so
> > > > > libintl_dngettext .libs/info-cmd.o
> > > > > libintl_bindtextdomain /tmp/svn_src/subversion-1.7.5/subversion/libsvn_subr/.libs/libsvn_subr-1.so
> > > > > libintl_dgettext .libs/add-cmd.o
> > > > > ld: fatal: Symbol referencing errors. No output written to
> > > > > .libs/svn
> > > > > collect2: ld returned 1 exit status
> > > > > *** Error code 1
> > > > > make: Fatal error: Command failed for target
> > > > > `subversion/svn/svn'I am not subscribed and would appreciate a
> > > > > direct cc
> > > >
> > > > This e-mail is the property of NaviSite, Inc. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited.
Received on 2012-08-17 13:21:57 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.