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

Re: 1.4.0 install difficulties

From: Kyle George <kgeorge_at_tcpsoft.com>
Date: 2006-10-25 17:43:47 CEST

On Wed, 25 Oct 2006, Garrett Rooney wrote:

> On 10/24/06, Dan Armbrust <daniel.armbrust.list@gmail.com> wrote:
>
>> gcc: @inst_prefix_dir@: No such file or directory
>> libtool: link: warning:
>> `/usr/lib/gcc/i386-redhat-linux/3.4.4/../../..//libexpat.la'
>> seems to be moved
>> grep: /usr/local/apache2.0.52/modules/mod_dav_svn.la: No
>> such file or directory
>
> FWIW, This is the second time I've seen this error, and I have no clue
> what causes it. The only instance of @inst_prefix_dir@ is deep in the
> guts of libtool, and I had no luck tracing through it trying to figure
> out what would cause it to not get replaced properly...

I've never had a problem with that @inst_prefix_dir@ error, but the "seems
to be moved" error I have experienced.

Notice the "//" before libexpat.la.

In my case, configure and libtool thought /usr/local/lib and
/usr/local/lib/ were two different paths and was trying to link against
both of them. configure was getting its information from apu-config,
which when run with --ldflags reported:

-L/usr/local/lib/ -L/usr/local/lib

It subsequently built every link command line with the above, which
confused the linker.

I fixed it with by setting LDFLAGS before running configure with my usual
options:

export LDFLAGS=-L/usr/local/lib
export APACHEBIN=/usr/local/apache2/bin
./configure --with-neon=/usr/local --with-apxs=$APACHEBIN/apxs \
   --with-apr=$APACHEBIN/apr-1-config \
   --with-apr-util=$APACHEBIN/apu-1-config --with-ssl --with-zlib \
   --with-berkeley-db

-- 
Kyle George
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 25 17:44:31 2006

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.