Bugtraq mailing list archives
Re: Satan_doc on Solaris 2.3
From: jladwig () soils umn edu (John Ladwig)
Date: Wed, 22 Mar 1995 20:07:47 -0600
On Thu, 23 Mar 1995 11:43:06 --1000, peter () aodc gov au (Peter Edward Voss) said:
PEV> Following an attempt to run the satan_doc perl script on
PEV> a Solaris 2.3 platform, the reconfig and make appear to
PEV> run ok, but on executing satan, I get the following error
PEV> cannot get SOCK_STREAM from sys/socket.ph or
PEV> /usr/include/sys/socket.h at socket.pl line 23.
PEV> Has anyone else run into similar problems with perl5
PEV> on Solaris, and if so could someone enlighten me with
PEV> the necessary patch ?
*** satan_doc/html.pl~ Wed Mar 22 20:07:06 1995
--- satan_doc/html.pl Wed Mar 22 20:07:06 1995
***************
*** 112,117 ****
--- 112,118 ----
sub start_html_server {
local($sockaddr, $proto, $junk);
+ use Socket;
$sockaddr = 'S n a4 x8';
($junk, $junk, $proto) = getprotobyname('tcp');
socket(SOCK, &AF_INET, &SOCK_STREAM, $proto) || die "socket: $!";
Current thread:
- Re: STROBE 1.02 James M. Buggar (Mar 22)
- Re: your mail Aleph One (Mar 22)
- Satan_doc on Solaris 2.3 Peter Edward Voss (Mar 23)
- Re: Satan_doc on Solaris 2.3 John Ladwig (Mar 22)
- Re: Satan_doc on Solaris 2.3 Brett Lymn (Mar 22)
