LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installation gcc-4.4.4 on SUSE 10 SP4 (https://www.linuxquestions.org/questions/linux-newbie-8/installation-gcc-4-4-4-on-suse-10-sp4-4175519926/)

sandeep002gupta 09-24-2014 10:16 AM

installation gcc-4.4.4 on SUSE 10 SP4
 
Hi,

please let me know can we install gcc-4.4.4 version on SUSE Linux Enterprise Server 10 SP4 (x86_64)

as inbuilt gcc-4.1.2 version available in ISO.

May I know can we update it gcc-4.4.4 or not beacuse I'ge download from Internet updated version gcc-4.4.4 and try to install its asking no. of dependencies as per below:

linux240:~ # rpm -ivh gcc-4.4.4-13.el6.x86_64.rpm
warning: gcc-4.4.4-13.el6.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 192a7d7d
error: Failed dependencies:
binutils >= 2.19.51.0.14-33 is needed by gcc-4.4.4-13.el6.x86_64
cloog-ppl >= 0.15 is needed by gcc-4.4.4-13.el6.x86_64
cpp = 4.4.4-13.el6 is needed by gcc-4.4.4-13.el6.x86_64
libc.so.6(GLIBC_2.11)(64bit) is needed by gcc-4.4.4-13.el6.x86_64
libgcc >= 4.4.4-13.el6 is needed by gcc-4.4.4-13.el6.x86_64
libgomp = 4.4.4-13.el6 is needed by gcc-4.4.4-13.el6.x86_64
libgomp.so.1()(64bit) is needed by gcc-4.4.4-13.el6.x86_64
rpmlib(FileDigests) <= 4.6.0-1 is needed by gcc-4.4.4-13.el6.x86_64
rpmlib(PayloadIsXz) <= 5.2-1 is needed by gcc-4.4.4-13.el6.x86_64


its not possible to get resolve all dependencies manual so have any other option or its not possible to do upgrade.

Thanks in advanced.

TB0ne 09-24-2014 10:25 AM

Quote:

Originally Posted by sandeep002gupta (Post 5243559)
Hi,
please let me know can we install gcc-4.4.4 version on SUSE Linux Enterprise Server 10 SP4 (x86_64) as inbuilt gcc-4.1.2 version available in ISO.

May I know can we update it gcc-4.4.4 or not beacuse I'ge download from Internet updated version gcc-4.4.4 and try to install its asking no. of dependencies as per below:

linux240:~ # rpm -ivh gcc-4.4.4-13.el6.x86_64.rpm
warning: gcc-4.4.4-13.el6.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 192a7d7d

its not possible to get resolve all dependencies manual so have any other option or its not possible to do upgrade.

  1. As with NUMEROUS other threads you've posted, you mention a COMMERCIAL, PAY-FOR distribution. SLES is NOT FREE, just like RHEL is not free. If you're using it, you need to PAY FOR IT, period. By doing so, you get access to support and the online repositories, which (amazingly), have the updated package.
  2. You've been told before about using the rpm command to perform updates, rather than using the package manager. In the case of SLES, it's "zypper". Typing in "zypper update <package-name>", and it will download and install the dependencies FOR YOU. But again..this only works if you pay for the COMMERCIAL DISTRO you're using. And since you're 'certified' with an RHCE, you should know why you need to use package managers, and how to use them.
  3. As you've been told before, if you want to use the rpm command and download junk from the internet (so you can have an unstable system), you need to download ALL the dependencies, one by one..and all THEIR dependencies too. Either get the packages or build them from source.
This is NO DIFFERENT than what you need to do on RHEL if you're not paying. And as said before...you can EASILY use CentOS, openSUSE, or any other distro for FREE, and be able to use the online repositories, and get support.

If you are using COMMERCIAL PRODUCTS, you need to PAY FOR THEM...this is exactly why.

knudfl 09-24-2014 12:22 PM

Quote:

installation gcc-4.4. on SUSE 10 SP4
You can add the "devel_gcc.repo" to /etc/zypp/repos.d
http://download.opensuse.org/reposit...devel:gcc.repo
.. and get gcc43-4.3.4 : # zypper in gcc43-c++
* gcc43 can probably do the job.

"gcc44" has been removed from the repo. May be to minimize maintenance.
Or : It will conflict with gcc43 ?

"gcc44" is still available from rpmpbone
http://rpm.pbone.net/index.php3/stat/2/simple/2
* Tick OpenSuSE, and you will see gcc/SLE-10_SDK/<arch>/gcc44-c++-4.4.2.

* Important : You can have as many gcc versions as you want,
installed at the same time.
Different file names are used : No conflicts.
Like /usr/bin/{ gcc, gcc33, gcc43 }.

-

John VV 09-24-2014 02:57 PM

"rpm -ivh gcc-4.4.4-13.el6.x86_64.rpm"
you can NOT instal la redhat 6 rpm on SUSE and expect it to work

this is the very old suse 10
so you ARE paying for the required extended support


as above the opensuse "devel gcc" repo OR BUILDING the SRC rpm are the best bet

sandeep002gupta 10-07-2014 05:17 AM

thanks to all

TB0ne 10-07-2014 09:23 AM

Quote:

Originally Posted by sandeep002gupta (Post 5250115)
thanks to all

So did you get this problem solved, and if so, why don't you share what you did??? You came to the community looking for answers, so sharing what worked is a good thing.


All times are GMT -5. The time now is 12:18 AM.