Re: slime, debian(testing, 2.6.8), sbcl(0.9.16)



Javier wrote:
zlatozar ha escrito:

error: stdio.h: No such file or directory
error: sys/types.h: No such file or directory
error: sys/socket.h: No such file or directory
error: sys/stat.h: No such file or directory
error: unistd.h: No such file or directory
error: sys/un.h: No such file or directory
error: netinet/in.h: No such file or directory
error: netinet/in_systm.h: No such file or directory
error: netinet/ip.h: No such file or directory
error: net/if.h: No such file or directory
error: netdb.h: No such file or directory
error: errno.h: No such file or directory
error: netinet/tcp.h: No such file or directory
error: fcntl.h: No such file or directory

I think you need to install GCC and kernel headers. It is very strange
that it is not able to include so simple headers like stdio.h (which
are usually already avaiable without having to touch the -I directive
in the C compiler).
What I don't understand is what GCC has to do with SBCL in this case.
Is SBCL calling GCC for compiling some kind of external libraries?
O hope it helps!

For both sb-bsd-sockets and sb-posix (and maybe others?), sbcl needs to
determine the set of constants in the appropriate header files
available to your system (certainly beats guessing). It does this by
building & running a small c program. The source is in 'foo.c',
probably in e.g. /usr/local/lib/sbcl/sb-bsd-sockets/foo.c. Often on
debian systems, there's no C build environment installed by default.
I believe 'apt-get install build-essentials' is the shortest route to
set up.

Peace,
Chris

.



Relevant Pages

  • [SLE] Re-sending: Failed install of alsa-utils 1.00rc2
    ... checking for a BSD-compatible install... ... checking for gcc... ... checking for C compiler default output file name... ... Check the headers for your unsubscription address ...
    (SuSE)
  • Re: migration from Solaris 8 to 9 = g++ compile problems (threads)
    ... under Solaris 8 and see if it compiles. ... I also downloaded the 3.4.6 GCC for Solaris 9, and I will install it ... transmogrified headers. ...
    (comp.unix.solaris)
  • Re: [SLE] Problems with kxdocker
    ... I am attempting to install kxdocker in SuSE10.1 under KDE.. ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ...
    (SuSE)
  • installing X libraries?? -- need your help!
    ... Then I tried to install a kdm theme called "QtCurve- ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ...
    (Debian-User)
  • [SLE] Problems with kxdocker
    ... I am attempting to install kxdocker in SuSE10.1 under KDE.. ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ...
    (SuSE)