Woops, it is now:
LDFLAGS="
-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 \
On Tue, 18 Jun 2002, David Summers wrote:
> Date: Tue, 18 Jun 2002 19:01:51 -0500 (CDT)
> From: David Summers <david@summersoft.fay.ar.us>
> To: Philip Martin <philip@codematters.co.uk>
> Cc: "dev@subversion.tigris.org" <dev@subversion.tigris.org>
> Subject: Re: HELP: Compiles one libsvn_* but not others.
>
>
> Hey! I took them out and it now compiles! Thanks!
> At one point I had to put those in there to get it to compile.
> Yet one less thing to do to get it to compile!
> I think I'm down to one patch and the -L stuff to get it to compile now.
>
> RPM is just a shell around a clean install of the software.
>
> Which still leaves the question of why I need to specify all the
> subversion directories with -L .
>
> now:
> 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
>
> Thanks!
> - David
>
> On 19 Jun 2002, Philip Martin wrote:
>
> > Date: 19 Jun 2002 00:47:04 +0100
> > From: Philip Martin <philip@codematters.co.uk>
> > To: "dev@subversion.tigris.org" <dev@subversion.tigris.org>
> > Subject: Re: HELP: Compiles one libsvn_* but not others.
> >
> > 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.
> >
> >
> >
>
>
--
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 02:05:39 2002