2007/7/18, Jos van Kan <[EMAIL PROTECTED]>:
Answer in the text.

Denis wrote:
(snip)
>>
>> The most important word in the English language: google

I didn't write that for nothing. Or did I?

Jos, U don't have to worry about that, just I know how much I googled
about this topic, but I didn't got success yet.

I walked around gnu site, gcc packages, gcc crossscompiler pages and a lot more.

>>
>> http://www.novell.com/products/linuxpackages/opensuse/compat-g77.html
>>
>> Regards
>> --
>> Jos van Kan                registered Linux user #152704
>>
> Jos, very thanks at all.
>
> But I'm still having some troubles.
> I'll describe better.
>
> I have a machine that haves the gcc 4.1 instaled, with these packages:
>
> gcc-info-4.1.0-28.4
> gcc-c++-4.1.0-28.4
> libgcc-x86-4.1.0-28.4
> gcc-fortran-4.1.0-28.4
> gcc-4.1.0-28.4
> libgcc-4.1.0-28.4
>
>
> I wanna compile a source that isn't compatible with FORTRAN95
> (gfortran) and request for FORTRAN77 (g77) that is provided only by
> older versions of gcc.
>
> So I need to isntall g77 but w/o damage or uninstall the new compilers
> that is already installed. (may be isntall a cross compiler? I'm no
> sure.)
>
> I downloaded the compat-g77-3.3.5-42.1.x86_64.rpm


That's the wrong one, unless you have a 64 bit processor (that's what the _64 
says)

Yes, I do have a Itaniun 64 based machine.

[EMAIL PROTECTED]:~/compat-g77> cat /proc/cpuinfo
processor  : 135
vendor     : GenuineIntel
arch       : IA-64
family     : 32
model      : 0
revision   : 5
archrev    : 0
features   : branchlong, 16-byte atomic ops
cpu number : 0
cpu regs   : 4
cpu MHz    : 1414.000681
itc MHz    : 399.000000
BogoMIPS   : 2834.43
siblings   : 2
physical id: 16899
core id    : 1
thread id  : 0

I have tried with a binary, but didn't have sucess. And sinceriously I
got a little scarred because I don't know if this package will
conflict or damage my other installed compilers.


>
> but when I try to install:
>
> [EMAIL PROTECTED]:~/compat-g77> rpm -ivh --test
> compat-g77-3.3.5-42.1.x86_64.rpm
> error: Failed dependencies:

Yes of course. That binary does not fit your machine.

>
> So, I tried the source rpm: compat-g77-3.3.5-42.1.src.rpm.
>
> with a rpm -ivh compat-g77-3.3.5-42.1.src.rpm

Why would you go compile from source, where you probably have the wrong gcc
compiler for that job anyway (4.1 instead of 3.5.5)?? Did you look for a an
existing binary? I gave you the link

http://www.novell.com/products/linuxpackages/opensuse/compat-g77.html

There it says that you need the file
compat-g77-3.3.5-38.i586.rpm

I googled for that (something you could have done too) and found as second or
third hit:

http://rpmseek.com/rpm/compat-g77-3.3.5-47.i586.html?hl=com&cx=0:-:0:3621049:0:0:0

There you are. A 32 bit binary specially brewn for SuSE 10.2

Forget compiling from source, if you are not sure what you are doing.

Regards,
--
Jos van Kan                registered Linux user #152704



These are the two main problems: I have a 64bits machine, and the 64
base package didn't installs.

I thought for use --force, but I'm afraid that it can destroy, or
damage the newest compilers.

Thanks again. Best regards.

Denis Anjos
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to