[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wginstall with HPUX



Thank you for returning my phone call for help with webglimpse.
As we discussed I was successful with wginstall after modifying
the Makefile for HPUX. This seems to work, but you may want to check
this out with other HP users as I am only somewhat familiar. 

I sent the following information to an incorrect address yesterday.
------------------------------------------------------------------------
------------------------------------------------------------------------

We were having trouble with compiling during wginstall with HPUX 10.20
Modified the Makefile to add hpux as an option as below.
This seems to work, though I am not an expert.

------------------------- Makefile addition ---------------------------- 

hpux:
        $(OSFCC)   -D_HPUX_SOURCE -Aa -O -o lib/httpget lib/httpget.c
        $(OSFCC)   -D_HPUX_SOURCE -Aa -O -o lib/html2txt lib/html2txt.c

------------------------------------------------------------------------
Also added hpux O.S. to wginstall.pl as below.

----------------------- wginstall.pl addition --------------------------

# Get operating system -- don't leave out hpux! ## edited 8/23/99 
$LEGALOS = 'linux osf sunos solaris hpux';
$DEFAULTOS = 'hpux';
$PLATFORM = $ARGV[1] || $^O || '';

if ($PLATFORM eq '') {
        $PLATFORM = $DEFAULTOS;
        $_ = `uname -s` || '';
        tr/A-Z/a-z/;
        /^linux/ && ($PLATFORM = "linux");
        /^osf/ && ($PLATFORM = "osf");
        /^sunos/ && ($PLATFORM = "sunos");
        /^solaris/ && ($PLATFORM = "solaris");
        /^hpux/ && ($PLATFORM = "hpux");
}

----------------------------------------------------------------------

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Art Brittain
brittain@dpg.nec.gmeds.com
GM Desert Proving Ground
Mesa, Arizona
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~