Re: Compiled wget on HP-UX 11.0

2001-03-01 Thread Hrvoje Niksic

"Dan Harkless" [EMAIL PROTECTED] writes:

 "Al Wheeler" [EMAIL PROTECTED] writes:
  Hello,
  Your documentation said that wget had been successfully compiled on HP-UX 9 
  and others.  I did not know which others, so I figured I would tell you I 
  got it done on HP-UX 11.0.
  I did have a bit of a struggle with it at first, as our webserver's compiler 
  gave errors in the log.c about prototyping being an ANSI feature.  
 
 Are you using HP's CC compiler?  If so, you should use the -Ae
 option to enable ANSI and extensions.

Last time I checked, `-Aa -D_HPUX_SOURCE' should also suffice.  In
fact, Wget's configure script tries to set those flags for HPUX cc.
Obviously this detection failed on Al's machine, for whatever reason.



Re: Compiled wget on HP-UX 11.0

2001-02-28 Thread Dan Harkless


"Al Wheeler" [EMAIL PROTECTED] writes:
 Hello,
 Your documentation said that wget had been successfully compiled on HP-UX 9 
 and others.  I did not know which others, so I figured I would tell you I 
 got it done on HP-UX 11.0.
 I did have a bit of a struggle with it at first, as our webserver's compiler 
 gave errors in the log.c about prototyping being an ANSI feature.  

Are you using HP's CC compiler?  If so, you should use the -Ae option to
enable ANSI and extensions.

 I moved 
 it and retried on our other HP-UX box (housing our App server) and it worked 
 right out of the gate.  I checked the patches on both machines and then 
 diff'd them, and there are differences, I just haven't the time right now to 
 look the differences over completely.
 I will try to do that soon, and when I find what the cause was I will tell 
 you.
 Other than our patches (or lack thereof) it worked fine immediately out of 
 the tar extraction on HP-UX 11.0.

Thanks, Al.  The OS isn't quite enough, though -- the values in the MACHINES
file include the architecture as well.  Can you send us the output of the
config.guess script (in the top level of the Wget source distribution) for
those machines?

I've modified the MACHINES file to explicitly say to send config.guess
output, so this won't be an issue in the future.

---
Dan Harkless| To help prevent SPAM contamination,
GNU Wget co-maintainer  | please do not mention this email
http://sunsite.dk/wget/ | address in Usenet posts -- thank you.