Andrew Reid wrote: > On Sunday 05 April 2009 14:09:50 Itay wrote: >> I am trying to install the latest stable digikam (0.9.5) from source. >> (Because stock digikam on lenny, 0.9.4, has some issues in handling >> tiffs.) >> >> ./configure bailed with: >> >> checking for X... configure: error: Can't find X includes. \ >> Please check your installation and add the correct paths! >> >> Could you please get me started: where should I find >> "X includes", and what would be the debian-way to add them? > > The debian way is to have include files in a package > whose prefix is the same as the libraries, but with the suffix > "-dev". > > In this case, installing the package "xorg-dev" and its dependencies > will almost certainly solve this problem. > > -- A
Hello, I think it's really strange. I don't know how familiar with the make process Itay is, but as far as I know (and I think I'm not a newbie) one should use pkg-config to get the proper setup. So, look what happens running pkg-config here (system is debian lenny just recently upgraded from sarge over edge) ln::25 eman...@lisa:~$ pkg-config --cflags xorg-server -I/usr/include/xorg -I/usr/include/pixman-1 ln::26 eman...@lisa:~$ pkg-config --libs xorg-server ln::27 eman...@lisa:~$ pkg-config --libs x11 -lX11 ln::28 eman...@lisa:~$ pkg-config --cflags xorg-server -I/usr/include/xorg -I/usr/include/pixman-1 You notice that the thing is reporting libraries for one package and includes (cflags) for the other. Why?! I've never tried to compile (except kernel and alsa) on this system since upgrade. In fact, Itay, when I started compiling with debian it took some time to get use to and learn fixing things like this, don't give up ;-). regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org