I’m trying to update the python version from 2.6.x to 2.7.x in the SLES 11.4 for SAP Hana.
I follow the steps belows:
tar -zxvf Python-2.7.x.tar.gz
cd Python-2.7.x
./configure
command I get the following output:
checking for --enable-universalsdk… no
checking for --with-universal-archs… 32-bit
checking MACHDEP… linux3
checking EXTRAPLATDIR…
checking machine type as reported by uname -m… x86_64
checking for --without-gcc… no
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /home3/mikos89/Python-2.7.1': configure: error: no acceptable C compiler found in $PATH See config.log’ for more details.
How can this problem be solved? I’ve been trying to find a solution for 3 hours but it still stucks. Please help. Thank you.
I m trying to install Gcc but failed. Here are the error messages:
The following NEW packages are going to be installed:
gcc gcc43 glibc-devel linux-kernel-headers
4 new packages to install.
Overall download size: 7.7 MiB. After the operation, additional 41.4 MiB will
be used.
Continue? [y/n/? shows all options] (y): y
Retrieving package linux-kernel-headers-3.0-19.18.noarch (1/4), 813.0 KiB (3.0 MiB unpacked)
Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0xkxfRUQ: Mounting media failed (mount: no medium found on /dev/sr0)
Please insert medium [SLES-for-SAP-Applications 11.4.4-1.2] #1 and type ‘y’ to continue or ‘n’ to cancel the operation. [yes/no] (no): no
Failed to provide Package linux-kernel-headers-3.0-19.18. Do you want to retry retrieval?
[SLES-for-SAP-Applications 11.4.4-1.2|cd:///?devices=/dev/sr0] Can’t provide file ‘./suse/noarch/linux-kernel-headers-3.0-19.18.noarch.rpm’ from repository ‘SLES-for-SAP-Applications 11.4.4-1.2’
History:
Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0xkxfRUQ: Mounting media failed (mount: no medium found on /dev/sr0)
Can’t provide ./suse/noarch/linux-kernel-headers-3.0-19.18.noarch.rpm
Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user
How to install it offline and from gcc folder ? What gcc version is applicable for SLES 11.4 ? Does the gcc-6.4.0.tar support SLES 11.4 for SAP ? Pls let me know. Thank you
I’m trying to update the python version from 2.6.x to 2.7.x in the SLES
11.4 for SAP Hana.
I follow the steps belows:
tar -zxvf Python-2.7.x.tar.gz
cd Python-2.7.x
./configure
command I get the following output:
checking for --enable-universalsdk… no
checking for --with-universal-archs… 32-bit
checking MACHDEP… linux3
checking EXTRAPLATDIR…
checking machine type as reported by uname -m… x86_64
checking for --without-gcc… no
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in /home3/mikos89/Python-2.7.1': configure: error: no acceptable C compiler found in $PATH See config.log’ for more details.
How can this problem be solved? I’ve been trying to find a solution for
3 hours but it still stucks. Please help. Thank you.[/color]
Presumably since you are using SLES for SAP Applications for a
reason, one of which being SAP and the another being support. If
this is the case then you should not upgrade a software component
by downloading the source for a later version and compiling
yourself but instead do so via updated packages which SUSE
release and support. If your server is registered and patch
up-to-date then it has the latest Python SUSE have made available
for and support SLES for SAP Applications 11 SP4.
You need to put the DVD in or else it cannot be read to get the ‘gcc’ and
‘linux-kernel-headers’ packages. Alternatively, register the box so it
can get updates from online repositories.
–
Good luck.
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.
If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.