1833995 Members
2701 Online
110063 Solutions
New Discussion

GCC install problems ..

 
SOLVED
Go to solution
someone_4
Honored Contributor

GCC install problems ..

im trying to install gcc to install apache.
now i am having a hard time all the docs that I am reading are telling me stuff that i dont understand ..
i have untared the files on the opt/gcc
now i dont know where to go or what to do ..
HELP! ..
3 REPLIES 3
Kofi ARTHIABAH
Honored Contributor

Re: GCC install problems ..

Richard,

You do not need to install gcc to install the version of apache you downloaded. You can install it after unziping it. Do not untar it - just do a

swinstall -s /tmp/apache-1.3.14-sd-10.20.depot
(or whichever you downloaded)
and follow the prompts.

The same applies to gcc - to install gcc (you will need it for other things,)

download it, unzip it and then do an
swinstall -s /tmp/gcc-2.95.2-sd-10.20.depot

and follow the prompts.


nothing wrong with me that a few lines of code cannot fix!
Dan Hetzel
Honored Contributor
Solution

Re: GCC install problems ..

Hi Richard,

You shouldn't untar the files, as the 'swinstall' will do that for you.

Before installing, you'd better cleanup all the files you untarred in the /opt/gcc.

Then, providing your gcc software depot in under /tmp, run the following command (as root):
swinstall -s /tmp/gcc-x.xx.xx-sd-yy.yy.depot

Replace the xxx and yyy with the exact figures for the version you are installing.

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
nnf97
Regular Advisor

Re: GCC install problems ..

If you got the Apache depot, it would be g'zipped, just unzip it and leave it alone. The depot software is handled by swinstall itself.

However, if you downloaded the source and are trying tobuild it it up, then you would need to go through the README/INSTALL.txt files. Even the quick steps there are sufficient to carry out the install.

Regards,
Nabeel
Live Free or Die (New Hampshire)