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

Re: HELP: Compiles one libsvn_* but not others.

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2002-06-19 01:05:51 CEST

On Tue, 18 Jun 2002, David Summers wrote:

> I'm this -><- close to being able to compile the newest version of
> subversion RPM (rev 2272....woops, 2273 just came out :-) but only
> libsvn_subr-1.so* is linking and the rest
> (like libsvn_delta-1.so*) are not.
>
> Here is my configuration:
> LDFLAGS="-lcrypt -ldl -pthread" ./configure \
> --prefix=/usr \
> --libdir=/usr/lib \
> --with-apxs=%{apache_dir}/usr/bin/apxs \
> --with-apr=%{apache_dir}/bin/apr-config \
> --with-apr-util=%{apache_dir}/bin/apu-config
>
>
> What am I doing wrong?
>
> Thanks.
>
>

After looking at the Makefile and the configure --help and such for a
couple of hours I got a brilliant idea:

LDFLAGS="-lcrypt -ldl -pthread \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_client/.libs \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_delta/.libs \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_fs/.libs \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_repos/.libs \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_ra/.libs \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_ra_dav/.libs \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_ra_local/.libs \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_subr/.libs \
   -L$RPM_BUILD_DIR/subversion-%{version}/subversion/libsvn_wc/.libs \
        " ./configure \
        --prefix=/usr \
        --with-apxs=%{apache_dir}/usr/bin/apxs \
        --with-apr=%{apache_dir}/bin/apr-config \
        --with-apr-util=%{apache_dir}/bin/apu-config

And it works!

But why should I have to specify all those directories on the command
line?

Why doesn't subversion link those in by default?

Is anyone else seeing this?

   Thanks!

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 19 01:06:18 2002

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