Skip to content

Another problem with IO::Socket on BeOS [rt.cpan.org #53838] #17450

Open
@toddr

Description

@toddr

Migrated from rt.cpan.org#53838 (status was 'new')

Requestors:

From njh@bandsman.co.uk on 2010-01-20 13:51:15:

On BeOS, IO::Socket fails to load with:

"Your vendor has not defined Socket macro AF_UNIX, used at
/boot/home/config/lib/perl5/5.8.8/BePC-beos/IO/Socket/UNIX.pm line 18"

A hack is to edit ../lib/perl5/5.8.8/BePC-beos/IO/Socket/INET.pm
commenting out line 25 thus:

my %socket_type = ( tcp  => SOCK_STREAM,
                   udp  => SOCK_DGRAM
                   # icmp => SOCK_RAW
                 );

Of course that is NOT a proper fix, I'd welcome a fix that supports
systems without SOCK_RAW

From njh@bandsman.co.uk on 2010-08-26 17:02:37:

I have just tried it with Perl 5.12.1, the problem still exists.

From njh@bandsman.co.uk on 2011-01-02 22:08:32:

5.12.3 is due soon, it would be great if this could be fixed in the release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dist-IOissues in the dual-life blead-first IO distribution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions