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

[PATCH] Fix buiding in separte directory

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Tue, 08 Jul 2008 13:26:38 +0530

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I used to build subversion trunk in a separate directory inside the source tree
called 'virtual-neon' with the following command line options:

<snip>
stylesen_at_stylesen:~/subversion-dev/trunk/virtual-neon$ ../configure
- --prefix=/home/stylesen/subversion-dev/builds/pure-trunk-neon
- --enable-maintainer-mode --with-ssl --with-neon=/usr/local/neon-0.28.2
- --with-apxs=/usr/bin/apxs2 --disable-mod-activation
- --with-jdk=/usr/lib/jvm/java-1.5.0-sun
</snip>

This started breaking with the following error from yesterday (sorry for not
giving the exact revision):

<snip>
/home/stylesen/subversion-dev/trunk/virtual-neon/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so.0:
undefined reference to `gss_import_name'
/home/stylesen/subversion-dev/trunk/virtual-neon/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so.0:
undefined reference to `gss_release_name'
/home/stylesen/subversion-dev/trunk/virtual-neon/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so.0:
undefined reference to `gss_delete_sec_context'
/home/stylesen/subversion-dev/trunk/virtual-neon/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so.0:
undefined reference to `gss_display_status'
/home/stylesen/subversion-dev/trunk/virtual-neon/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so.0:
undefined reference to `gss_release_buffer'
/home/stylesen/subversion-dev/trunk/virtual-neon/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so.0:
undefined reference to `gss_init_sec_context'
/home/stylesen/subversion-dev/trunk/virtual-neon/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so.0:
undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
collect2: ld returned 1 exit status
make: *** [subversion/svnlook/svnlook] Error 1
</snip>

The attached patch fixes this for me, where I ve added a dependency of neon for
svnlook, this helps me in building trunk, which was otherwise impossible with
my repeated attempts.

[[[
Fix building in separate directory.

* build.conf
  (svnlook): Add neon dependency for svnlook libs.

Patch by: stylesen
]]]

Thank You.
- --
Senthil Kumaran S
http://www.stylesen.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIcx209o1G+2zNQDgRAsFCAKCZ7S60Ck6dFmm9dxghpvsHxI4bbACeIUu2
wD935JsJO5TDa5kTVy4Ft1E=
=i7nr
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-07-08 09:57:50 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.