I have a problem…In open suse 11.0 ,there is not any gcc present with distribution.And also i have not any internet connection.So i downloaded the RPM packages of gcc 4.3.1 from open suse software package website and i install it through
command
rpm -ivh filename.rpm
but when i type gcc on command prompt it told that GCC command not found.I install all dependencies.
If you know,what are the RPM packages require for installing GCC,G++(ie c and C++).please help me out.
You must have installed from a live CD. Which maybe doesn’t have that package.
rpm -ivh filename
you ran as root?
Alwyas better to use the dvd for install
DVD size is more than 4 GB so it is not possible to take it in pen drive from my download place.You have any method so that I break the size and finally i joined it before writing it on DVD
rpm -ivh filename
** you ran as root**?
manish2621982 schrieb:
> I have a problem…In open suse 11.0 ,there is not any gcc present with
> distribution.
Can’t confirm. On my openSUSE 11.0 Retail DVD I find:
ts@xenon:/media/SU1100.001/suse> find . -name “gcc”
…/i586/cross-spu-gcc-4.3.1_20080507-7.1.i586.rpm
…/i586/gcc43-4.3.1_20080507-6.1.i586.rpm
…/i586/gcc43-c+±4.3.1_20080507-6.1.i586.rpm
…/i586/gcc43-fortran-4.3.1_20080507-6.1.i586.rpm
…/i586/gcc43-gij-4.3.1_20080507-9.1.i586.rpm
…/i586/gcc43-info-4.3.1_20080507-6.1.i586.rpm
…/i586/gcc43-java-4.3.1_20080507-9.1.i586.rpm
…/i586/gcc43-objc-4.3.1_20080507-6.1.i586.rpm
…/i586/gcc-4.3-39.1.i586.rpm
…/i586/gcc-c+±4.3-39.1.i586.rpm
…/i586/gcc-fortran-4.3-39.1.i586.rpm
…/i586/gcc-gij-4.3-39.1.i586.rpm
…/i586/gcc-info-4.3-39.1.i586.rpm
…/i586/gcc-java-4.3-39.1.i586.rpm
…/i586/gcc-objc-4.3-39.1.i586.rpm
…/i586/libgcc43-4.3.1_20080507-6.1.i586.rpm
…/x86_64/cross-spu-gcc-4.3.1_20080507-7.1.x86_64.rpm
…/x86_64/gcc43-objc-32bit-4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/gcc43-fortran-32bit-4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/gcc43-32bit-4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/gcc43-4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/gcc43-c+±4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/gcc43-fortran-4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/gcc43-gij-4.3.1_20080507-9.1.x86_64.rpm
…/x86_64/gcc43-info-4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/gcc43-java-4.3.1_20080507-9.1.x86_64.rpm
…/x86_64/gcc43-objc-4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/gcc-32bit-4.3-39.1.x86_64.rpm
…/x86_64/gcc-4.3-39.1.x86_64.rpm
…/x86_64/gcc-c+±4.3-39.1.x86_64.rpm
…/x86_64/gcc-fortran-4.3-39.1.x86_64.rpm
…/x86_64/gcc-fortran-32bit-4.3-39.1.x86_64.rpm
…/x86_64/gcc-gij-4.3-39.1.x86_64.rpm
…/x86_64/gcc-info-4.3-39.1.x86_64.rpm
…/x86_64/gcc-java-4.3-39.1.x86_64.rpm
…/x86_64/gcc-objc-32bit-4.3-39.1.x86_64.rpm
…/x86_64/gcc-objc-4.3-39.1.x86_64.rpm
…/x86_64/libgcc43-4.3.1_20080507-6.1.x86_64.rpm
…/x86_64/libgcc43-32bit-4.3.1_20080507-6.1.x86_64.rpm
ts@xenon:/media/SU1100.001/suse>
So it’s all there.
> And also i have not any internet connection.So i
> downloaded the RPM packages of gcc 4.3.1 from open suse software
> package website and i install it through
> command
> rpm -ivh filename.rpm
> but when i type gcc on command prompt it told that GCC command not
> found.
Then something must have gone wrong with the installation of the gcc
package. Did the rpm command output anything? What does the command
rpm -qa “gcc”
say? What exactly is the result if you type gcc at a command prompt?
>I install all dependencies.
> If you know,what are the RPM packages require for installing GCC,G++(ie
> c and C++).please help me out.
Dependencies don’t come into play at that stage. It should at least
find the gcc command. Later, for actually compiling and linking C
programs, you’ll need packages binutils, make, libc-devel, and
depending on what you’ll actually want to compile, probably a number
of other -devel packages, too.
HTH
T.