|
From: | Amir Sela |
Subject: | Fw: problem with ddd source code in CDROM attached to the book :"SAMS Teach Yourself C for Linux Programing in 21 Days" |
Date: | Tue, 2 Oct 2001 15:19:36 +0200 |
----- Original Message -----
From: Amir Sela
To: ddd@gnu.org
Sent: Thursday, September 27, 2001 5:00 PM
Subject: problem with ddd source code in CDROM attached to the book
:"SAMS Teach Yourself C for Linux Programing in 21 Days" Hello , my name is Amir,
I recently bought "SAMS Teach Yourself C for Linux Programing in 21 Days". I run on Pentium 133Mhz / 32megs / 2 Gyg - "Mandrake 7.0" and i tried to compile the source code of the ddd which was distributed on the CDROM of the book. I copied the entire ddd library to my exercises library and then i extracted the ddd files to another library. I typed ./configure and it failed finding the X11 includes and libs , then i pointed out for the configure the path like this : [amirs@localhost ddd-3.1.90]$ ./configure --x-includes=/usr/X11R6/include/X11 --x-libraries=/usr/X11R6/lib/X11 it seems that it didn't take the new libraries pointed seriously as you can see later in the "echo"s down there i "BOLDED" the wrong DIR values... how can i configure it to search for X11 where i
want it to search ?
Thank you - seahound@zahav.net.il
and again it failed like this
:
loading cache ./config.cache checking host system type... i586-pc-linux-gnu checking target system type... i586-pc-linux-gnu checking build system type... i586-pc-linux-gnu checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether make sets ${MAKE}... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking whether the C compiler (gcc) compiles and links a simple C program... (cached) yes checking whether the C++ compiler () compiles a simple program... (cached) yes checking for rl_callback_read_char in -lreadline... (cached) no checking for xstrerror in -liberty... (cached) yes checking for tgetent in -lmytinfo... (cached) no checking for tgetent in -lncurses... (cached) yes checking for packages to be configured and built... readline ddd creating ./config.status creating Makefile configuring in readline running /bin/sh ./configure --x-includes=/etc/X11 --x-libraries=/usr/lib/X11 --host=i586-pc-linux-gnu --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking host system type... i586-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -g ) works... yes checking whether the C compiler (gcc -g ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for minix/config.h... (cached) no checking whether gcc needs -traditional... (cached) no checking for a BSD compatible install... (cached) /usr/bin/install -c checking for ranlib... (cached) ranlib checking return type of signal handlers... (cached) void checking whether stat file-mode macros are broken... (cached) no checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for strcasecmp... (cached) yes checking for select... (cached) yes checking for setenv... (cached) yes checking for putenv... (cached) yes checking for tcgetattr... (cached) yes checking for setlocale... (cached) yes checking for lstat... (cached) yes checking for working strcoll... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for varargs.h... (cached) yes checking for stdarg.h... (cached) yes checking for string.h... (cached) yes checking for sys/ptem.h... (cached) no checking for sys/pte.h... (cached) no checking for sys/stream.h... (cached) no checking for sys/select.h... (cached) yes checking for termcap.h... (cached) yes checking for termios.h... (cached) yes checking for termio.h... (cached) yes checking for sys/file.h... (cached) yes checking for locale.h... (cached) yes checking for type of signal functions... (cached) posix checking if signal handlers must be reinstalled when invoked... (cached) no checking for presence of POSIX-style sigsetjmp/siglongjmp... (cached) present checking for lstat... (cached) yes checking whether programs are able to redeclare getpw functions... (cached) yes checking whether or not strcoll and strcmp differ... (cached) no checking whether signal handlers are of type void... (cached) yes checking for TIOCGWINSZ in sys/ioctl.h... (cached) yes checking for TIOCSTAT in sys/ioctl.h... (cached) no checking for FIONREAD in sys/ioctl.h... (cached) yes checking for speed_t in sys/types.h... (cached) no checking for struct winsize in sys/ioctl.h and termios.h... (cached) sys/ioctl.h checking if struct dirent has a d_ino member... (cached) yes checking if struct dirent has a d_fileno member... (cached) yes checking which library has the termcap functions... (cached) using libtermcap creating ./config.status creating Makefile creating doc/Makefile creating examples/Makefile creating config.h config.h is unchanged configuring in ddd running /bin/sh ./configure --x-includes=/etc/X11 --x-libraries=/usr/lib/X11 --host=i586-pc-linux-gnu --cache-file=.././config.cache --srcdir=. loading cache .././config.cache checking for prefix by checking for ddd... no checking for product name... DDD 3.1.90 "Gravity Pull" checking for expiration date... no checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i586-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for g77... g77 checking whether the Fortran 77 compiler (g77 ) works... yes checking whether the Fortran 77 compiler (g77 ) is a cross-compiler... no checking whether we are using GNU Fortran 77... yes checking whether g77 accepts -g... yes checking whether ln -s works... yes checking for sh... /bin/sh checking for gtar... gtar checking for gm4... no checking for m4... m4 checking for gsed... no checking for sed... sed checking for gdiff... no checking for diff... diff checking for dvips... dvips checking for gzip... gzip checking for gzip... gzip checking for remsh... no checking for rsh... /usr/bin/rsh checking for lp... no checking for lpr... lpr checking for gcore... no checking for gdb... gdb checking for xterm... xterm checking for xfontsel... no checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... (cached) ranlib checking for bison... bison -y checking for bison -y flags... checking how to run the C preprocessor... (cached) gcc -E checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for flex flags... -8 checking for gawk... gawk checking whether the C compiler (gcc) compiles and links a simple C program... (cached) yes checking for c++... c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking whether the C++ compiler (c++) compiles a simple program... (cached) yes checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... c++ -E checking whether the C++ compiler (c++) accepts -Werror... yes checking whether the C++ compiler (c++) accepts -Weffc++... yes checking whether the C++ compiler (c++) accepts -Wuninitialized... no checking whether the C++ compiler (c++) accepts -mminimal-toc... no checking for C++ compiler (c++) warning options... -W -Wall checking for C++ compiler (c++) optimizing options... -DNDEBUG -O2 checking for C++ compiler (c++) debugging options... -g checking for C++ compiler (c++) extra libraries... checking for C++ compiler (c++) static binding options... -Bstatic checking for C++ compiler (c++) dynamic binding options... -Bdynamic checking whether the C++ compiler (c++) accepts -fexternal-templates... no checking whether the C++ compiler (c++) accepts -fpermissive... yes checking whether the C++ compiler (c++) accepts -felide-constructors... yes checking whether the C++ compiler (c++) accepts -fconserve-space... yes checking whether the C++ compiler (c++) accepts -trigraphs... yes checking whether the C++ compiler (c++) supports bool types... yes checking whether the C++ compiler (c++) supports explicit constructors... yes checking whether the C++ compiler (c++) supports mutable members... yes checking whether the C++ compiler (c++) supports exception handling... yes checking whether the C++ compiler (c++) supports standard exceptions... yes checking whether the C++ compiler (c++) supports namespaces... yes checking whether the C++ compiler (c++) supports run-time type info... yes checking whether the C++ compiler (c++) supports long long types... yes checking whether the C++ compiler (c++) supports named return values... yes checking whether the C++ compiler (c++) supports __PRETTY_FUNCTION__... yes checking whether the C++ compiler (c++) supports overloaded new[]... yes checking whether the C++ compiler (c++) supports placement new... yes checking whether the C++ compiler (c++) supports ANSI lifetime of temporaries... yes checking whether the C++ compiler (c++) accepts -isystem... yes checking for a traditional C preprocessor... gcc -E -traditional-cpp checking for Cygwin environment... no checking for mingw32 environment... no checking for executable suffix... no checking for object suffix... o checking for connect... yes checking for gethostbyname... yes checking for regcmp... no checking for regcmp in -lgen... no checking for yyerror in -ly... no checking for sin in -lm... yes checking for open in -lc... yes checking for tgetent in -lmytinfo... (cached) no checking for tgetent in -lncurses... (cached) yes checking for xstrerror in -liberty... (cached) yes checking for rl_callback_read_char in -lreadline... (cached) no checking whether the C++ compiler (c++) accepts -fpermissive... (cached) yes checking for X... libraries /usr/lib/X11, headers /etc/X11 checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for Motif... libraries (none), headers in default path checking for Athena... libraries /usr/X11R6/lib, headers in default path checking for Xpm... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking whether compiling X headers requires -fpermissive... no checking for XOpenDisplay in -lX11... no configure: error: The X11 library '-lX11' could not be found. Please use the configure options '--x-includes=DIR' and '--x-libraries=DIR' to specify the X location. See the files 'config.log' and 'ddd/config.log' for further diagnostics. configure: error: ./configure failed for ddd |
config.cache.txt
Description: Text document
Config.log.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |