Hello All, I am new to Linux.
I am trying to install fltk-2.0.x-alpha-r8570 on Ubuntu 10.04, I get following error during make process
Code:
root@programmer-desktop:/opt/fltk-2.0.x-r7680# make
=== making src ===
Makefile:223: makedepend: No such file or directory
Compiling add_idle.cxx...
add_idle.cxx:1: error: bad value (generic) for -mtune= switch
add_idle.cxx:1: error: bad value (i486) for -march= switch
make[1]: *** [add_idle.o] Error 1
make: *** [all] Error 2
Below is the configuration output for my system.
Code:
root@programmer-desktop:/opt/fltk-2.0.x-r7680# ./configure
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for nroff... /usr/bin/nroff
checking for htmldoc... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 whether byte ordering is bigendian... no
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking whether the compiler recognizes bool as a built-in type... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/stdtypes.h usability... no
checking sys/stdtypes.h presence... no
checking for sys/stdtypes.h... no
checking for scandir... yes
checking whether we have the POSIX compatible scandir() prototype... no
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking for library containing pow... -lm
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for X... libraries /usr/lib, headers
checking whether -R must be followed by a space... neither works
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for library containing dlopen... -ldl
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking GL/glu.h usability... no
checking GL/glu.h presence... no
checking for GL/glu.h... no
checking for freetype-config... no
./configure: line 10961: --cflags: command not found
./configure: line 10962: --cflags: command not found
./configure: line 10963: --cflags: command not found
checking X11/Xft/Xft.h usability... no
checking X11/Xft/Xft.h presence... no
checking for X11/Xft/Xft.h... no
checking X11/Xcursor/Xcursor.h usability... no
checking X11/Xcursor/Xcursor.h presence... no
checking for X11/Xcursor/Xcursor.h... no
checking for X11/extensions/Xdbe.h... yes
checking for X11/extensions/Xinerama.h... yes
checking for X overlay visuals... no
checking for Xutf8LookupString in -lX11... yes
checking if libsupc++ is required... no
configure: creating ./config.status
config.status: creating makeinclude
config.status: WARNING: makeinclude.in seems to ignore the --datarootdir setting
config.status: creating fltk.list
config.status: WARNING: fltk.list.in seems to ignore the --datarootdir setting
config.status: creating fltk2-config
config.status: creating config.h
Libs: -lX11 -lXi -lXinerama -ldl -lpthread -lm -lXext
System image libs: -lfltk2_png -lfltk2_z -lfltk2_images -lfltk2_jpeg
Local image libs: ../lib/libfltk2_jpeg.a ../lib/libfltk2_z.a ../lib/libfltk2_png.a
OpenGL libs:
Build targets: static
I have updated my system to latest, but problem still persists.
Thanks in Advance.