On Thu, Jan 6, 2011 at 12:57 PM, Steve Moffitt <smoff...@whtrading.com> wrote: > My mail server didn't like the attached installation script - I've resent it > with the script header removed. > ________________________________________ > From: rcpp-devel-boun...@lists.r-forge.r-project.org > [rcpp-devel-boun...@lists.r-forge.r-project.org] On Behalf Of Steve Moffitt > [smoff...@whtrading.com] > Sent: Thursday, January 06, 2011 12:35 PM > To: rcpp-devel@lists.r-forge.r-project.org > Subject: [Rcpp-devel] Installation issue for Rcpp_0.8.9 and Rcpp_0.9.0 > > First, is this an appropriate way to report issues with Rcpp and RInside? > > Second, I'd like to commend all developers for your fine work in supporting > the R environment, especially through the Rcpp and RInside packages. > > I've updated both versions on an up-to-date Fedora Core 13 machine and they > work quite well. > > I'm having some trouble, however, installing Rcpp in a production environment > over which I have little control. Here are the particulars. > > (1) I can build R-2.12.0 successfully on a Redhat 5.0 platform with a bash > shell (Linux quant1 2.6.18-194.26.1.el5 #1 SMP Fri Oct 29 14:21:16 EDT 2010 > x86_64 x86_64 x86_64 GNU/Linux) using gcc/g++ v.4.1.2. The build succeeds; R > launches successfully and I can installs packages using 'install.packages' or > R CMD INSTALL. An installation script 'installR.ksh' is attached - it > succeeds up to the point when R CMD INSTALL attempts to install Rcpp. Note > that R-2.12.0 is installed in a directory ~/prod/thirdparty/R/R-2,12,0 and > that I intended to install packages into ~/prod/thirdparty/R/R-2,12,0/library. > > (2) I can install packages 'chron', 'dateTime' and 'timeSeries' from gzipped > source or from the command line. (The machine's firewall prevents me from > installing via the web.) I haven't tried installing other packages since I > don't need them at this time. > > (3) I've spent several days trying unsuccessfully to install Rcpp_0.8.9 and > Rcpp_0.9.0 by reading the 'R Installation and Administration' and 'Writing R > Extensions' docs to determine if I've installed incorrectly. Rcpp build > output is attached, generated from a command line invocation of > 'install.packages'. I determined that everything works as it should (targets > built, etc.) up to the 'dyn.load' test. There the installation fails when it > can't locate the (mangled) symbol '_ZTVN10__cxxabiv120__si_class_type_infoE'. > > (4) The same error occurs when I attempt to install using 'R CMD INSTALL'. > > Can you advise? Thanks in advance.
I think the problem is in your configuration of R. You may be able to use gcc to compile C++ source code (although it does get confused, as exhibited by the error messages from the compilation of Data.cpp) but it won't link with the C++ libraries properly. On most Linux systems R CMD config CXX should return g++, not gcc I think you will need to do the configuration of R again. I don't know much about the Red Hat family of distributions but is there a precompiled binary from CRAN that you could use instead of compiling yourself? _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel