Re: [R] compiler cannot create executables

From: Rob Dunne <rob.dunne_at_gmail.com>
Date: Thu, 21 Jun 2007 10:00:36 +1000

Hi Dick,

Dirk Eddelbuettel wrote:

>>>
>>> %sudo R CMD INSTALL --no-configure e1071_1.5-16.tar.gz
>> This statement of your conflicts with the msg you show below. Do you,
>> or don't you, succeed?
>>

sorry If my posting wasn't clear

%sudo R CMD INSTALL --no-configure e1071_1.5-16.tar.gz -- works

%sudo R CMD INSTALL e1071_1.5-16.tar.gz -- gives th error message

>> Please try 
>>
>>        $ sudo apt-get install r-base-dev

r-base-dev is already the newest version.

>>
>> as you seem to missing g++, and probably a host of other things.

>
> I don't have access to a 'breezy' box anymore but what it could be is
> that R expects a different compiler version then the system has as
> default -- g++-4.0 vs g++-3.4.
>
> What does 'grep g++ /etc/R/Makeconf' yield?
>
CXX = g++
CXXCPP = g++ -E
SHLIB_CXXLD = g++

I unpacked the package and ran the configure script. It runs with no problems.

%tar -xzf e1071_1.5-16.tar.gz
% cd e1071/
% ./configure

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 g++ accepts -g... yes

Bye and thanks
Rob



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. Received on Thu 21 Jun 2007 - 00:07:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 21 Jun 2007 - 00:32:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.