On Thu, 10 Nov 2005 06:17:17 +0100 Morten Nilsen <[EMAIL PROTECTED]> babbled:

> Mike Frysinger wrote:
> > On Thu, Nov 10, 2005 at 01:47:27AM +0100, Morten Nilsen wrote:
> > 
> >>I seem to be having an issue with configure not finding X11 headers 
> >>unless I make a symlink ../X11R6/include/*/ to /usr/include - which is a 
> >>dirty hack.
> >>
> >>I have /usr/X11R6/lib in /etc/ld.so.conf, and I've run ldconfig...
> > 
> > here's a novel idea ... post more info !
> > 
> > what distro ?  what's the error message ?
> 
> Trustix 2.2 and 3.0... for this particular exercise, I'm using a TSL 2.2 
> box with xorg-x11-libs and xorg-x11-devel installed.. and not much else 
> aside from the various build deps ..
> 
> configure says there is no X11/X.h file...
> adding --x-includes/--x-libraries to configure has no effect...
> symlinking /usr/X11R6/include/*/ to /usr/include, like stated, makes 
> configure see the headers...
> 
> the thing that really has me stumped, is that the configure script has a 
> list of possible locations in it (including the correct one, 
> /usr/X11R6/include)
> 
> I don't get this bug at all, and the configure script generated by 
> autoconf is way to messy to read, really..
> 
> come to think of it, it could seem like this is more of an issue with 
> autoconf, as xine (which comes with a pre-built configure) finds X.h 
> just fine... the version of autoconf installed is 2.59
> 
> if the issue can be nailed down, I'll file a bug with the TSL guys.
> 
> > symlinking random header files
> > from /usr/X11R6/include to /usr/include is a *really bad idea*
> 
> I wasn't symlinking "random" header files, only the X11, GL and DPS folders.

this is an issue with some installes/builds of autoconf. they simply dont find
x headers where they normally are unless they exist in /usr/include. autoconf
on debian happily generates build finels that can find the x headers where they
normally live. that means the tarball snapshots on
enlightenment.freedesktop.org will work for you. if you try and build your own
- which you do when getting things from cvs, will fail. you need to try
different autoconf packages or a different distribution that provides and
autoconf setup that vaguely is usable, or wait until someone makes snapshot
tarballs (with make dist) or something else hacky (symlinking, playing with
CFLAGS etc.)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to