From rsamurti at touchtelindia.net  Fri Nov  4 18:19:00 2005
From: rsamurti at touchtelindia.net (R S Ananda Murthy)
Date: Fri, 04 Nov 2005 22:49:00 +0530
Subject: [Rd] R-2.2.0 Compile problem on Slackware 10.2
Message-ID: <436B9804.4000703@touchtelindia.net>

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



[Rd] R-2.2.0 Compile problem on Slackware 10.2
R S Ananda Murthy