You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Eric Hanchrow <of...@blarg.net> on 2008/06/07 20:29:30 UTC
rc9 Build failure on Hardy: cannot find the library `/usr/lib/libneon.la'
(Thanks to whomever straightened me out {for the 87th time} about
./autogen.sh). Now I've got a different problem:
I configured with
svn co ... live
mkdir build
cd build
../live/configure --prefix=/usr/local/stow/svn-1.5.x --without-sasl --disable-shared
that yielded, among other normal-looking output:
configure: checking neon library
checking for neon-config... /usr/bin/neon-config
checking neon library version... 0.27.2
and then did
make all
and saw
cd subversion/libsvn_ra_neon && /bin/bash /usr/local/src/svn/build/libtool --tag=CC --silent --mode=link gcc -g -O2 -pipe -Wall -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -rpath /usr/local/stow/svn-1.5.x/lib -o libsvn_ra_neon-1.la commit.lo fetch.lo file_revs.lo get_dated_rev.lo get_location_segments.lo get_locations.lo get_locks.lo lock.lo log.lo merge.lo mergeinfo.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-1.la /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/lib/libneon.la
libtool: link: cannot find the library `/usr/lib/libneon.la' or unhandled argument `/usr/lib/libneon.la'
There doesn't appear to be any Hardy package with that file (at least,
"apt-file search /usr/lib/libneon.la" yielded no hits). What might I be
doing wrong?
--
A DRE voting system is one of the simplest computer
applications you could imagine. It just adds by one.
-- Brit Williams, emeritus professor of computer science
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: rc9 Build failure on Hardy: cannot find the library
`/usr/lib/libneon.la'
Posted by Peter Samuelson <pe...@p12n.org>.
[Stefan Sperling]
> > pkg-config --libs neon
> > - what I suggested this time. Since this is the whole job of
> > pkg-config, it had better work correctly.
>
> > Unfortunately, one can't assume pkg-config is available on all Unix systems.
>
> Is this why you didn't explicitly suggest the patch to be
> applied? You didn't put [PATCH] in the subject...
Well, it was Eric Hanchrow who posted the patch, which I gave to him in
free-form prose over IRC.
But yeah, I probably would not have brought up the subject at all,
because I'm a bit tired of fighting this battle, defending the Debian
position that libtool is a necessary evil whose intrusion upon the
lives of ordinary packages should be minimized (thus, the very
existence of 'neon-config --la-file' is a layering violation), and that
pkg-config is ".la files done right".
Also, to account for the static linking case, you'd need to
conditionalize the pkg-config call:
pkg-config --libs neon
pkg-config --libs --static neon
Since I have no particular interest in either static linking for
libsvn, or platforms that don't have pkg-config, I am content to ship
my one-line, Debian-specific patch to build/ac-macros/neon.m4, and
leave it at that.
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: rc9 Build failure on Hardy: cannot find the library
`/usr/lib/libneon.la'
Posted by Stefan Sperling <st...@elego.de>.
On Sun, Jun 08, 2008 at 03:39:37PM -0500, Peter Samuelson wrote:
>
> [Stefan Sperling]
> > This change has already been applied in r30574 and was
> > reversed again in r30697 because it is wrong.
>
> No, that was a different fix. Compare:
>
> neon-config --la-file
> - status quo, makes subversion care about libtool internals
> neon-config --libs
> - proposed in April, Joe doesn't seem to like it even though he
> controls neon-config
Heh, the two of you seem to be good friends :)
> pkg-config --libs neon
> - what I suggested this time. Since this is the whole job of
> pkg-config, it had better work correctly.
Oh, I see. Sorry, I didn't look closely enough.
> Unfortunately, one can't assume pkg-config is available on all Unix systems.
Is this why you didn't explicitly suggest the patch to be
applied? You didn't put [PATCH] in the subject...
Couldn't this patch be made to check for pkg-config and fall
back to something else if it does not find it?
Stefan
Re: rc9 Build failure on Hardy: cannot find the library
`/usr/lib/libneon.la'
Posted by Peter Samuelson <pe...@p12n.org>.
[Stefan Sperling]
> This change has already been applied in r30574 and was
> reversed again in r30697 because it is wrong.
No, that was a different fix. Compare:
neon-config --la-file
- status quo, makes subversion care about libtool internals
neon-config --libs
- proposed in April, Joe doesn't seem to like it even though he
controls neon-config
pkg-config --libs neon
- what I suggested this time. Since this is the whole job of
pkg-config, it had better work correctly. Unfortunately, one
can't assume pkg-config is available on all Unix systems.
--
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Re: rc9 Build failure on Hardy: cannot find the library
`/usr/lib/libneon.la'
Posted by Stefan Sperling <st...@elego.de>.
On Sun, Jun 08, 2008 at 11:18:49AM +0200, Jens Seidel wrote:
> On Sat, Jun 07, 2008 at 07:42:22PM -0700, Eric Hanchrow wrote:
> > >>>>> "Mark" == Mark Phippard <ma...@gmail.com> writes:
> > Peter Samuelson set me straight -- I needed to do this in
> > .../build/ac-macros:
> >
> > Index: neon.m4
> > ===================================================================
> > --- neon.m4 (revision 31593)
> > +++ neon.m4 (working copy)
> > @@ -153,7 +153,7 @@
> > test "$svn_allowed_neon" = "any"; then
> > svn_allowed_neon_on_system="yes"
> > SVN_NEON_INCLUDES=[`$neon_config --cflags | sed -e 's/-D[^ ]*//g'`]
> > - NEON_LIBS=`$neon_config --la-file`
> > + NEON_LIBS=`pkg-config --libs neon`
> > CFLAGS=["$CFLAGS `$neon_config --cflags | sed -e 's/-I[^ ]*//g'`"]
> > svn_lib_neon="yes"
> > break
> >
> > It worked fine.
>
> If this is committed it would be a good idea to update apr related
> macros as well as described in
> http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=139136
This change has already been applied in r30574 and was
reversed again in r30697 because it is wrong.
See http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=137259
Stefan
Re: rc9 Build failure on Hardy: cannot find the library `/usr/lib/libneon.la'
Posted by Jens Seidel <je...@users.sourceforge.net>.
On Sat, Jun 07, 2008 at 07:42:22PM -0700, Eric Hanchrow wrote:
> >>>>> "Mark" == Mark Phippard <ma...@gmail.com> writes:
> Peter Samuelson set me straight -- I needed to do this in
> .../build/ac-macros:
>
> Index: neon.m4
> ===================================================================
> --- neon.m4 (revision 31593)
> +++ neon.m4 (working copy)
> @@ -153,7 +153,7 @@
> test "$svn_allowed_neon" = "any"; then
> svn_allowed_neon_on_system="yes"
> SVN_NEON_INCLUDES=[`$neon_config --cflags | sed -e 's/-D[^ ]*//g'`]
> - NEON_LIBS=`$neon_config --la-file`
> + NEON_LIBS=`pkg-config --libs neon`
> CFLAGS=["$CFLAGS `$neon_config --cflags | sed -e 's/-I[^ ]*//g'`"]
> svn_lib_neon="yes"
> break
>
> It worked fine.
If this is committed it would be a good idea to update apr related
macros as well as described in
http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=139136
Jens
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: rc9 Build failure on Hardy: cannot find the library `/usr/lib/libneon.la'
Posted by Eric Hanchrow <of...@blarg.net>.
>>>>> "Mark" == Mark Phippard <ma...@gmail.com> writes:
>> libtool: link: cannot find the library `/usr/lib/libneon.la' or
>> unhandled argument `/usr/lib/libneon.la'
>>
>> There doesn't appear to be any Hardy package with that file (at
>> least, "apt-file search /usr/lib/libneon.la" yielded no hits).
>> What might I be doing wrong?
Mark> There is a bug filed with Ubuntu somewhere for this. Eric
Mark> Gillespie pointed me to it when I had similar problems. I
Mark> wound up just building Neon myself and pointing to that.
Peter Samuelson set me straight -- I needed to do this in
.../build/ac-macros:
Index: neon.m4
===================================================================
--- neon.m4 (revision 31593)
+++ neon.m4 (working copy)
@@ -153,7 +153,7 @@
test "$svn_allowed_neon" = "any"; then
svn_allowed_neon_on_system="yes"
SVN_NEON_INCLUDES=[`$neon_config --cflags | sed -e 's/-D[^ ]*//g'`]
- NEON_LIBS=`$neon_config --la-file`
+ NEON_LIBS=`pkg-config --libs neon`
CFLAGS=["$CFLAGS `$neon_config --cflags | sed -e 's/-I[^ ]*//g'`"]
svn_lib_neon="yes"
break
It worked fine.
--
However lousy it is to sit in your basement and pretend to be an
elf, I can tell you from personal experience it's worse to sit in your
basement and try to figure if Ginger or Mary Ann is cuter.
-- Clay Shirky
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: rc9 Build failure on Hardy: cannot find the library `/usr/lib/libneon.la'
Posted by Mark Phippard <ma...@gmail.com>.
On Sat, Jun 7, 2008 at 4:29 PM, Eric Hanchrow <of...@blarg.net> wrote:
> (Thanks to whomever straightened me out {for the 87th time} about
> ./autogen.sh). Now I've got a different problem:
>
> I configured with
> svn co ... live
> mkdir build
> cd build
> ../live/configure --prefix=/usr/local/stow/svn-1.5.x --without-sasl --disable-shared
>
> that yielded, among other normal-looking output:
>
> configure: checking neon library
> checking for neon-config... /usr/bin/neon-config
> checking neon library version... 0.27.2
>
> and then did
> make all
> and saw
>
> cd subversion/libsvn_ra_neon && /bin/bash /usr/local/src/svn/build/libtool --tag=CC --silent --mode=link gcc -g -O2 -pipe -Wall -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -rpath /usr/local/stow/svn-1.5.x/lib -o libsvn_ra_neon-1.la commit.lo fetch.lo file_revs.lo get_dated_rev.lo get_location_segments.lo get_locations.lo get_locks.lo lock.lo log.lo merge.lo mergeinfo.lo options.lo props.lo replay.lo session.lo util.lo ../../subversion/libsvn_delta/libsvn_delta-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la /usr/lib/libaprutil-1.la /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl /usr/lib/libneon.la
> libtool: link: cannot find the library `/usr/lib/libneon.la' or unhandled argument `/usr/lib/libneon.la'
>
> There doesn't appear to be any Hardy package with that file (at least,
> "apt-file search /usr/lib/libneon.la" yielded no hits). What might I be
> doing wrong?
There is a bug filed with Ubuntu somewhere for this. Eric Gillespie
pointed me to it when I had similar problems. I wound up just
building Neon myself and pointing to that.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org