[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: IO::Socket::INET compilation (fwd)
On Sun, 16 Jan 2000, Nick Ing-Simmons wrote:
> >
> >On Thu, Jan 13, 2000 at 12:44:26PM +0100, Francesco Messineo wrote:
> >> Hello,
> >> I'm trying to compile some perl scripts that use IO::Socket::INET.
> >> The version of perl I'm using is 5.00554 (this version is the only
> >> that gives me good results when compiling scripts so far).
>
> The compiler is still fairly fluid, and 5.00554 is "quite old".
so far is still the one which gave me better results, anyway I can't
tell why.
>
> In any case the B::* modules need help identifying which methods
> to save - $foo->method is a run-time lookup so there is no hint
> in the optree as to which class(es) $foo might be. So you need
> to give -u flags to the compiler to say "keep this package even
> though it seems not to be used". The water is further muddied
> in that compiler code is "aware" that it uses IO::* itself, so
> it has a tendency to exclude the IO::* space.
yep I already figured out this myself. Also I had to add
Type => Socket::SOCK_STREAM in every IO::Socket::INET new call
(for tcp connections); without this, the socket syscall wasn't called
with the right argument.
Now almost anything compiles correctly.
>
> --
> Nick Ing-Simmons
>
Frank Messineo
- References to:
-
Nick Ing-Simmons <nick@ing-simmons.net>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]