Re: garnome 2.10 compile /usr/bin/ld: cannot find -lXext



I'm running debian sarge with all the required libraries installed. ldconfig -v | grep libXext says the library is installed in /usr/X11R6/lib. Looks like /usr/X11R6/lib is not in the library search path.

Maybe it's a dirty hack, but i got it working by adding the directory to the CFLAGS (CXXFLAGS needed also??).

/home/roman/garnome-2.10.0.1/desktop/gnome-utils/work/main.d/gnome-utils-2.10.0/gnome-screenshot/Makefile:

CFLAGS = -I/home/roman/garnome/include -L/home/roman/garnome/lib -O2 -pipe -L/usr/X11R6/lib CXXFLAGS = -I/home/roman/garnome/include -L/home/roman/garnome/lib -O2 -pipe -L/usr/X11R6/lib

Greetings Roman.



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