gormenghast
asked on
install perl/gcc on Solaris 2.5
I need some help installing perl 5.
When trying to install perl I discovered that there is no C compiler in Solaris 2.5. There is a script called cc which looks for the link /usr/ccs/bin/ucbcc to the C compiler (which does not exist). So the perl install complains that cc does not seem to be working.
I downloaded a copy of gcc-2.7.2.2.
Configure runs ok and ends with 'Links are now set up to build a native compiler for sparc-sun-solaris2.5.
I then try make LANGUAGES=c but this fails with:
make: Fatal Error: command failed for target cccp.o.
There is no cccp.o in the gcc directory only cccp.1 and cccp.c.
I have no knowledge of C compilers whatsoever so will require some basic instruction. All I really want is the simplest way to successfully install perl.
Any help will be appreciated....
When trying to install perl I discovered that there is no C compiler in Solaris 2.5. There is a script called cc which looks for the link /usr/ccs/bin/ucbcc to the C compiler (which does not exist). So the perl install complains that cc does not seem to be working.
I downloaded a copy of gcc-2.7.2.2.
Configure runs ok and ends with 'Links are now set up to build a native compiler for sparc-sun-solaris2.5.
I then try make LANGUAGES=c but this fails with:
make: Fatal Error: command failed for target cccp.o.
There is no cccp.o in the gcc directory only cccp.1 and cccp.c.
I have no knowledge of C compilers whatsoever so will require some basic instruction. All I really want is the simplest way to successfully install perl.
Any help will be appreciated....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I was installing onto a sparc -- so the i486 gcc was not any good.
However you did point me in the right direction and I managed to download a compiled version of gcc-2.7.2.1 from http://smc.vnet.net/solaris_2.5.html.
I did not bother to upgrade this to 2.7.2.2.
I was then able to install perl.
Thanks again............Steve