From rkrug at sun.ac.za  Fri Oct 14 16:08:36 2005
From: rkrug at sun.ac.za (Rainer M Krug)
Date: Fri, 14 Oct 2005 16:08:36 +0200
Subject: [Rd] Compilation of R-2.2.0 under SUSE 10
In-Reply-To: <x2y84wrzte.fsf@viggo.kubism.ku.dk>
References: <200510141409.55638.rkrug@sun.ac.za> <200510141448.26918.>
	<x2y84wrzte.fsf@viggo.kubism.ku.dk>
Message-ID: <200510141608.36500.rkrug@sun.ac.za>

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



[Rd] Compilation of R-2.2.0 under SUSE 10
Rainer M Krug