HP-UX hints

 

/etc/nsswitch.conf:
      make sure all is set to files except hosts (dns files)

/etc/hosts:
      make sure your hostname is listed

swinstall problems:
      restart swagentd

install depots:
      single depot: swinstall -s /path/to/$software.depot $software
      multiple depots: for X in *.depot; do Y=`echo "$X" | cut -d"-" -f1`; \
      swinstall -s /path/to/"$X".depot "$Y"; done       - use absolute pathnames!

gcc/make/ld problems:
      probably missing functions of linux libc6
      use hp's gcc 3.4.2 + libhplx and read this.
      also working: install libhplx and don't touch gcc! instead, use this:
      export LDFLAGS="-I/usr/local/hplx/include/ -L/usr/local/hplx/lib -lhplx -lsec"