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

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri 04 Nov 2005 - 17:36:43 GMT

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

-- 
Brian D. Ripley,                  ripley@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

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

This archive was generated by hypermail 2.1.8 : Fri 04 Nov 2005 - 21:21:43 GMT