Re: [Rd] R-2.2.0 Compile problem on Slackware 10.2

From: Hin-Tak Leung <hin-tak.leung_at_cimr.cam.ac.uk>
Date: Fri 04 Nov 2005 - 18:12:42 GMT

Your system is badly screwed up. On my Slackware 10.2, /usr/include/asm/errno.h is just a plain file and doesn't include anything else, unlike yours, which seems to look for "asm-generic/errno.h".

The package you need to re-install is "kernel-headers-2.4.31-i386-1". It is part of the d series, on your slackware CD or wherever you got it installed from. On your box, the file is not missing but screwed up, so you should get somebody more experienced to take a look at your box and get it fixed before trying to uninstall/reinstall.

Good luck.
HTL P.S. for ix86, very old slackware [kernel 2.2 or before?] "asm/errno.h" is linked to "/usr/src/linux/include/asm-i386/errno.h" [because "/usr/include/asm" is linked to "/usr/src/linux/include/asm", which in turn is linked to "asm-i386" (I have an "asm-generic", which is just a link from asm-i386); for more modern boxes, "asm/errno.h" is just a plain file in a plain directory.

R S Ananda Murthy wrote:
> Hello,
>
> I am trying to compile R-2.2.0 on Slackware 10.2.
>
> I did ./configure --prefix=/usr --build=i486-slackware-linux. It went
> off without any problem and gave this configure status:
>
> R is now configured for i486-slackware-linux-gnu
>
> Source directory: .
> Installation directory: /usr
>
> C compiler: gcc -g -O2
> C++ compiler: g++ -g -O2
> Fortran compiler: g77 -g -O2
>
> Interfaces supported: X11, tcltk
> External libraries: readline
> Additional capabilities: PNG, JPEG, iconv, MBCS, NLS
> Options enabled: R profiling
>
> Recommended packages: yes
>
> When I gave make command, I got the following error message:
>
> gcc -I. -DUSE_MMAP -I. -I../../../src/include -I../../../src/include
> -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c crc32.c -o crc32.o
> In file included from /usr/include/linux/errno.h:4,
> from /usr/include/bits/errno.h:25,
> from /usr/include/errno.h:36,
> from zutil.h:38,
> from crc32.c:29:
> /usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or
> directory
> make[4]: *** [crc32.o] Error 1
> make[4]: Leaving directory `/home/anand/R-2.2.0/src/extra/zlib'
> make[3]: *** [R] Error 2
> make[3]: Leaving directory `/home/anand/R-2.2.0/src/extra/zlib'
> make[2]: *** [R] Error 1
> make[2]: Leaving directory `/home/anand/R-2.2.0/src/extra'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/home/anand/R-2.2.0/src'
> make: *** [R] Error 1
>
> What should I do to correct this?
>
> Thanks for your help.
>
> Anand
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Nov 05 05:16:39 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:33 GMT