[R] compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)
Νίκος Αλεξανδρής
nikos.alexandris at felis.uni-freiburg.de
Thu Nov 5 11:02:53 CET 2009
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
>
> #./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
More information about the R-help
mailing list