Re: libwww-perl v0.40 question

Fred Douglis (douglis@research.att.com)
Tue, 23 May 1995 11:51:05 -0400


Thanks for your response, and your query about others using IRIX.  Seems no 
one in the world on this list, or at least currently paying attention to it, 
must be using IRIX, or even Solaris... 

I think I have answered my own question, after consulting the perl FAQ.  It 
mentioned sockets not working on solaris and it seems the same problem arises 
on IRIX: namely, that libwww comes with its own sys/socket.ph which defines 
SOCK_STREAM to be 1 even though IRIX and Solaris actually moved it to 2.  
(Why, why, why???)

I got a clue toward this by switching back to v0.20 and seeing that it was 
complaining about not being able to bind, as opposed to hitting the undefined 
FS return.  Changing the constant to 2 did the trick, as a stopgap measure.  
What's the right long-term solution for libwww?  

I should point out, I found out a while ago that "get" didn't work properly on 
solaris either, but didn't pay much attention to it then.   Changing the 
constant fixes it there too.  

Fred Douglis 		    MIME accepted	douglis@research.att.com
AT&T Bell Laboratories				908 582-3633 (office)
600 Mountain Ave., Rm. 2B-105 			908 582-3063 (fax)
Murray Hill, NJ 07974     http://www.research.att.com/orgs/ssr/people/douglis/