Re: build failing with X not found



Chuck,

Many Linux distos distribute both "user" and "devel" packages for X11.
Make sure that both the X11 libs and headers are installed on your
system.

The configure process for xrender automatically searchs for the libs and
headers in standard locations at were typical in 2003. Things change
over time as is evidenced by the locations of the X11 libs and headers
on an FC6 system.

xrender does allow the locations of the X11 libs and headers to be set
explicitly as CONFIGURE_ARGS

  --x-includes=DIR    X include files are in DIR
  --x-libraries=DIR   X library files are in DIR

Edit the GAR makefile and add these CONFIGURE_ARGS

CONFIGURE_ARGS = $(DIRPATHS) 
CONFIGURE_ARGS += --x-includes=/a/b/c/include --x-libraries=/c/d/e/lib

where /a/b/c & /c/d/e are paths on your system.

-Joseph

=====================================================================


On Tue, 2006-11-14 at 20:31 -0500, Chuck Hallenbeck wrote:
> Hi list,
> 
> My partition space problem is solved, but now the build fails as 
> follows:
> 
> checking for X... no
> configure: error: X is required, but it was either disabled or not 
> found.
> make[5]: *** [configure-work/main.d/xrender-0.8.3/configure] Error 1
> make[5]: Leaving directory 
> `/pub/gnome/garnome-2.16.1.1/freedesktop/xrender'
> 
> Here is output from "which" and "file":
> 
> gnome cq:desktop% which X Xorg
> /usr/bin/X
> /usr/bin/Xorg
> gnome cq:desktop% file /usr/bin/X /usr/bin/Xorg
> /usr/bin/X:    symbolic link to `/usr/bin/Xorg'
> /usr/bin/Xorg: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
> for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for 
> GNU/Linux 2.4.1, stripped
> 
> 
> So X is there, or actually Xorg, but it is shown for Linux 2.4.1, 
> whereas my kernel is 2.6.18, as per this:
> 
> gnome cq:desktop% uname -a
> Linux cq 2.6.18 #1 SMP Sat Oct 7 14:45:02 EDT 2006 i686 GNU/Linux
> 
> I have been using this X with gnome 2.14, installed from the Debian 
> unstable archives, and am attempting to move up to gnome 2.16 with this 
> garnome build. Any help with this would be most welcome. 
> 
> Puzzled,
> 
> Chuck
> 
> 
> 
> -- 
> The Moon is Waning Crescent (29% of Full)
> Only 10 kinds of people: those who do binary, and those who do not.
> But you can get a few downloads from http://www.mhcable.com/~chuckh
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]