Operating System - HP-UX
1833617 Members
3508 Online
110062 Solutions
New Discussion

http needed for tcl/tk usage

 
SOLVED
Go to solution
Oliver Schmitz
Regular Advisor

http needed for tcl/tk usage

Dear all,

I am searching for http2.2 because I need this as a package in a samll tcl script. Can anybody give me a hint where to search.

Thanks and BR,

Oliver
Oliver Schmitz
3 REPLIES 3
Simon Hargrave
Honored Contributor

Re: http needed for tcl/tk usage

From what I can see, http2.2 is a MacOS http server, you'll not be getting that for HPUX.

If you want a http server (eg Apache), version 1 comes with HPUX 11i, or you can download version 2 here: -

http://hpux.connect.org.uk/hppd/hpux/Networking/WWW/apache2-2.0.35/
Oliver Schmitz
Regular Advisor

Re: http needed for tcl/tk usage

I need http as the plain protokoll like a brwoser uses it. Is it implemented from the beginning and I just do not find it or do I have to install it?

Thanks, Oliver

I have the line test_signal='http.//any_domain' in my tcl script to check for some free properties.
Oliver Schmitz
Simon Hargrave
Honored Contributor
Solution

Re: http needed for tcl/tk usage

Actually doing some more searching it appears that "http 2.2" is a client-side library, enabling tcl scripts to perform client-side http functions.

The manual page below suggests that it is included as part of tcl 8.2.3. Perhaps you need at least this version?

http://www.tcl.tk/man/tcl8.2.3/TclCmd/http.htm

Looking at the next oldest release, 8.0, it only includes "http 2.0"

http://www.tcl.tk/man/tcl8.0/TclCmd/http.htm

So I'm now fairly sure that you'll need tcl 8.2.3 or above.

8.4.6 is available from the HP porting archive so I'd suggest you install this on a test box and see how you fair: -

http://hpux.connect.org.uk/hppd/hpux/Tcl/tcltk-8.4.6/

Hope it's useful,


Simon