SUSE11 System RPM package to install GCC offline

Source: Internet
Author: User

1, problem display

Compilation failed

Compiling pycrypto-2.6.1 under python2.6 environment

Src/hash_template.c:360:warning:implicit declaration of function ' pyerr_occurred '

Src/hash_template.c:361:warning:implicit declaration of function ' Py_fatalerror '

Error:command ' gcc ' failed with exit status 1


2. Basic Environment

Using the Install Image:

Sles-11-sp2-dvd-x86_64-gm-dvd.iso

/usr/local # Rpm-qa | grep CPP

cpp43-4.3.4_20091019-0.22.17

cpp-4.3-62.198

libldapcpp1-0.3.0-0.6.88

/usr/local # Rpm-qa | grep glibc

glibc-i18ndata-2.11.3-17.31.1

glibc-2.11.3-17.31.1

glibc-32bit-2.11.3-17.31.1

glibc-locale-32bit-2.11.3-17.31.1

glibc-locale-2.11.3-17.31.1

/usr/local # Rpm-qa | grep gcc

libgcc46-4.6.1_20110701-0.13.9

libgcc46-32bit-4.6.1_20110701-0.13.9


Unzip the image package and upload the following package to the SUSE system

/HOME/GCC # ls

gcc-4.3-62.198.x86_64.rpm glibc-devel-2.11.3-17.31.1.x86_64.rpm

gcc-c++-4.3-62.198.x86_64.rpm libstdc++-devel-4.3-62.198.x86_64.rpm

gcc43-4.3.4_20091019-0.22.17.x86_64.rpm libstdc++43-devel-4.3.4_20091019-0.22.17.x86_64.rpm

gcc43-c++-4.3.4_20091019-0.22.17.x86_64.rpm linux-kernel-headers-2.6.32-1.4.13.noarch.rpm


3. Installing GCC

/HOME/GCC # RPM-IVH linux-kernel-headers-2.6.32-1.4.13.noarch.rpm

Preparing ... ########################################### [100%]

1:linux-kernel-headers ########################################### [100%]

Post linux-kernel-headers-2.6.32-1.4.13/var/tmp/rpm-tmp.37197 1

/HOME/GCC # RPM-IVH glibc-devel-2.11.3-17.31.1.x86_64.rpm

Preparing ... ########################################### [100%]

1:glibc-devel ########################################### [100%]

/HOME/GCC # RPM-IVH gcc43-4.3.4_20091019-0.22.17.x86_64.rpm

Preparing ... ########################################### [100%]

1:gcc43 ########################################### [100%]

/HOME/GCC # RPM-IVH gcc-4.3-62.198.x86_64.rpm

Preparing ... ########################################### [100%]

1:GCC ########################################### [100%]

/HOME/GCC # RPM-IVH libstdc++43-devel-4.3.4_20091019-0.22.17.x86_64.rpm

Preparing ... ########################################### [100%]

1:libstdc++43-devel ########################################### [100%]

:/HOME/GCC # RPM-IVH libstdc++-devel-4.3-62.198.x86_64.rpm

Preparing ... ########################################### [100%]

1:libstdc++-devel ########################################### [100%]

/HOME/GCC # RPM-IVH gcc43-c++-4.3.4_20091019-0.22.17.x86_64.rpm

Preparing ... ########################################### [100%]

1:gcc43-c++ ########################################### [100%]

/HOME/GCC # RPM-IVH gcc-c++-4.3-62.198.x86_64.rpm

Preparing ... ########################################### [100%]

1:gcc-c++ ########################################### [100%]


Reference Documentation:

http://blog.csdn.net/fan_hai_ping/article/details/40660061

This article is from the "Xiaoxiaozhou" blog, make sure to keep this source http://xiaoxiaozhou.blog.51cto.com/4681537/1888695

SUSE11 System RPM package to install GCC offline

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.