Problems to install gcc 7.2 on AIX 7.2


 
Thread Tools Search this Thread
Operating Systems AIX Problems to install gcc 7.2 on AIX 7.2
# 1  
Old 04-20-2018
Problems to install gcc 7.2 on AIX 7.2

We need gcc 7.2 on AIX 7.2 and so I tried to install the rpm package from IBM (<https://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html>)

The steps were as follows (I downloaded all packages from the given IBM toolbox page):

Code:
# :-)rpm -ihv gcc-7.2.0-1.aix7.2.ppc.rpm
error: Failed dependencies:
        gcc-cpp = 7.2.0-1 is needed by gcc-7.2.0-1.ppc
        info is needed by gcc-7.2.0-1.ppc

The only info version is 6.3:

Code:
# :-)rpm -ihv info-6.3-1.aix6.1.ppc.rpm 
error: Failed dependencies:
        libncurses.a(libncurses.so.6) is needed by info-6.3-1.ppc

The only ncurses version is 6.0:

Code:
# :-)rpm -ihv ncurses-6.0-1.aix6.1.ppc.rpm
error: Failed dependencies:
        libstdc++.a(libstdc++.so.6) is needed by ncurses-6.0-1.ppc

There is no version 6.xx of libstdc++ for 7.2, only for 7.1, and, of course, I was unable to install it:

Code:
# :-)rpm -ihv libstdcplusplus-6.3.0-1.aix7.1.ppc.rpm 
error: Failed dependencies:
        libgcc = 6.3.0-1 is needed by libstdc++-6.3.0-1.ppc
        AIX-rpm < 7.2.0.0 is needed by libstdc++-6.3.0-1.ppc

Because AIX-rpm is part of the OS, I think it's impossible to install this last package on AIX 7.2

Is it really not possible to install gcc 7.2 on AIX 7.2? Are there really packages on the IBM toolbox page which cannot be installed?

Regards
Burkhard


Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!


---------- Post updated 04-20-18 at 10:06 AM ---------- Previous update was 04-19-18 at 04:38 PM ----------

Now I took the packages from bull and all problems are solved!

Regards
Burkhard

Last edited by RudiC; 04-20-2018 at 06:27 AM.. Reason: Added CODE tags.
# 2  
Old 04-20-2018
it looks like gcc 7 is too fresh for this operation system.
# 3  
Old 04-20-2018
Code:
n12:/home/vbe $ oslevel -r;gcc --version
7200-01
gcc (GCC) 7.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Satisfied?
Yes gcc 7.2 can be installed, but no one said its would be like on a linux... its not that obvious you need to READ what it says about installing, specially ALL the prerequirements which means to go through all what you have installed to see if you wont go through dependencies issues...
it installs itself just fine if all the prereqs are satisfied... But it can be at the expenses of other packages that wont work anymore ( I had a lovely firefox 64bit running, now thats a month I am trying to find how to get it working again... the good side of it, I had to get to reuse command I forgot like dump, ar etc...)
Firefox was more for me and for some utilities, GCC7.2 was a service request as its a prereq of something they needed, I knew I was going into a mess somewhere but what they want is there and working, so think hard why would you want GCC7.2 rather than a 4.8.X that gives no problem, if stuck like me because you need it because its a prereq for something else, then go ahead, and dont do like me in a panic one evening, take your time and BACKUP ALL your libs, it can save your life... I splitted my mirror rootvg, but the service for who this box is dedicated said it was not an option to rollback as for them all is working ( after suffering 2 days...), so I find myself struggling for my own needs, when I have some time to spare...

Last edited by vbe; 04-20-2018 at 10:47 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Unable to install gcc in AIX 5.3

Hello... I have downloaded RPM for gcc in a directly where I tried installing using rpm but it says the following /oracle/dB>rpm -iv gcc-4.2.0-3.aix5.3.ppc.rpm failed to open /var/opt/freeware/lib/rpm/packages.rpm: Permission denied error: cannot open... (4 Replies)
Discussion started by: shahnazurs
4 Replies

2. Linux

Problems with gcc

Hello I'm not able to install gcc. My platform is # uname -a Linux localhost 2.6.18-194.el5 #1 SMP Fri Apr 2 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux #yum install gcc I got the following error ---> Package libgfortran44.x86_64 0:4.4.4-13.el5 set to be updated ---> Package... (2 Replies)
Discussion started by: My Style
2 Replies

3. Solaris

GCC install

well, i know wich GCC can be download by Manager package, easy! but I want install gcc "whith myself hands" I have gcc .tar and i cant install by console. after comand $make: erro ok! i dont have compiler, but i want install gcc! sorry my english... (6 Replies)
Discussion started by: Hyagosallet
6 Replies

4. AIX

How to install gcc compiler on AIX?

I want to install gcc compiler on aix box. $uname -a AIX GTMIT 3 5 000000000000 Can any one help me installing gcc compiler(step by step)either by smit or rpm commands ? What is boot straping ? Its urgent .. Thanks in advance (2 Replies)
Discussion started by: kittu1979
2 Replies

5. AIX

problems with gcc on AIX 4.33

I just installed gcc on AIX 4.33, and I am having some problems with compiling a simple hello world program. See output below for the issue. The "standards.h" file is not on my system and I don't know where to get it. Thanks in advance for your help! # gcc -v Reading specs from... (2 Replies)
Discussion started by: jhall
2 Replies

6. UNIX for Dummies Questions & Answers

GCC causing problems it seems.

Hi, I seem to be getting errors in relation to GCC it seems as I cant upgrade alot of pkgs until I can upgrade or use a later version of GCC. The error I get is along the lines of ( cc1: error: unrecognized command line option "-Wno-pointer-sign" *** Error code 1 ) Anyway I was wondering if... (2 Replies)
Discussion started by: Browser
2 Replies

7. AIX

The problem after install gcc on AIX 5.3

The problem after install gcc on AIX 5.3 I download 5 rpm packages from IBM AIX Toolbox Download Page - Alphabetical Listing and install them. rpm -ivh gcc-4.0.0-1.aix5.3.ppc.rpm rpm -ivh libgcc-4.0.0-1.aix5.3.ppc.rpm rpm -ivh libstdcplusplus-4.0.0-1.aix5.3.ppc.rpm rpm -ivh... (1 Reply)
Discussion started by: zither
1 Replies

8. SCO

Problems with gcc compiler

Hy everone! I have an old SCO 5.x machine on which I want to install openssh. Since there was no GCC compiler installed I had to install that too. I'm not a programmer and not so familiar with SCO, so I have a couple of questions. I did everything "by the book" as it says here: Where can I... (1 Reply)
Discussion started by: veccinho
1 Replies

9. AIX

Problems install Aix 5.3

Hello I have a server that I want to install Aix 5.3, first I change on the sms to install device from the cdrom, when I boot the server on the display hangs up on the message E443 and nothing happens. Who Can I resolve this. Thanks in advance for your comments. (3 Replies)
Discussion started by: lo-lp-kl
3 Replies

10. Solaris

gcc problems

I downloaded and installed the gcc binaries recently. I am now trying to compile openssh, but I get bad compiler issues when I try this. in the openssh directory, I run: ./configure (mind you, I have usr/local/bin/gcc in my PATH) but the output says checking for gcc... no Why... (7 Replies)
Discussion started by: AJA
7 Replies
Login or Register to Ask a Question