thanks truls a lot. just one minor change to the command:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/Build make
On Thu, Nov 20, 2008 at 10:00 PM, Truls Becken <[EMAIL PROTECTED]> wrote:
> Hi, Fred, and welcome :)
>
> I too am an Archer, and have experienced both of the problems you
> mention first hand.
>
> For the ffmpeg issue I edited
> /usr/lib/pkgconfig/libav{codec,format}.pc so that the Cflags line adds
> the libavcodec or libavformat directory. I was planning to bug the
> package maintainer about this, but haven't so far.
>
>>> I just realised it's not the .so it needs to find, but the .a/.la
>>> stub. Are these present in /usr/lib as well?
>>
>> no they're not present, why would it need the static libraries for?
>
> This one is a bit more interesting. One way to work around this is to
> build libpoppler with --enable-static.
>
> But as it turns out, this issue only appeared after a rewrite of
> Etoile's makefile that happened three weeks ago. A different solution
> that I found to work is to delete the line in etoile.make that says;
>
> export ADDITIONAL_LDFLAGS += -Wl,-rpath-link $(BUILD_DIR)
>
> and instead build Etoile with;
>
> LD_LIBRARY_PATH=`pwd`/Build make
>
> You see, the point here is to be able to link against early parts of
> the tree while building the later parts, but before anything is
> installed. The -rpath-link solution works on most distros, but only
> because most distros build static libraries by default. AFAIK, it's
> actually part of Arch's guidelines not to build static libs. Many
> packages still do because you have to actively pass the
> --disable-static flag, which is often forgotten. Anyway, I agree with
> you that it should not be required to have static libraries when the
> only reason is the technique used to build the tree, and not because
> anything is actually statically linked.
>
> I believe Quentin is still looking for a more proper solution, but
> only to satisfy people like you and me, so he doesn't really have a
> big initiative for himself. If *anybody* has the toolchain knowledge
> to tell us how to *safely* add something to the link-time library
> searchpath, please let us know.
>
> Truls
>
> _______________________________________________
> Etoile-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/etoile-discuss
>
--
Fred Morcos
http://fredmorcos.blogspot.com/
http://katoob.googlecode.com/
https://savannah.nongnu.org/projects/objective-gtk/
http://grafer.googlecode.com/
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss