tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg-config not finding x11



On Tue, Apr 07, 2009 at 05:45:23PM +0200, Edgar Fuß wrote:
> I try to build libXrandr on OS X (actually I'm trying to build wireshark).

From pkgsrc?  You shouldn't have to.  (JFW for me on NetBSD, FWIW.)

What version of MacOS X is that?

> I get
> 
> checking for X... configure: error: Package requirements (x11) were not met:
> 
> No package 'x11' found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> 
> Alternatively, you may set the environment variables X_CFLAGS
> and X_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> 
> and indeed pkg-config doesn't know about x11.

pkg-config is not run the same way by pkgsrc as run by hand, so the
results you get from running it by hand are irrelevant.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgp7Y8zZVq3T6.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index