From p.dalgaard at biostat.ku.dk  Fri Oct 14 15:30:21 2005
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: 14 Oct 2005 15:30:21 +0200
Subject: [Rd] Compilation of R-2.2.0 under SUSE 10
In-Reply-To: <200510141448.26918.>
References: <200510141409.55638.rkrug@sun.ac.za>
	<x28xwwthnf.fsf@viggo.kubism.ku.dk> <200510141448.26918.>
Message-ID: <x2y84wrzte.fsf@viggo.kubism.ku.dk>

Rainer M Krug <rkrug at sun.ac.za> writes:

> Could you give me a hint what I should look for? I am quite new to Linux.
> 
> Rainer

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.

 
> 
> On Friday 14 October 2005 14:19, Peter Dalgaard wrote:
> > Rainer M Krug <rkrug at sun.ac.za> writes:
> > > 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?
> >
> > 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.
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

-- 
   O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



[Rd] Compilation of R-2.2.0 under SUSE 10
Peter Dalgaard