Error compiling libraries - PKG_CHECK_MODULES

John Beales evaluations at johnbeales.com
Sun Nov 4 10:17:59 PST 2007


Hi,

I had pkg-config installed already, however, I found the problem
eventually.  I only got the error when I ran ./configure directly.  When I
ran ./autogen.sh it worked fine, so I did that instead, (also, the stuff was
installed in a more recognizable fashion).

John


On 11/4/07, Daniel Stone <daniel at fooishbar.org> wrote:
>
> On Sat, Nov 03, 2007 at 07:17:15PM -0400, John Beales wrote:
> > I'm pretty new to building stuff myself - and to xorg products, but I
> > have a problem that I haven't been able to solve with my own detective
> > work.
> >
> > I'm trying to make a minimal build of Xvfb, and have run into problems
> > when running the configure file for several libraries.
> >
> > Here's an example, with libXau.
> > I run ./configure
> >
> > it runs partway, then I get this error:
> > ./configure: line 19797: syntax error near unexpected token `[XAU],'
> > ./configure: line 19797: `PKG_CHECK_MODULES(XAU, xproto)'
> >
> > I tried updating pkg-config to the latest version - with no luck.
> > Also, I tried changing the syntax of line 19797 to
> > PKG_CHECK_MODULES([XAU], [xproto]) like it shows in the README file
> > for pkg-config - again no luck.
> >
> > I'm running FedoraCore 6 if it matters - I'm not too sure.
>
> Hi,
> You need to install pkg-config.
>
> Cheers,
> Daniel
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHLcbEUVYB1rKAgJQRAoJNAKCiBExoRGk+ZaZFAkcLeBtFDZGWFQCdED21
> Y7ct3cba/FcBSpbJjW8ywVw=
> =U96X
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20071104/fca72aa9/attachment.html>


More information about the xorg mailing list