[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: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-06-19 01:47:04 CEST

David Summers <david@summersoft.fay.ar.us> writes:

> 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?

I don't know anything about RPM, but why do you specify LDFLAGS at
all? The original value you had "-lcrypt -ldl -pthread" should be
generated by configure calling apr-config.

-- 
Philip
---------------------------------------------------------------------
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:47:37 2002

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.