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

Re: Error building Subversion 1.6.9 on Solaris 8

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 27 Jan 2010 15:32:35 +0100

On Wed, Jan 27, 2010 at 01:39:59PM +0000, Giulio Troccoli wrote:
> I'm trying to build 1.6.9 on a Solaris 8 platform.
> I have successfully built and installed (locally in /user/dev/local, for now) the dependencies: apr, apr-util, neon, expat and zlib.
> I configured the build with
> CC="/opt/SUNWspro/bin/cc" \
> CPPFLAGS="-I/user/dev/local/include" \
> LDFLAGS="-L/user/dev/local/lib" \
> ./configure \
> --prefix=/user/dev/local \
> --disable-shared \
> --without-ssl \
> --without-berkeley-db \
> --with-apr=/user/dev/local/bin \
> --with-apr-util=/user/dev/local/bin \
> --without-apxs \
> --with-neon=/user/dev/local \
> --without-serf
> This ran without errors. When I run make though I have this error
> cd subversion/svn && /usr/local/bin/bash /user/dev/subversion-1.6.9/libtool --tag=CC --silent --mode=link /opt/SUNWspro/bin/cc -g -g -mt -D_LARGEFILE64_SOURCE -DNE_LFS -L/user/dev/local/lib -L/user/dev/local/lib -rpath /user/dev/local/lib -o svn add-cmd.o blame-cmd.o cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o conflict-callbacks.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o list-cmd.o lock-cmd.o log-cmd.o main.o merge-cmd.o mergeinfo-cmd.o mkdir-cmd.o move-cmd.o notify.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o tree-conflicts.o unlock-cmd.o update-cmd.o util.o ../../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_sub
> r-1.la /user/dev/local/lib/libaprutil-1.la -lexpat /user/dev/local/lib/libapr-1.la -lrt -lsocket -lnsl -lpthread -ldl -L/user/dev/local/lib -L/user/dev/local/lib -lneon -lnsl -lsocket -lz -lexpat -lsocket
> ild: (undefined symbol) dngettext -- referenced in the text segment of log-cmd.o
> ild: (undefined symbol) dngettext -- referenced in the text segment of info-cmd.o
> make: *** [subversion/svn/svn] Error 5

Which gettext implementation is Subversion trying to link to?

Try installing GNU gettext, and make sure the corresponding
directory is in LDFLAGS (-L/usr/local/lib for instance) *before*
the directory which contains the native gettext provided by Solaris.
You can acheive this e.g. by putting the directory into the LDFLAGS
environment variable when running the configure script:

  env LDFLAGS="-L/usr/local/lib" ./configure --prefix= ... etc.

Received on 2010-01-27 15:33:12 CET

This is an archived mail posted to the Subversion Users mailing list.