You are not logged in.

#1 2006-03-29 07:35:00

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

build errors : X cannot find itself [solved]

since going to xorg7 I can't compile anything

here's an excerpt from an attempted build of fluxbox

checking for X... no
configure: error: Fluxbox requires the X Window System libraries and 
headers.
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

and one from adesklets

checking for readline in -lreadline... yes
checking for add_history in -lhistory... yes
checking for free_history_entry in -lhistory... yes
checking for history max command lenght... yes
checking for pkg-config... /usr/bin/pkg-config
checking for fontconfig... yes
checking for fork... yes
checking for X... no
checking for imlib2-config... /usr/bin/imlib2-config
checking for imlib2 - version >= 1.1.2... yes
checking for imlib2... checking for imlib2 - version >= 1.2.0... yes
checking for imlib2 program linking with ad-hoc flags... yes
checking for uint typedef in standard library... yes

I'm already running fluxbox and X
I've also reinstalled probably everything and generated a new xorg.conf

does anyone know what's wrong here?

Offline

#2 2006-03-30 04:27:16

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: build errors : X cannot find itself [solved]

Do you have the xorg libs/ headers installed? The headers are in the *proto packages.

Offline

#3 2006-03-30 06:43:39

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: build errors : X cannot find itself [solved]

I reinstalled xproto and libx11 as well as a few others that I thought might help after going through the forums, all of which were already installed.

Offline

#4 2006-04-04 22:12:06

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: build errors : X cannot find itself [solved]

--x-includes=/usr/include/X11

how can I add this to my env path so X can find the librairies?

Offline

#5 2006-04-06 00:34:24

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: build errors : X cannot find itself [solved]

subatomic wrote:

--x-includes=/usr/include/X11

how can I add this to my env path so X can find the librairies?

Does it  work when you add --x-includes=/usr/include/X11
to the ./configure line? If it doesn't, you are missing some packages. I can post a list of the proto and xlibs I have on my system.  Here adesklets compiles without any modification to the PKGBUILD.

BTW, do you have pkgconfig installed? If not, install it and try makepkg'ing again.

Offline

#6 2006-04-06 06:36:14

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: build errors : X cannot find itself [solved]

yes, it works well with the line although I still have a problem with adesklets not finding x, all other apps install OK, and pkgconfig is installed.

can't I export the /usr/include/X11 path to my profile or environment or something?

Offline

#7 2006-04-06 21:25:30

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: build errors : X cannot find itself [solved]

I guess some of your includefiles got removed when you upgraded from 6.8. I had to reinstall quite some proto and lib packages on my own system to get things working again.

Offline

#8 2006-04-12 19:52:55

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: build errors : X cannot find itself [solved]

fixed.

./configure --x-includes=/usr/include/X11 --x-libraries=/usr/lib

Offline

Board footer

Powered by FluxBB