R-2.2.0 Compile problem on Slackware 10.2
This an error in a standard system header file /usr/include/errno.h, not something we can help with. However, is --build=i486-slackware-linux actually correct? Our manuals do not suggest you specify --build, and if incorrect it might just explain this.
On Fri, 4 Nov 2005, 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
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595