fchen at zlanddpsasp.specmarkmet.com
2007-May-18 22:14 UTC
[Rd] Cannot install rsprng package (PR#9697)
<<insert bug report here>> I cannot install the R package "rsprng" with the following error message:> install.packages("rsprng")trying URL 'http://www.stathy.com/cran/src/contrib/rsprng_0.3-4.tar.gz' Content type 'application/x-tar' length 35934 bytes opened URL =================================================downloaded 35Kb * Installing *source* package 'rsprng' ... 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 ANSI C... none needed Try to find sprng.h ... checking how to run the C preprocessor... gcc -E checking for egrep... grep -E 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... no checking for unistd.h... yes checking sprng.h usability... no checking sprng.h presence... no checking for sprng.h... no Cannot find sprng 2.0 header file. ERROR: configuration failed for package 'rsprng' ** Removing '/u22/res/fchen/packages/R-2.4.1/lib/R/library/rsprng' The downloaded packages are in /tmp/Rtmpl3MeWk/downloaded_packages Warning message: installation of package 'rsprng' had non-zero exit status in: install.packages("rsprng") =============================================================================== Thanks for your help! Feiming Chen --please do not edit the information below-- Version: platform = sparc-sun-solaris2.9 arch = sparc os = solaris2.9 system = sparc, solaris2.9 status = major = 2 minor = 4.1 year = 2006 month = 12 day = 18 svn rev = 40228 language = R version.string = R version 2.4.1 (2006-12-18) Locale: /en_US.ISO8859-1/C/en_US.ISO8859-1/en_US.ISO8859-1/en_US.ISO8859-1/C Search Path: .GlobalEnv, package:stats, package:graphics, package:grDevices, package:utils, package:datasets, package:methods, Autoloads, package:base
Please do NOT report bugs on add-on packages to r-bugs. On 19 May 2007 at 00:14, fchen at zlanddpsasp.specmarkmet.com wrote: | I cannot install the R package "rsprng" with the following error message: | | > install.packages("rsprng") | trying URL 'http://www.stathy.com/cran/src/contrib/rsprng_0.3-4.tar.gz' | Content type 'application/x-tar' length 35934 bytes | opened URL | =================================================| downloaded 35Kb | | * Installing *source* package 'rsprng' ... | checking for gcc... gcc [...] | checking for sprng.h... no | Cannot find sprng 2.0 header file. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You need to install the sprng library first, and do it in such a way that configure for rsprng finds. There are some daemons lurking there -- if it helps, I also packaged both sprng and rsprng for Debian and you could look at the package sources via any Debian mirror. But then your task is harder anyway as you are wrestling with a real Unix flavour and its bugs^Hfeatures. Dirk -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison