1838576 Members
4272 Online
110128 Solutions
New Discussion

Re: Installing Apache

 
Tim Rotunda
Frequent Advisor

Installing Apache

I am having trouble installing apache from the apache-1.3.12-sd-11.00.depot file that I downloaded from the porting center (twice). Swinstall displays the following error:
"There is currently no depot software on host ......."

Is there something I'm missing here?

11 REPLIES 11
Denver Osborn
Honored Contributor

Re: Installing Apache

What syntax are you using to install the apache depot file?

# swinstall -s /path_to_depot/apache.depot
John Palmer
Honored Contributor

Re: Installing Apache

Are you supplying the full pathname of the depot file? eg
swinstall -s /tmp/apache-1.3.12-sd-11.00.depot
Bolek Mynarski
Frequent Advisor

Re: Installing Apache

I just want to give you heads up once you get passed your "depot" problem. When I was installing depot version of Apache, after installation, I could not run it. It was constantly dying. Finally I decided to grab a srouce file and compile it myself. If you choose that later route, make sure that you have gcc compiler on your system. :-)
It'snever too late to learn new things...
Tim Rotunda
Frequent Advisor

Re: Installing Apache

The command used is:
swinstall -s /var/tmp/apache-1.3.12-sd-11.00.depot

It acts like the depot is bad, but I have downloaded it twice now.
Andreas Voss
Honored Contributor

Re: Installing Apache

Hi,

The depots at the download site are (gzip) compressed. Possibly you have downloaded the file with the extension .depot but its still compressed.
rename the file:
mv /var/tmp/apache-1.3.12-sd-11.00.depot /var/tmp/apache-1.3.12-sd-11.00.depot.gz
then uncompress it with:
gzip -d /var/tmp/apache-1.3.12-sd-11.00.depot
Now you should have the true depot for swinstall.

Regards
Tim Rotunda
Frequent Advisor

Re: Installing Apache

The file was downloaded with the .gz extension and gzip -d was used to decompress the file.
Andreas Voss
Honored Contributor

Re: Installing Apache

Hi,

depot files are in tar format.
So try a tar -tvf /var/tmp/apache-1.3.12-sd-11.00.depot
and see if files are listed.
BTW you have depot for HP-UX 11.00, is your system also HP-UX 11.00 ?

Regards
Tim Rotunda
Frequent Advisor

Re: Installing Apache

Yes, the depot looks fine when evaluating it with a tar tvf apa.....

And yes, I am on 11.0.
Andreas Voss
Honored Contributor

Re: Installing Apache

Hi,

very strange. I have no more idea - sorry.
Denver Osborn
Honored Contributor

Re: Installing Apache

I'm sure you've already done the usual restart of swagentd?

Have you tried to register the depot?

# swreg -l depot /tmp/apache-1.3.12-sd-11.00.depot

If success then stop/start swagentd and swinstall. Have you got another system you could try to swinstall it to.. just to see if it complains in the same manner?
Steve Post
Trusted Contributor

Re: Installing Apache

I am guessing that you have two problems: 1. You don't have no gzip. 2. The c-compiler on your box probably is NOT ansi standard C (it's k&r). That's why you need gcc to compile the apache source. Now I don't know if this helps, but I had to do this way. In order to use gzip/gunzip, you need to get something called "bin utilities". After you load THAT software depot file, you can gunzip stuff. Then get gcc and load it. Then, you download the apache source and compile with gcc instead of cc. This is what I had to do. I did not know an apache depot file existed.