Installing gcc on AIX 5.3

Hi everyone. I'm trying to install gcc on aix 5.3 and I'm getting the following error:
#rpm -i  gcc-4.2.4-1.aix5.3.ppc.rpm
error: failed dependencies:
        info is needed by gcc-4.2.4-1

I have the following info packages:

What is that I am missing?

Does the directory in which these are depend? I have these currently in /tmp directory?
Who is Participating?
woolmilkporcConnect With a Mentor Commented:
So the problem is definitely that the package is broken!

Did you transfer the other packages the same way?
Is there a 'use binary transfer' option in your Windows ftp client? If yes, switch it on.
Or do you use Windows commandline ftp? With that you must issue the 'bin' subcommand before put!
of course it's necessary to install the rpm.
Issue 'rpm -i /tmp/info-4.6-1.aix5.1.ppc.rpm'
and everything will be fine!
courionAuthor Commented:

I tried rpm -i /tmp/info-4.6-1.aix5.1.ppc.rpm.

I get the following error:
error: /tmp/info-4.6-1.aix5.1.ppc.rpm cannot be installed.

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Where did you get the package from?
This is the IBM toolbox page -
The version available there should work! Could you try it, if you got your package  from elsewhere?
... sorry for the question - are you 'root' when you try the rpm installation?
courionAuthor Commented:
Yes I am the "root". I downloaded it from the toolbox page you mentioned.
This is weird. To be sure I just installed it on one of my 5.3 boxes, without any problem.
What is your oslevel -s? Mine is 5300-04-01.
What does 'rpm -qlp /tmp/info-4.6-1.aix5.1.ppc.rpm'  say?
courionAuthor Commented:
Here is what I got.

oslevel -s

rpm -qlp /tmp/info-4.6-1.aix5.1.ppc.rpm
query of /tmp/info-4.6-1.aix5.1.ppc.rpm failed.
So your package seems somewhat broken!
This is what I get -
root@lpa101:/mnt/fixdist>ls -l info-4.6-1.aix5.1.ppc.rpm
-rwxr--r--   1 xxxxxxxx xxxxxxx     166536 Mar 13 16:07 info-4.6-1.aix5.1.ppc.rpm*
root@lpa101:/mnt/fixdist>rpm -qlp ./info-4.6-1.aix5.1.ppc.rpm
 I think you should download the package one more time. Who knows what happened there?
courionAuthor Commented:
I downloaded the package again. But nothing useful. At first I thought the issue was because of the permission as root did not have execute perm on this file. I added that and re-tried but I see the same.

Also when I run using SMIT this is not recognized as something installable. Dont know why.
An rpm package doesn't need execute permission, only 'read'.
Is your package of the same size as mine? Here is 'sum' and 'md5sum' of my package -
root@lpa101:/mnt/fixdist>sum info-4.6-1.aix5.1.ppc.rpm
40679   163 info-4.6-1.aix5.1.ppc.rpm
root@lpa101:/mnt/fixdist>md5sum info-4.6-1.aix5.1.ppc.rpm
41c631a5119f195a63f449deb17cad47  info-4.6-1.aix5.1.ppc.rpm
How did you download it? binary ftp?
Installation via smitty should work. You could issue 'inutoc /tmp', although this is normally no longer needed. Choose 'install from all available...', give /tmp as input device/directory' and use at the next menu <F4> to select. The package should show up. Select with <F7> and go!
courionAuthor Commented:
for sum:
sum info-4.6-1.aix5.1.ppc.rpm
30642 163 info-4.6-1.aix5.1.ppc.rpm

I dont have it.

How did I download it?
I downloaded the package and ftp'd over to the AIX box.

via smitty?
Yes. I did exactly the same but "info" is never listed in the packages. I have all others except this.

Any dependency?
Is there any pre-req install for info or any order that needs to be followed. As few other packages like SSH have already been installed.
If there was a missing dependency, rpm would tell you.
Strange that the 'sum' doesn't match!
I have to beg your pardon again for a question - did you use 'binary' with the ftp?
Can't you use 'scp' or the like?
Another question - can you do 'rpm -qlp' against any other package you have?
courionAuthor Commented:
binary with ftp?
I missed that question in your previous comment. I havent used binary with ftp. I am doing ftp from a windows to unix.

rpm -qlp?
When I use rpm -qlp against other packages it list bunch of files.

Never used this before.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.