When I try to install Rmpi, it has a dependency rsprng which, as its
description says: Provides interface to SPRNG 2.0 APIs
I installed it on Mepis by installing the appropriate debs with
minimal drama.  In the rpm world of Fedora, no such luxury.  
Installing rsprng fails because:
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?
So, in my hunt for such, I went here:  http://sprng.cs.fsu.edu/
The newest version is Version 4 which doesn't supply any sprng 2.0, so
I tried Version 2, but it looks as though it's not been updated for 10
years and the instructions don't quite fit the names of the files.
For whatever reason, make fails but the instructions for dealing with
such don't match the file names so I couldn't work out what needed
changing.
Is there somewhere else I should be looking for an sprng 2.0 header
file?
               _                           
platform       i686-pc-linux-gnu           
arch           i686                        
os             linux-gnu                   
system         i686, linux-gnu             
status                                     
major          2                           
minor          9.1                         
year           2009                        
month          06                          
day            26                          
svn rev        48839                       
language       R                           
version.string R version 2.9.1 (2009-06-26)
I've also tried R-2.10.1 with similar failure.
TIA
-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
This is really an R-devel topic. But, - Rmpi only suggests rsprng, and you are unlikely to need it. - sprng2.0b.tar.gz builds from the sources without problem on Fedora 12, and then rsprng installs. See http://sprng.fsu.edu/Version2.0/quick-start.html . On Thu, 18 Feb 2010, Patrick Connolly wrote:> When I try to install Rmpi, it has a dependency rsprng which, as its > description says: Provides interface to SPRNG 2.0 APIs > > I installed it on Mepis by installing the appropriate debs with > minimal drama. In the rpm world of Fedora, no such luxury. > > Installing rsprng fails because: > > 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? > > > So, in my hunt for such, I went here: http://sprng.cs.fsu.edu/ > > The newest version is Version 4 which doesn't supply any sprng 2.0, so > I tried Version 2, but it looks as though it's not been updated for 10 > years and the instructions don't quite fit the names of the files. > For whatever reason, make fails but the instructions for dealing with > such don't match the file names so I couldn't work out what needed > changing. > > Is there somewhere else I should be looking for an sprng 2.0 header > file? > > _ > platform i686-pc-linux-gnu > arch i686 > os linux-gnu > system i686, linux-gnu > status > major 2 > minor 9.1 > year 2009 > month 06 > day 26 > svn rev 48839 > language R > version.string R version 2.9.1 (2009-06-26) > > I've also tried R-2.10.1 with similar failure. > > TIA > > -- > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. > ___ Patrick Connolly > {~._.~} Great minds discuss ideas > _( Y )_ Average minds discuss events > (:_~*~_:) Small minds discuss people > (_)-(_) ..... Eleanor Roosevelt > > ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. > > ______________________________________________ > R-help at r-project.org 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. >-- 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
I've become a bit rusty using R CMD INSTALL from the shell prompt since the install.packages normally works so well. One of the arguments to R CMD INSTALL is --configure-args=ARGS>From looking at the rsprng package's configure file, it would seemthat I need to be able to get this line to work: SPRNG_INCLUDE="-I${SPRNG_ROOT}/include" My sprng.h is in /usr/local/sprng2.0/include/, so I think I need to know how I specify what SPRNG_ROOT is with --configure-args. I couldn't work out where braces, quotes and $ characters are used in this context. Or do I have to specify SPRNG_ROOT as an environment variable? TIA -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.