Operating System - HP-UX
1833059 Members
2770 Online
110049 Solutions
New Discussion

Install wput under HP-UX 11.11

 
SOLVED
Go to solution
Kenneth Weise
New Member

Install wput under HP-UX 11.11

Hi,

We have hp-ux 11.11 and I am looking to install wput for better ftp transfers to another server. I am getting the following when trying to gmake it (have also tried make and get a similar error). I think I need some other package installed, but I have no idea what it would be. Thanks for any help!!

Output:
cd po && gmake all
gmake[1]: Entering directory `/home/ken/install/wput-0.6.1/po'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/home/ken/install/wput-0.6.1/po'
cd src && gmake all
gmake[1]: Entering directory `/home/ken/install/wput-0.6.1/src'
gcc -Wall -g -DLOCALEDIR=\"/usr/local/share/locale\" -c -o socketlib.o socketlib.c
socketlib.c:28:26: error: sys/select.h: No such file or directory
gmake[1]: *** [socketlib.o] Error 1
gmake[1]: Leaving directory `/home/ken/install/wput-0.6.1/src'
gmake: *** [all] Error 2
8 REPLIES 8
James R. Ferguson
Acclaimed Contributor

Re: Install wput under HP-UX 11.11

Hi Kenneth:

I'd fetch a binary from the Porting Centre, noting the dependencies listed there:

http://hpux.connect.org.uk/hppd/hpux/Gnu/wget-1.11.4/

Regards!

...JRF...
Kenneth Weise
New Member

Re: Install wput under HP-UX 11.11

I tried, but it's not there. I am trying to install WPUT, not WGET. Thanks!
Steven Schweda
Honored Contributor

Re: Install wput under HP-UX 11.11

> I'd fetch [...]

put != get.

I haven't looked at wput for a long time (and
then I was worried more about VMS
compatibility). Whence did you get the
source kit?

As I (dimly) recall, the code and its
builders were none too robust.

> [...] better ftp transfers [...]

Define "better".
Kenneth Weise
New Member

Re: Install wput under HP-UX 11.11

Source is located here: http://wput.sourceforge.net/

It is better in the sense that it can do auto-resumes and the like if the connection is dropped. On our Linux box, I can use lftp for the same function. I don't see this available for the HP either. Any other suggestions for good command line ftp clients supporting auto-resume on a connection drop?
Steven Schweda
Honored Contributor
Solution

Re: Install wput under HP-UX 11.11

> Source is located here:

Yeah, it hasn't improved greatly since I
last looked at it. Not very portable.

seems to need to be
.

You also need a strtoll().

If you want a sloppy-port kit, send some
e-mail to me, sms@antinode-info (more or
less).

You might report the problems to the
developers, too.
Kenneth Weise
New Member

Re: Install wput under HP-UX 11.11

Thanks Steven,

From your info, I changed select.h to time.h and found this site (http://archives.seul.org/gftp/users/Apr-2004/msg00010.html) where they wrote their own strtoll() and it worked. I was able to get wput made and can view the version and help now. Now on to test it and make sure it really does work correctly.

If anyone has an ftp command line client with these types of features for HP-UX 11.11, I would be interested. I see wput is available in a media kit for 11.23 or higher, but that doesn't help me. :-)
James R. Ferguson
Acclaimed Contributor

Re: Install wput under HP-UX 11.11

Hi (again):

Oops! Indeed, 'put' != 'get'. Sorry!

Regards!

...JRF...
Steven Schweda
Honored Contributor

Re: Install wput under HP-UX 11.11

> Oops! Indeed, 'put' != 'get'. [...]

I'm sensitized. My major contribution to
wput was making it easier for it to steal
code from wget, so that I could more easily
get my VMS-related wget changes into it.
(VMS FTP servers tend to look different from
UNIX FTP servers.)

VMS has COPY /FTP, however, so it has less
need for a wput than some systems, and so,
as I said, I haven't looked at it lately.