[R] compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)

Paul Hiemstra p.hiemstra at geo.uu.nl
Thu Nov 5 12:38:23 CET 2009


Νίκος Αλεξανδρής wrote:
> On Thu, 2009-11-05 at 01:13 -0800, cremi wrote:
>   
>> I habe installed ubuntu 9.04 server (powerpc) i want to install an R version
>>     
>>> 2.9.0 to run rmpi.
>>>       
>> When i add the repository to my sources.list
>> deb http://cran.at.r-project.org/bin/linux/ubuntu jaunty/
>> with
>> #sudo apt-get install r-base
>> i get this:
>> The following packages have unmet dependencies:
>>   r-base: Depends: r-base-core (>= 2.10.0-1jaunty0) but 2.8.1-1 is to be
>> installed
>>           Depends: r-recommended (= 2.10.0-1jaunty0) but it is not going to
>> be installed
>> E: Broken packages
>>
>> There exists no binary of on the r-homepage for powerpc (only for i386 or
>> amd64)
>>
>> so I tryied to install from source (R-2.9.2 and R-2.10.0)
>>
>> #./configure
>> gives me:
>> ...
>> checking for history_truncate_file... no
>> configure: error: --with-readline=yes (default) and headers/libs are not
>> available
>>     
Hi,

Try and install the dev package for readline:

sudo apt-get install libreadline-dev

Than you should be able to run ./configure with readline on, which is 
very much recommended from my point of view.

cheers,
Paul
>> #./configure --with-readline=no
>> i get this error
>> checking whether f77 appends extra underscores to external names... yes
>> checking whether mixed C/Fortran code can be run... configure: WARNING:
>> cannot run mixed C/Fortran code
>> configure: error: Maybe check LDFLAGS for paths to Fortran libraries?
>>
>>
>> i have installed:
>> libg2-dev
>> libg2c0
>> libx11-dev
>> build-essential
>> i even install
>> gnome-desktop-environment
>>
>> now I don't know what to try next. Hopefully someone can help me.
>>
>> Regards
>>     
>
>
> Maybe install "libcnf-dev" ( a library for C and Fortran mixed
> programming ) and try again (?).
>
> For any warning/ missing package search for it in the repositories,
> e.g.:
>
> sudo apt-cache search f77
>
> Also useful is to use sometimes "apt-file":
>
> # install it
> sudo apt-get install apt-file
>
> # it will prompt for update, let it update
> # use it
> sudo apt-file find f77
> # the latter will give all(?) possible files related with f77 (I think).
>
> Hope this helps. Regards, Nikos
>
> ______________________________________________
> 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.
>   


-- 
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone:  +3130 274 3113 Mon-Tue
Phone:  +3130 253 5773 Wed-Fri
http://intamap.geo.uu.nl/~paul




More information about the R-help mailing list