On 7/29/07, Dan Nicholson <[EMAIL PROTECTED]> wrote:
> On 7/27/07, Peter B. Steiger <[EMAIL PROTECTED]> wrote:
> >
> > Apparently libgnomekbd is not correctly including the X include
> > directory, and you have to manually tweak the Makefile after configure
> > and before make. I looked for every _CFLAGS definition and added
> > -I/usr/X11R7/include to any that were lacking that statement. All but
> > two of the {something}_CFLAGS lines correctly included the X11 include
> > directory, so I only had to add it to those two that did not.
>
> Yeah, it look broken. There's no autofoo to check for libX11 or
> Xlib.h. I guess we need to handle that with CPPFLAGS or CFLAGS and
> probably LDFLAGS. Even having the symlink at /usr/X11R6 isn't
> guaranteed to help since we don't know if any of the other packages
> will include these paths.
>
> I'll try to ping the maintainer.
He took my fix:
http://svn.gnome.org/viewcvs/libgnomekbd?view=revision&revision=139
In the meantime, we have to find a way to make this work. Here's an
option which could work for Xorg or XFree86.
./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
--sysconfdir=/etc/gnome/2.18.3 \
CPPFLAGS=-I$(pkg-config --variable=includedir xft) \
LDFLAGS=-L$(pkg-config --variable=libdir xft)
Or we can just use a replaceable <X_PREFIX> or something.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page