[Trisquel-devel] Error while compiling FLTK

Luis Guzman ark at switnet.org
Sun Jul 28 02:40:42 CEST 2013


Hi!

I'll like to ask for your help with an issue that i found recently,

I was trying to compile the FLTK 1.3.2 library from source in order to
install another program, i've done it before, but due a complete OS
reset i'm compiling again some programs,

I have installed build-essential xorg-dev libx11-dev as requirements
(the ones i used before).

I ran ./configure with no problems apparently, then tried make and i got
this error,

===
[...]
Compiling fl_open_uri.cxx...
In file included
from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
                 from /usr/include/signal.h:339,
                 from /usr/include/i386-linux-gnu/sys/wait.h:31,
                 from fl_open_uri.cxx:37:
/usr/include/i386-linux-gnu/asm/sigcontext.h:4:48: error
fatal: ../../../../include/linux/compiler.h: No existe el archivo o el
directorio
compilación terminada.
make[1]: *** [fl_open_uri.o] Error 1
make: *** [all] Error 1
[end]
===

I've tried to look for that error on the web and i found that it may be
cause of the headers, but i have them installed.

If looked for compiler.h at the system and i have;

> /usr/include/xorg/compiler.h
> /usr/lib/syslinux/com32/include/klibc/compiler.h
> /usr/src/linux-headers-3.2.0-48/include/linux/compiler.h
> /usr/src/linux-headers-3.2.0-48/arch/alpha/include/asm/compiler.h
> /usr/src/linux-headers-3.2.0-48/arch/mips/include/asm/compiler.h
> /usr/src/linux-headers-3.2.0-48-generic-pae/include/linux/compiler.h


If any help i'm running;

> Linux station 3.2.0-48-generic-pae #0trisquel1 SMP Mon Jun 17 23:11:17 UTC 2013 i686 i686 i386 GNU/Linux

I think is something that happened with upgrades, because i was capable
of compiling FLTK easily before.

I've tested the same procedure with Ubuntu 12.04, and it works so that
makes me thing it is kernel related.

Any help i'll really appreciate it. :)
Cheers!
-- 
Luis Guzman <ark at switnet.org>
-------------- next part --------------
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for nroff... /usr/bin/nroff
checking for htmldoc... no
checking for doxygen... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for windres... no
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 size of short... 2
checking size of int... 4
checking size of long... 4
checking whether the compiler recognizes bool as a built-in type... yes
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 whether we have the POSIX compatible scandir() prototype... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for strings.h... (cached) yes
checking for strcasecmp... yes
checking for strlcat... no
checking for strlcpy... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for localeconv... yes
checking for library containing pow... -lm
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for long long int... yes
checking for strtoll... yes
checking for library containing dlsym... -ldl
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for jpeg_CreateCompress in -ljpeg... no
checking for gzgets in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_read_info in -lpng... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for library containing dlopen... none required
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glXMakeCurrent in -lGL... yes
checking for glXGetProcAddressARB in -lGL... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for XineramaIsActive in -lXinerama... yes
checking for freetype-config... /usr/bin/freetype-config
checking for FcPatternCreate in -lfontconfig... yes
checking X11/Xft/Xft.h usability... yes
checking X11/Xft/Xft.h presence... yes
checking for X11/Xft/Xft.h... yes
checking for XftDrawCreate in -lXft... yes
checking for X11/extensions/Xdbe.h... yes
checking for XdbeQueryExtension in -lXext... yes
checking for xprop... /usr/bin/xprop
checking for X overlay visuals... no
checking if GCC supports -fno-exceptions... yes
checking if GCC supports -fno-strict-aliasing... yes

Configuration Summary
-------------------------------------------------------------------------
    Directories: prefix=/usr/local
                 bindir=${exec_prefix}/bin
                 datadir=${datarootdir}
                 datarootdir=${prefix}/share
                 exec_prefix=${prefix}
                 includedir=${prefix}/include
                 libdir=${exec_prefix}/lib
                 mandir=${datarootdir}/man
       Graphics: X11+Xft+Xdbe+Xinerama
Image Libraries: JPEG=Builtin
                 PNG=Builtin
                 ZLIB=System
    Large Files: YES
         OpenGL: YES
        Threads: YES
configure: creating ./config.status
config.status: creating makeinclude
config.status: creating fltk.list
config.status: creating fltk-config
config.status: creating fltk.spec
config.status: creating FL/Makefile
config.status: creating config.h
config.status: config.h is unchanged
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-output
Type: text/x-patch
Size: 7434 bytes
Desc: not available
URL: <http://listas.trisquel.info/pipermail/trisquel-devel/attachments/20130727/d1a1666b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://listas.trisquel.info/pipermail/trisquel-devel/attachments/20130727/d1a1666b/attachment.pgp>


More information about the Trisquel-devel mailing list