On Tue, Feb 22, 2011 at 10:17:42AM -0500, Alan Conway wrote:
> On 02/20/2011 07:01 PM, Angus Salkeld wrote:
> >Hi
> >
> >I ran "./configure --prefix=/usr" and qpid.pc got installed into
> >/usr/lib/pkgconfig/. All the other .pc files on my system are in
> >/usr/lib64/pkgconfig/.
> >
> >Now my "PKG_CHECK_MODULES(QPID)" doesn't work.
> >
> >Any ideas? Any other preferred way of finding the libs?
> >
> >I am on Fedora14, using latest qpid code.
> >
>
> You can get it to do the right thing with:
> ./configure --prefix=/usr --libdir=/usr/lib64
>
> I'm not sure how to get automake to do it right automatically.
OK, no worries I have worked around it.
you could do something like this in the configure.ac:
if test "$libdir" = "\${exec_prefix}/lib"; then
if test -e /usr/lib64; then
libdir="${exec_prefix}/lib64"
fi
fi
-Angus
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project: http://qpid.apache.org
> Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]