Re: Plack::Middlewa:ForwardedHeaders
User:
mcholste
Date: 5/18/2010 10:48 am
Date: 5/18/2010 10:48 am
Views: 679
Rating: 0
Rating: 0
Graham: your module isn't compiling under Linux with Perl 5.8.8:
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ........... 1/1 Bailout called. Further testing stopped:
Can't continue if module can't compile
# Failed test 'require Plack::Middleware::ForwardedHeaders;'
# at t/00_load.t line 9.
# Tried to require 'Plack::Middleware::ForwardedHeaders'.
# Error: Bareword "Socket::AF_INET" not allowed while "strict
subs" in use at
/home/holstm/.cpan/build/Plack-Middleware-ForwardedHeaders-0.002-nQ05X4/blib/lib/Plack/Middleware/ForwardedHeaders.pm
line 84.
# Compilation failed in require at (eval 4) line 2.
It seems to work if you change "use Socket ()" to "use Socket."
--Martin
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load.t ........... 1/1 Bailout called. Further testing stopped:
Can't continue if module can't compile
# Failed test 'require Plack::Middleware::ForwardedHeaders;'
# at t/00_load.t line 9.
# Tried to require 'Plack::Middleware::ForwardedHeaders'.
# Error: Bareword "Socket::AF_INET" not allowed while "strict
subs" in use at
/home/holstm/.cpan/build/Plack-Middleware-ForwardedHeaders-0.002-nQ05X4/blib/lib/Plack/Middleware/ForwardedHeaders.pm
line 84.
# Compilation failed in require at (eval 4) line 2.
It seems to work if you change "use Socket ()" to "use Socket."
--Martin
Re: Plack::Middlewa:ForwardedHeaders
User:
haarg
Date: 6/1/2010 11:47 pm
Date: 6/1/2010 11:47 pm
Views: 0
Rating: 0
Rating: 0
I was unable to find anything on CPAN at the time I wrote that module,
but shortly after found Plack::Middleware::ReverseProxy, which does
the same thing but in a more reasonable way. I've been meaning to put
up a new version with a deprecation notice and a link to
::ReverseProxy.
On Tue, May 18, 2010 at 10:48 AM, wrote:
> mcholste wrote:
>
> Graham: your module isn't compiling under Linux with Perl 5.8.8:
>
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00_load.t ........... 1/1 Bailout called. Further testing stopped:
> Can't continue if module can't compile
>
> # Failed test 'require Plack::Middleware::ForwardedHeaders;'
> # at t/00_load.t line 9.
> # Tried to require 'Plack::Middleware::ForwardedHeaders'.
> # Error: Bareword "Socket::AF_INET" not allowed while "strict
> subs" in use at
> /home/holstm/.cpan/build/Plack-Middleware-ForwardedHeaders-0.002-nQ05X4/blib/lib/Plack/Middleware/ForwardedHeaders.pm
> line 84.
> # Compilation failed in require at (eval 4) line 2.
>
> It seems to work if you change "use Socket ()" to "use Socket."
>
> --Martin
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>
but shortly after found Plack::Middleware::ReverseProxy, which does
the same thing but in a more reasonable way. I've been meaning to put
up a new version with a deprecation notice and a link to
::ReverseProxy.
On Tue, May 18, 2010 at 10:48 AM, wrote:
> mcholste wrote:
>
> Graham: your module isn't compiling under Linux with Perl 5.8.8:
>
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00_load.t ........... 1/1 Bailout called. Further testing stopped:
> Can't continue if module can't compile
>
> # Failed test 'require Plack::Middleware::ForwardedHeaders;'
> # at t/00_load.t line 9.
> # Tried to require 'Plack::Middleware::ForwardedHeaders'.
> # Error: Bareword "Socket::AF_INET" not allowed while "strict
> subs" in use at
> /home/holstm/.cpan/build/Plack-Middleware-ForwardedHeaders-0.002-nQ05X4/blib/lib/Plack/Middleware/ForwardedHeaders.pm
> line 84.
> # Compilation failed in require at (eval 4) line 2.
>
> It seems to work if you change "use Socket ()" to "use Socket."
>
> --Martin
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>
Re: Plack::Middlewa:ForwardedHeaders
User:
mcholste
Date: 6/2/2010 8:50 am
Date: 6/2/2010 8:50 am
Views: 0
Rating: 0
Rating: 0
Cool, I'll use that one instead.
I had the same issue with writing my own YUI Perl module. I searched
CPAN but somehow missed YUI::Loader staring me in the face and so I
went off and wrote my own. In the end, it was ok because YUI::Loader
had a bunch of bugs that needed fixing. I sent my diffs to the author
and he said he'll be implementing them.
On Tue, Jun 1, 2010 at 11:47 PM, wrote:
> haarg wrote:
>
> I was unable to find anything on CPAN at the time I wrote that module,
> but shortly after found Plack::Middleware::ReverseProxy, which does
> the same thing but in a more reasonable way. I've been meaning to put
> up a new version with a deprecation notice and a link to
> ::ReverseProxy.
>
> On Tue, May 18, 2010 at 10:48 AM, wrote:
>> mcholste wrote:
>>
>> Graham: your module isn't compiling under Linux with Perl 5.8.8:
>>
>> Running make test
>> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>> t/00_load.t ........... 1/1 Bailout called. Further testing stopped:
>> Can't continue if module can't compile
>>
>> # Failed test 'require Plack::Middleware::ForwardedHeaders;'
>> # at t/00_load.t line 9.
>> # Tried to require 'Plack::Middleware::ForwardedHeaders'.
>> # Error: Bareword "Socket::AF_INET" not allowed while "strict
>> subs" in use at
>>
>> /home/holstm/.cpan/build/Plack-Middleware-ForwardedHeaders-0.002-nQ05X4/blib/lib/Plack/Middleware/ForwardedHeaders.pm
>> line 84.
>> # Compilation failed in require at (eval 4) line 2.
>>
>> It seems to work if you change "use Socket ()" to "use Socket."
>>
>> --Martin
>>
>> View Online
>>
>>
>> Madison Area Perl Mongers - MadMongers
>> http://www.madmongers.org
>>
>>
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>
I had the same issue with writing my own YUI Perl module. I searched
CPAN but somehow missed YUI::Loader staring me in the face and so I
went off and wrote my own. In the end, it was ok because YUI::Loader
had a bunch of bugs that needed fixing. I sent my diffs to the author
and he said he'll be implementing them.
On Tue, Jun 1, 2010 at 11:47 PM, wrote:
> haarg wrote:
>
> I was unable to find anything on CPAN at the time I wrote that module,
> but shortly after found Plack::Middleware::ReverseProxy, which does
> the same thing but in a more reasonable way. I've been meaning to put
> up a new version with a deprecation notice and a link to
> ::ReverseProxy.
>
> On Tue, May 18, 2010 at 10:48 AM, wrote:
>> mcholste wrote:
>>
>> Graham: your module isn't compiling under Linux with Perl 5.8.8:
>>
>> Running make test
>> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>> t/00_load.t ........... 1/1 Bailout called. Further testing stopped:
>> Can't continue if module can't compile
>>
>> # Failed test 'require Plack::Middleware::ForwardedHeaders;'
>> # at t/00_load.t line 9.
>> # Tried to require 'Plack::Middleware::ForwardedHeaders'.
>> # Error: Bareword "Socket::AF_INET" not allowed while "strict
>> subs" in use at
>>
>> /home/holstm/.cpan/build/Plack-Middleware-ForwardedHeaders-0.002-nQ05X4/blib/lib/Plack/Middleware/ForwardedHeaders.pm
>> line 84.
>> # Compilation failed in require at (eval 4) line 2.
>>
>> It seems to work if you change "use Socket ()" to "use Socket."
>>
>> --Martin
>>
>> View Online
>>
>>
>> Madison Area Perl Mongers - MadMongers
>> http://www.madmongers.org
>>
>>
>
> View Online
>
>
> Madison Area Perl Mongers - MadMongers
> http://www.madmongers.org
>
>