pkgsrc-Users archive

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

Re: Settings X11_BASE on Linux



On Wed, 06 Jul 2011 07:11:15 +0900, Emmanuel Kasper 
<emmanuel%libera.cc@localhost> wrote:

( sorry I have to answer to my own mail as I am not subscribed to the
list )

On Tue, 05 Jul 2011 03:20:10 +0900, Emmanuel Kasper
<emmanuel%libera.cc@localhost> wrote:


   I have the following environment

   bmake show-var VARNAME=X11BASE
   /usr/include/X11/
   ( where I see a bunch of X*.h )

Then, you should set X11BASE=/usr, because library and *.pc files are
not in
/usr/include/X11

so I re-boostraped pkgsrc and set X11BASE to /usr and still get stuck at
configure: error: Package requirements (x11 xt xext xmu) were not met.

However when I use pkg-config, both native and pkgsrc's, it finds the
.pc files:


/home/manu/Projects/netbsd/pkg/bin/pkg-config --list-all | cut -d ' ' -f
1  | egrep '(^x11|^xt|^xext|^xmu)'

xext
x11
xextproto
xt
xmu


ll work/.buildlink/lib/pkgconfig/
total 4
lrwxrwxrwx 1 manu manu 67  5 juil. 23:57 xpm.pc ->
/home/manu/Projects/netbsd/pkg/share/x11-links/lib/pkgconfig/xpm.pc
lrwxrwxrwx 1 manu manu 57  5 juil. 23:57 xcb-proto.pc ->
/home/manu/Projects/netbsd/pkg/lib/pkgconfig/xcb-proto.pc
lrwxrwxrwx 1 manu manu 59  5 juil. 23:57 renderproto.pc ->
/home/manu/Projects/netbsd/pkg/lib/pkgconfig/renderproto.pc
lrwxrwxrwx 1 manu manu 31  5 juil. 23:57 xextproto.pc ->
/usr/lib/pkgconfig/xextproto.pc
lrwxrwxrwx 1 manu manu 27  5 juil. 23:57 xdmcp.pc ->
/usr/lib/pkgconfig/xdmcp.pc
lrwxrwxrwx 1 manu manu 25  5 juil. 23:57 xau.pc -> /usr/lib/pkgconfig/xau.pc
lrwxrwxrwx 1 manu manu 59  5 juil. 23:57 render.pc ->
/home/manu/Projects/netbsd/pkg/lib/pkgconfig/renderproto.pc

what should I do to add here the missing .pc ?

x11-links guesses that it is in ${X11BASE}/lib/pkgconfig/x11.pc.
(see pkgsrc/pkgtools/x11-links/files/xorg.liX11).

Are you using Debian wheezy or sid?
For examples, x11-dev package for i386, it seems that library files
are not in ${X11PREFIX}/lib, but in ${X11PREFIX}/lib/i386-linux-gnu.
  http://packages.debian.org/wheezy/i386/libx11-dev/filelist
I don't know why Debian change to use such directory structure...

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index