From ripley at stats.ox.ac.uk  Wed Feb  9 23:43:05 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed Feb  9 23:43:15 2005
Subject: [Rd] install issue | suse 9.2
In-Reply-To: <C698D707214E6F4AB39AB7096C3DE5A584E4BA@phost015.EVAFUNDS.intermedia.net>
References: <C698D707214E6F4AB39AB7096C3DE5A584E4BA@phost015.EVAFUNDS.intermedia.net>
Message-ID: <Pine.LNX.4.61.0502092237570.4876@gannet.stats>

Your assembler and your g77 don't match.  What platform is this, and is 
the g77 for the right platform (e.g. not x86_64 on ix86)?

We can only guess why, but your Fortran compiler is not working correctly
and you need to seek SuSE-specific help.

On Wed, 9 Feb 2005, Dale Ryon Wilhelm wrote:

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

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


[Rd] install issue | suse 9.2
Prof Brian Ripley