From p.dalgaard at biostat.ku.dk  Wed Feb  9 23:53:50 2005
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Wed Feb  9 23:58:26 2005
Subject: [Rd] install issue | suse 9.2
In-Reply-To: <C698D707214E6F4AB39AB7096C3DE5A584E4BA@phost015.EVAFUNDS.intermedia.net>
References: <C698D707214E6F4AB39AB7096C3DE5A584E4BA@phost015.EVAFUNDS.intermedia.net>
Message-ID: <x2vf91fipt.fsf@biostat.ku.dk>

It's not endemic to suse 9.2 (compile running as I write this).

Google finds some messages from the amd64 list with similar error
messages. Any chance you are running a 64bit OS and mixing up 32 and
64bit tool chains? 

rpm -qf `which gas`
rpm -qf `which g77` 

could be revealing.


"Dale Ryon Wilhelm" <dwilhelm@evafunds.com> writes:

> looked thru config.log and got the following ( see below )... not
> knowing much about fortran, this doesn't make much sense to me... my
> apologies for the initial html message... 
> 
> configure:25460: checking how to get verbose linking output from g77
> configure:25471: g77 -c  conftest.f >&5
> /tmp/ccK3gsfu.s: Assembler messages:
> /tmp/ccK3gsfu.s:8: Error: suffix or operands invalid for `push'
> /tmp/ccK3gsfu.s:12: Error: suffix or operands invalid for `push'
> /tmp/ccK3gsfu.s:13: Error: suffix or operands invalid for `push'
> configure:25477: $? = 1
> configure: failed program was:
> |       program main
> | 
> |       end
> configure:25556: WARNING: compilation failed
> configure:25562: result: 
> configure:25564: checking for Fortran libraries of g77
> configure:25585: g77 -o conftest   -L/usr/local/lib conftest.f  >&5
> /tmp/cclyaHyt.s: Assembler messages:
> /tmp/cclyaHyt.s:8: Error: suffix or operands invalid for `push'
> /tmp/cclyaHyt.s:12: Error: suffix or operands invalid for `push'
> /tmp/cclyaHyt.s:13: Error: suffix or operands invalid for `push'
> configure:25746: result: 
> configure:25785: checking for dummy main to link with Fortran libraries
> configure:25824: gcc -o conftest -g -O2 -I/usr/local/include
> -L/usr/local/lib co
> nftest.c -ldl -lm   >&5
> configure:25830: $? = 0
> configure:25834: test -z 
>                          || test ! -s conftest.err
> configure:25837: $? = 0
> configure:25840: test -s conftest
> configure:25843: $? = 0
> configure:25921: result: none
> configure:25958: checking for Fortran name-mangling scheme
> configure:25972: g77 -c  conftest.f >&5
> /tmp/ccpZMdHB.s: Assembler messages:
> /tmp/ccpZMdHB.s:6: Error: suffix or operands invalid for `push'
> /tmp/ccpZMdHB.s:8: Error: suffix or operands invalid for `pop'
> /tmp/ccpZMdHB.s:14: Error: suffix or operands invalid for `push'
> /tmp/ccpZMdHB.s:16: Error: suffix or operands invalid for `pop'
> configure:25978: $? = 1
> configure: failed program was:
> |       subroutine foobar()
> |       return
> |       end
> |       subroutine foo_bar()
> |       return
> |       end
> configure:26186: error: cannot compile a simple Fortran program
> See `config.log' for more details.
> 
> 
> 
> 
> -----Original Message-----
> From: Prof Brian Ripley [mailto:ripley@stats.ox.ac.uk] 
> Sent: Wednesday, February 09, 2005 2:08 PM
> To: Dale Ryon Wilhelm
> Cc: r-devel@stat.math.ethz.ch
> Subject: Re: [Rd] install issue | suse 9.2
> 
> It says
> 
> > See `config.log' for more details
> 
> Please look there and extract the information (and see the comment about
> 
> HTML mail below).
> 
> 
> On Wed, 9 Feb 2005, Dale Ryon Wilhelm wrote:
> 
> > i am trying to install r v2.0.1 on my suse 9.2 pro box... when i run
> > configure, i get the following error:
> >
> >
> >
> > checking how to get verbose linking output from g77... configure:
> > WARNING: compilation failed
> >
> >
> >
> > checking for Fortran libraries of g77...
> >
> > checking for dummy main to link with Fortran libraries... none
> >
> > checking for Fortran name-mangling scheme... configure: error: cannot
> > compile a simple Fortran program
> >
> > See `config.log' for more details
> >
> >
> >
> > anybody know why i am getting this error? g77 is installed correctly
> and
> > working properly...
> >
> >
> >
> >
> >
> > -<0>-
> >
> > d. ryon wilhelm
> >
> > EVNINE-VAUGHAN ASSOCIATES, INC.
> >
> > 415.835.7855
> >
> >
> >
> >
> > 	[[alternative HTML version deleted]]
> 
> The posting guide does ask you not to send HTML mail.
> 
> 
> -- 
> Brian D. Ripley,                  ripley@stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
> 
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907


[Rd] install issue | suse 9.2
Peter Dalgaard