Bug 42570 - No Socket-connections possible (NET-Module) / Perl 5.6.1 not compileable (socks5p.h is missing)
Summary: No Socket-connections possible (NET-Module) / Perl 5.6.1 not compileable (soc...
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: perl
Version: 7.0
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Chip Turner
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-28 13:17 UTC by Alex Pircher
Modified: 2010-05-13 19:40 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2001-12-06 21:24:49 UTC


Attachments (Terms of Use)

Description Alex Pircher 2001-05-28 13:17:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [de] (WinNT; U)

Description of problem:
1. No Socket-connections possible (NET-Module): See steps to reproduce
Fix would be to upgrade to Perl 5.6.1, but ...

... 2. Perl 5.6.1 is not compileable because socks5p.h is missing
In socks5-devel-1.0r11-2.i386.rpm there is socks.h but socks.h needs also socks5p.h and this one isn't here.

How reproducible:
Always

Steps to Reproduce:
1. perl -e 'use Net::FTP; $ftp = Net::FTP->new("localhost");print $@;'
	

Actual Results:  It prints out "Timeout"

Expected Results:  It should print out nothing.

Additional info:

Fix:

1. Install socks5-v1.0r11 (socks5-1.0r11-1.src.rpm)
(socks5p.h is missing in socks5-devel-1.0r11-2.i386.rpm!)
Copy include-files needed by socks.h:
cp include/* /usr/local/include/
Remove dynamic Socks-Library, else Perl gives an error:
rm /usr/local/lib/libsocks5_sh.so

2. Remove Perl 5.6.0
rm -rf /usr/local/lib/perl5/

3. Install Perl 5.6.1

4. Install libnet-1.0703
"make test" should successfully open an FTP-Connection

5. Install remaining Perl-Modules

Comment 1 Alex Pircher 2001-06-26 08:19:15 UTC
The same unter RH 7.1 ... the problem is that there are no socks-libraries on the system.
So the actual question is which package should be installed to get the socks-libraries? dante/socks5-package

The rpm-install, copy and remove of a few files couldn't be the straight way!


Comment 2 Chip Turner 2001-12-19 08:30:29 UTC
perl 5.6.1 is now available in rawhide

Comment 3 Alex Pircher 2001-12-19 08:52:25 UTC
For all who don't know what Rawhide is: http://people.redhat.com/tcallawa/faq.html#rawhide


Note You need to log in before you can comment on or make changes to this bug.