[R] Building R on Interix 6.0
Peter Dalgaard
P.Dalgaard at biostat.ku.dk
Tue Jul 10 15:23:03 CEST 2007
Oakeley, Edward wrote:
> Dear all,
>
> I have been trying to build R-2.5.1 on the Interix-6.0 Unix subsystem
> that ships with Vista and everything looks fine during the configure
> except towards the end when "sed" throws an error:
>
> sed: 1: ""s/\*/\\\*/g"": invalid command code "
>
> A few lines later I then get:
>
> ./configure: : bad substitution
>
> So I guess sed is trying to do something and because it failed the rest
> of the configure process breaks. It would be very helpful to get R to
> build (or at least the "standalone" bits) because then I can link it in
> to perl scripts running on Interix that make use of R libraries.
>
> If anyone can make a suggestion I would really appreciate it as the
> alternative (cygwin) is REALLY slow compared to Interix.
>
>
Ouch. Good luck...
Looks like you also have some serious issues with shared libraries,
without which you will have trouble loading R packages (i.e. with
everything, basically).
The sed issue appears to involve quoting; could it be related to
whichever shell is being used?
> The output from the ./configure command is listed below in case I missed
> something.
>
> Thanks
>
> Ed
>
> ----------
> checking build system type... i586-pc-interix6.0
> checking host system type... i586-pc-interix6.0
> loading site script './config.site'
> loading build specific script './config.site'
> checking for pwd... /bin/pwd
> checking whether builddir is srcdir... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for gawk... gawk
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> checking for bison... bison -y
> checking for ar... ar
> checking for a BSD-compatible install... /bin/install -c
> checking for sed... /bin/sed
> checking for less... /bin/less
> checking for perl... /usr/local/bin/perl
> checking whether perl version is at least 5.004... yes
> checking for dvips... no
> checking for tex... no
> checking for latex... no
> checking for makeindex... no
> checking for pdftex... no
> checking for pdflatex... no
> checking for makeinfo... /usr/local/bin/makeinfo
> checking whether makeinfo version is at least 4.7... yes
> checking for unzip... /usr/contrib/bin/unzip
> checking for zip... /usr/contrib/bin/zip
> checking for gzip... /usr/local/bin/gzip
> checking for firefox... no
> checking for mozilla... no
> checking for netscape... no
> checking for galeon... no
> checking for kfmclient... no
> checking for opera... no
> checking for gnome-moz-remote... no
> checking for open... no
> checking for acroread... no
> checking for acroread4... no
> checking for xpdf... no
> checking for gv... no
> checking for gnome-gv... no
> checking for ggv... no
> checking for kghostview... no
> checking for open... no
> checking for gpdf... no
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking whether gcc needs -traditional... no
> checking how to run the C preprocessor... gcc -E
> checking for g77... g77
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether g77 accepts -g... yes
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking how to run the C++ preprocessor... g++ -E
> checking whether __attribute__((visibility())) is supported... no
> checking whether gcc accepts -fvisibility... no
> checking whether g77 accepts -fvisibility... no
> checking for gcc... gcc
> checking whether we are using the GNU Objective C compiler... yes
> checking whether gcc accepts -g... yes
> checking whether g++ can compile ObjC++... yes
> checking for Objective C++ compiler... g++
> checking for a sed that does not truncate output... /bin/sed
> checking for ld used by gcc... /opt/gcc.3.3/i586-pc-interix3/bin/ld
> checking if the linker (/opt/gcc.3.3/i586-pc-interix3/bin/ld) is GNU
> ld... yes
> checking for /opt/gcc.3.3/i586-pc-interix3/bin/ld option to reload
> object files... -r
> checking for BSD-compatible nm... /bin/nm -B
> checking how to recognise dependent libraries... unknown
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking the maximum length of command line arguments... 262144
> checking command to parse /bin/nm -B output from gcc object... ok
> checking for objdir... .libs
> checking for ranlib... (cached) ranlib
> checking for strip... strip
> checking if gcc static flag works... yes
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker (/opt/gcc.3.3/i586-pc-interix3/bin/ld)
> supports shared libraries... no
> checking dynamic linker characteristics... no
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... no
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by g++... /opt/gcc.3.3/i586-pc-interix3/bin/ld
> checking if the linker (/opt/gcc.3.3/i586-pc-interix3/bin/ld) is GNU
> ld... yes
> checking whether the g++ linker (/opt/gcc.3.3/i586-pc-interix3/bin/ld)
> supports shared libraries... no
> sed: 1: ""s/\*/\\\*/g"": invalid command code "
> checking for g++ option to produce PIC... -fPIC
> checking if g++ PIC flag -fPIC works... yes
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (/opt/gcc.3.3/i586-pc-interix3/bin/ld)
> supports shared libraries... no
> checking dynamic linker characteristics... no
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> appending configuration tag "F77" to libtool
> checking if libtool supports shared libraries... no
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for g77 option to produce PIC... -fPIC
> checking if g77 PIC flag -fPIC works... yes
> checking if g77 supports -c -o file.o... yes
> checking whether the g77 linker (/opt/gcc.3.3/i586-pc-interix3/bin/ld)
> supports shared libraries... no
> checking dynamic linker characteristics... no
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> ./configure: : bad substitution
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
O__ ---- Peter Dalgaard Øster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list