[Rd] R-2.2.0 Compile problem on Slackware 10.2

R S Ananda Murthy rsamurti at touchtelindia.net
Sat Nov 5 08:28:15 CET 2005


Dear HTL,

Thanks for your help. I reinstalled kernel-headers-2.4.31 as mentioned 
by you. Now it compiled without any errors. Thanks again.

Regards,

Anand

Hin-Tak Leung wrote:

> 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 at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
>
>



More information about the R-devel mailing list