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

7 messages Options
Embed this post
Permalink
cremi

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

Reply Threaded More More options
Print post
Permalink
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
Nikos Alexandris

Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)

Reply Threaded More More options
Print post
Permalink
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

______________________________________________
[hidden email] 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.
Paul Hiemstra

Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)

Reply Threaded More More options
Print post
Permalink
Νίκος Αλεξανδρής 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
>
> ______________________________________________
> [hidden email] 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

______________________________________________
[hidden email] 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.
Ista Zahn

Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)

Reply Threaded More More options
Print post
Permalink
In reply to this post by cremi
Hi,
The easiest way to get everything you need is

sudo apt-get build-dep r-base

-Ista

On Thu, Nov 5, 2009 at 4:13 AM, cremi <[hidden email]> 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
>
> --
> View this message in context: http://old.nabble.com/compiling-R-2.9.2-or-R-2.10.0-on-ubuntu-9.04-%28powerpc%29-tp26208637p26208637.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email] 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.
>



--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

______________________________________________
[hidden email] 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.
cremi

Antw: Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)

Reply Threaded More More options
Print post
Permalink
In reply to this post by Paul Hiemstra
i installed:
 libreadline-dev
 libcnf-dev
 
but configure with no readline brings the same error.
 
regards,
laurin

>>> Paul Hiemstra <[hidden email]> 05.11.2009 12:38 >>>
sudo apt-get install libreadline-dev

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
cremi

Antw: Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)

Reply Threaded More More options
Print post
Permalink
In reply to this post by Ista Zahn
That helped!
 
I did not knew the build-dep option.
 
Thanks a lot.
 
laurin


>>> Ista Zahn <[hidden email]> 05.11.2009 13:42 >>>
Hi,
The easiest way to get everything you need is

sudo apt-get build-dep r-base

-Ista

On Thu, Nov 5, 2009 at 4:13 AM, cremi <[hidden email]> 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
>
> --
> View this message in context: http://old.nabble.com/compiling-R-2.9.2-or-R-2.10.0-on-ubuntu-9.04-%28powerpc%29-tp26208637p26208637.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> [hidden email] 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.
>



--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Paul Hiemstra

Re: Antw: Re: compiling R-2.9.2 or R-2.10.0 on ubuntu 9.04 (powerpc)

Reply Threaded More More options
Print post
Permalink
In reply to this post by cremi
Laurin Müller wrote:

> i installed:
>  libreadline-dev
>  libcnf-dev
>  
> but configure with no readline brings the same error.
>  
> regards,
> laurin
>
> >>> Paul Hiemstra <[hidden email]> 05.11.2009 12:38 >>>
> sudo apt-get install libreadline-dev
Try running with readline turned on (the default). In regard to your
problem, check the value of the LDFLAGS and have a look at the following
e-mail from the archive (found by googling your error message):

http://www.mail-archive.com/r-help@.../msg20344.html

cheers,
Paul

--
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

______________________________________________
[hidden email] 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.