You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Rhys Ulerich <rh...@gmail.com> on 2014/03/03 20:10:01 UTC

Incorrect apt-util-1.pc using --with-expat=builtin

I've noticed atop APR Utils 1.5.3 that when I configure using
--with-expat=builtin I see the following within the installed
${prefix}/lib/pkgconfig/apr-util-1.pc:
    Libs: -L${libdir} -laprutil-${APRUTIL_MAJOR_VERSION}
/g/g10/ulerich1/Build/apr-util-1.5.3/xml/expat/libexpat.la
while I'd expect to see
    Libs: -L${libdir} -laprutil-${APRUTIL_MAJOR_VERSION}  -lexpat
as the former build directory isn't guaranteed to exist after the
installation and ${prefix}/lib/libexpat.la and friends are installed
correctly.

A workaround is manually stitching up the installed pkg-config file.

Thanks,
Rhys

Re: Incorrect apt-util-1.pc using --with-expat=builtin

Posted by Rhys Ulerich <rh...@gmail.com>.
Hi Jeff,

> If nobody responds in the next couple of days, please open a bug for this at
> http://issues.apache.org/bugzilla/ so that your report isn't forgotten.

Filed as https://issues.apache.org/bugzilla/show_bug.cgi?id=56232.

Thanks for the suggestion,
Rhys

Re: Incorrect apt-util-1.pc using --with-expat=builtin

Posted by Jeff Trawick <tr...@gmail.com>.
On Mon, Mar 3, 2014 at 12:10 PM, Rhys Ulerich <rh...@gmail.com>wrote:

> I've noticed atop APR Utils 1.5.3 that when I configure using
> --with-expat=builtin I see the following within the installed
> ${prefix}/lib/pkgconfig/apr-util-1.pc:
>     Libs: -L${libdir} -laprutil-${APRUTIL_MAJOR_VERSION}
> /g/g10/ulerich1/Build/apr-util-1.5.3/xml/expat/libexpat.la
> while I'd expect to see
>     Libs: -L${libdir} -laprutil-${APRUTIL_MAJOR_VERSION}  -lexpat
> as the former build directory isn't guaranteed to exist after the
> installation and ${prefix}/lib/libexpat.la and friends are installed
> correctly.
>
> A workaround is manually stitching up the installed pkg-config file.
>
> Thanks,
> Rhys
>

If nobody responds in the next couple of days, please open a bug for this
at http://issues.apache.org/bugzilla/ so that your report isn't forgotten.

-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/