From: Lounis ILLOURMANE on
Hello;
When I tried to build gplflash I got
....
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for gzsetparams in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for X... libraries , headers
checking for XOpenDisplay in -lX11... no
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
*configure: error: cannot find X11 development files*

*So I have xorg and libx11-dev installed on my Ubuntu 10.04* *(Debian,
gnome)*
lounis(a)lounis-laptop:~$ sudo apt-get install libx11-dev
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
libx11-dev est déjà la plus récente version disponible.
*0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.*

lounis(a)lounis-laptop:~$ sudo apt-get install xorg
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
xorg est déjà la plus récente version disponible.
*0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.*

What I have to do or to install to remedy this problem

Thank you.


Here is details of running ./configure


lounis(a)lounis-laptop:~/Bureau/gplflash$ tar xjf gplflash-0.4.13.tar.bz2
lounis(a)lounis-laptop:~/Bureau/gplflash/gplflash-0.4.13$
lounis(a)lounis-laptop:~/Bureau/gplflash$ cd gplflash-0.4.13/
lounis(a)lounis-laptop:~/Bureau/gplflash/gplflash-0.4.13$
lounis(a)lounis-laptop:~/Bureau/gplflash/gplflash-0.4.13$ ls
aclocal.m4 autogen.sh compile config.h.in configure COPYING
INSTALL lib ltmain.sh Makefile.in mkinstalldirs player
README
AUTHORS ChangeLog config.guess config.sub configure.in depcomp
install-sh ltconfig Makefile.am missing NEWS plugin TODO
lounis(a)lounis-laptop:~/Bureau/gplflash/gplflash-0.4.13$
lounis(a)lounis-laptop:~/Bureau/gplflash/gplflash-0.4.13$
lounis(a)lounis-laptop:~/Bureau/gplflash/gplflash-0.4.13$
lounis(a)lounis-laptop:~/Bureau/gplflash/gplflash-0.4.13$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for gzsetparams in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for X... libraries , headers
checking for XOpenDisplay in -lX11... no
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
configure: error: cannot find X11 development files
lounis(a)lounis-laptop:~/Bureau/gplflash/gplflash-0.4.13$
From: Camaleón on
On Tue, 29 Jun 2010 11:54:35 +0200, Lounis ILLOURMANE wrote:

> Hello;
> When I tried to build gplflash I got
> ...
> checking jpeglib.h usability... yes
> checking jpeglib.h presence... yes
> checking for jpeglib.h... yes
> checking for gzsetparams in -lz... yes checking zlib.h usability... yes
> checking zlib.h presence... yes
> checking for zlib.h... yes
> checking for X... libraries , headers checking for XOpenDisplay in
> -lX11... no checking X11/XKBlib.h usability... yes checking X11/XKBlib.h
> presence... yes checking for X11/XKBlib.h... yes
> *configure: error: cannot find X11 development files*

Are you on a 64-bits system?

Maybe the configure is looking into the wrong path for X11 devel files :-?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.06.29.11.09.06(a)gmail.com