[R] i686

gb gb at stat.umu.se
Fri Apr 21 14:33:26 CEST 2000


On Fri, 21 Apr 2000, Kurt Hornik wrote:

> >>>>> Peter Dalgaard BSA writes:
> 
> > gb <gb at stat.umu.se> writes:
> >> When I installed R-1.0.1 on my RH-6.1 Linux machine I got, when
> >> running  'configure' (only the first few lines repeated here):
> >> 
> >> --------------------------------------------------
> >> [root at localhost R-1.0.1]# ./configure --with-gnome
> >> creating cache ./config.cache
> >> checking host system type... i686-unknown-linux
> >> loading site script ./config.site
> >> loading build specific script ./config.site
> >> ./configure: i686: command not found
> >> --------------------------------------------------
> >> 
> >> It's the last line that worries me. Obviously, configure tries to
> >> do something special if the target is an i686, but has it succeeded?
> >> And do I have to worry?
> 
> > Yes, you should worry.... One thing you might do to debug it is to run
> > configure as "sh -x /path/to/configure". This echoes every sh command
> > that the script is running, so it should tell you exactly where the
> > error is coming from. (Tons of output, divert it to a file or run
> > through a pager). 
> 
> > My best guess is that you have something in config.site that is not
> > supposed to be there.
> 
> I think there is no need to worry.  The problem seems to occur when
> using --with-gnome, irrespective of what config.site and/or .Rconf do.

Yes, I just found out; without that flag, no error message. And in
'configure' I find:

# Check whether --with-gnome or --without-gnome was given.
if test "${with_gnome+set}" = set; then
  withval="$with_gnome"
  if test "${withval}" = yes; then
    want_gnome=yes                        >>> Note
        $1                                >>> here
  else

It seems as if  $1  evaluates to  i686  here? Is this the bug? 

> It is solved by upgrading the tools/config.{sub,guess} scripts and
> making related changes in configure.in.  This is already taken care of
> in the development version.

Can I replace  $1  with

      LDFLAGS="$LDFLAGS -L${withval}/lib"
      CFLAGS="$CFLAGS -I${withval}/include"
      gnome_prefix=${withval}/lib

which I found a few lines futher down in configure?

Göran

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list