Re: [opensuse] searching for and installing a package
2007/7/18, Jos van Kan <vankan@kabelfoon.nl>:
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. denismpa@bachianas:~/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:
denismpa@bachianas:~/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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2007-07-18 at 16:01 -0300, Denis wrote:
2007/7/18, Jos van Kan <vankan@kabelfoon.nl>:
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.
An x86_64 is not the same as an ia64 (google for more info if necessary :). It would have been helpful to give us that information at the beginning. The ia64 is nowadays an unusual machine. There's a specific opensuse-ia64 mailing list - you may get more expert advice there. If you have any possibility to install the corsika application on another machine that uses the x86_64 architecture, I would do that. It will be a lot easier because you can just use the precompiled packages in YaST to setup your development environment. Even if you do need it on the ia64, it may be worth setting up the development environment on an x86_64 machine and building corsika on it just to see how it all works. Then with the benefit of that successful experience, you could try recompiling on the ia64. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
An x86_64 is not the same as an ia64 (google for more info if necessary :). It would have been helpful to give us that information at the beginning.
Wow sorry, I didn't have knowledge that it's differents things
The ia64 is nowadays an unusual machine. There's a specific opensuse-ia64 mailing list - you may get more expert advice there.
If you have any possibility to install the corsika application on another machine that uses the x86_64 architecture, I would do that. It will be a lot easier because you can just use the precompiled packages in YaST to setup your development environment.
Even if you do need it on the ia64, it may be worth setting up the development environment on an x86_64 machine and building corsika on it just to see how it all works. Then with the benefit of that successful experience, you could try recompiling on the ia64.
Cheers, Dave
Dave, as I told in my last mail I got some informations that the CORSIKA code should compile with gfortran. I will try some experiences with that, if I don't have success I'll be back with g77. Very thanks for your time and your advices. Best regards, Denis Anjos. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Dave Howorth
-
Denis