Operating System - HP-UX
1752414 Members
5890 Online
108788 Solutions
New Discussion юеВ

Re: building gcc on PARISC and HP-UX 11.11

 
Dennis Handly
Acclaimed Contributor

Re: building gcc on PARISC and HP-UX 11.11

>but the command seems to hang. It's been running for more than 30 minutes and I cannot stop it with Crtl-C:

I'm on 11.23, with a local filesystem. I'm not sure if you need newer SD patches for swinstall?
Try control-Z? Else try killing it from another window.

(You didn't hear this from me. ;-)
But you can also use tar/pax to extract those files:
tar -tf gcc-src-4.4.0-1.depot
...
GNU_C_C++_SOURCE/GCC_SRC_4_4_0/opt/hp-gcc-4.4.0/src/binutils-2.18.tar.gz
GNU_C_C++_SOURCE/GCC_SRC_4_4_0/opt/hp-gcc-4.4.0/src/gcc-4.4.0.tar.gz

Just extract the last two.

> The log file /var/adm/sw/swagentd.log would contain this error message:
Cannot lock depot/root/PSF at
"/assembly/support/systems/dev/amax/tools/ex36672/dvl/tools/dist/depot".
Permission denied (13).

Is this over NFS? You may try to a local system.
Denis Laroche
Occasional Advisor

Re: building gcc on PARISC and HP-UX 11.11

Dennis,

I was able to extract files from the depot with tar, great.

The errors I had with swinstall were effectively over NFS. I don't have local write access anywhere on the server, except for /tmp, which is obviously not a good location to install software.

I just tried to start the build of gcc/binutils, and it also hangs when trying to run autoconf. The autoconf I built is definitely broken.




Dennis Handly
Acclaimed Contributor

Re: building gcc on PARISC and HP-UX 11.11

>except for /tmp, which is obviously not a good location to install software.

You aren't really installing software there. You are temporarily extracting the tarfiles from the depot.
Denis Laroche
Occasional Advisor

Re: building gcc on PARISC and HP-UX 11.11

What I meant by using /tmp is to install the software, not just extract the contents of the depot.

That would make my life much simpler if I could just install the depots.
Dennis Handly
Acclaimed Contributor

Re: building gcc on PARISC and HP-UX 11.11

>simpler if I could just install the depots.

Right, for the pre-built gcc depots.
I was assuming you still wanted the source.