Skip to content

Compilation of R-2.2.0 under SUSE 10

9 messages · Peter Dalgaard, Rainer M Krug, Detlef Steuer

#
Hi

I hope this is the right list for the question.
I want to install R from source under SUSE 10. When executing ./Configure, I 
get the following error message:

checking for xmkmf... /usr/X11R6/bin/xmkmf
configure: WARNING: I could not determine FPICFLAGS.
configure: error: See the file INSTALL for more information.

and it taborts. Consequently, make does not work.

Any ideas?

Rainer
#
Rainer M Krug <rkrug at sun.ac.za> writes:
You probably want to look into config.log and see what caused the
FPICFLAGS message. It could be an oblique way of telling you that you
haven't installed a Fortran compiler.
#
Could you give me a hint what I should look for? I am quite new to Linux.

Rainer
On Friday 14 October 2005 14:19, Peter Dalgaard wrote:
#
Rainer M Krug <rkrug at sun.ac.za> writes:
As long as you can see where it goes wrong, just ask again, citing the
relevant bit of the log. Finding this is a bit convoluted for the
FPICFLAGS issue because the failing test is just for whether the
variable was set earlier, which AFAICS should happen here:


## Step 2.  GNU compilers.
if test "${GCC}" = yes; then
  cpicflags="-fPIC"
  shlib_ldflags="-shared"
fi
if test "${G77}" = yes; then
  fpicflags="-fPIC"
fi
if test "${GXX}" = yes; then
  cxxpicflags="-fPIC"
  shlib_cxxldflags="-shared"
fi

Now, the natural guess is that ${G77} wasn't set earlier on, so look
for the place where it figures out the Fortran compiler.

  
    
#
Hi,

most probably you are missing xorg-devel packages.
But there is another problem:
At least the downloadable version of 10.0 does not contain _any_ fortran compiler. At least I?m unable to find one.
I don`t know about the retail box. 

Still looking for an easy way to build an rpm package for 10.0 using some additional yast sources.

Hope that helps
Detlef

On Fri, 14 Oct 2005 14:48:26 +0200
Rainer M Krug <rkrug at sun.ac.za> wrote:

            
#
Hi

I solved the problem.

I hd a fortran compuiler installed and it is found:

configure:5331: g77 --version </dev/null >&5
GNU Fortran (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
Copyright (C) 2002 Free Software Foundation, Inc.

butr it was not working. I installed another fortran compiler (gccfortran) and 
it worked.

Thanks a lot for your help Peter

Rainer
On Friday 14 October 2005 15:30, Peter Dalgaard wrote:
#
As I wrote in my other email, I solved the problem and it is make'ing.

I agree - on the CD's there is no fortran compiler. I found it on a mirror of 
OpenSuse - including many more.

Concerning the rpm I don't know - never did it (anyway - that's my first 
compile under Linux...).

Rainer
On Friday 14 October 2005 15:37, Detlef Steuer wrote:
#
Detlef Steuer <detlef.steuer at hsu-hamburg.de> writes:
Hmm. What's wrong with 

http://ftp.opensuse.org/pub/opensuse/distribution/SL-10.0-OSS/inst-source/suse/x86_64/gcc-fortran-4.0.2_20050901-3.x86_64.rpm

?

        -p

  
    
#
On 14 Oct 2005 16:19:44 +0200
Peter Dalgaard <p.dalgaard at biostat.ku.dk> wrote:

            
Nothing, as far as I can see!
Thx for the hint. Don`t know why I missed it.

Detlef