Paul Malcher wrote:
Hi everyone,
Okay, I've installed the lastest POE 0.32. My problem is with a POE based web server that I wrote. It runs fine if I run it from the commandline, but once I attempt to compile wiht my PDK(version 6.02 with the latest version of Perl). I've included the error message I get when I run it after I compiled it. I've tried to fix this myself but no luck. I'm hoping some one has a clue they can provided because this error is not present when run normally, but any attempts to compile with the PDK or PAR generate that error at run time. Thanks in advance, Paul.

-- Error --
Unable to load POE::Macro::UseBytes : "use" not allowed in expression at /PerlApp/POE/Macro/UseBytes.pm line 30, near "{
  "
syntax error at /PerlApp/POE/Macro/UseBytes.pm line 30, near "{
  use bytes"
syntax error at /PerlApp/POE/Macro/UseBytes.pm line 32, near "}
}"
BEGIN failed--compilation aborted at (eval 132) line 2.
 at /PerlApp/POE/Driver/SysRW.pm line 8
BEGIN failed--compilation aborted at /PerlApp/POE/Driver/SysRW.pm line 8.
BEGIN failed--compilation aborted at (eval 119) line 1.
could not import qw(Driver::SysRW) at /PerlApp/POE/Wheel/ReadWrite.pm line 11 BEGIN failed--compilation aborted at /PerlApp/POE/Wheel/ReadWrite.pm line 11.
BEGIN failed--compilation aborted at (eval 113) line 1.
Unable to load POE::Macro::UseBytes : "use" not allowed in expression at /PerlApp/POE/Macro/UseBytes.pm line 30, near "{
  "
syntax error at /PerlApp/POE/Macro/UseBytes.pm line 30, near "{
  use bytes"
syntax error at /PerlApp/POE/Macro/UseBytes.pm line 32, near "}
}"
BEGIN failed--compilation aborted at (eval 142) line 2.
 at /PerlApp/POE/Driver/SysRW.pm line 8
BEGIN failed--compilation aborted at /PerlApp/POE/Driver/SysRW.pm line 8.
BEGIN failed--compilation aborted at (eval 140) line 1.
Unable to load POE::Macro::UseBytes : "use" not allowed in expression at /PerlApp/POE/Macro/UseBytes.pm line 30, near "{
  "
syntax error at /PerlApp/POE/Macro/UseBytes.pm line 30, near "{
  use bytes"
syntax error at /PerlApp/POE/Macro/UseBytes.pm line 32, near "}
}"
BEGIN failed--compilation aborted at (eval 149) line 2.
 at /PerlApp/POE/Filter/HTTPD.pm line 15
BEGIN failed--compilation aborted at /PerlApp/POE/Filter/HTTPD.pm line 15.
BEGIN failed--compilation aborted at (eval 147) line 1.
could not import qw(Wheel::ReadWrite Driver::SysRW Filter::HTTPD) at /PerlApp/POE/Component/Server/HTTP.pm line 15 BEGIN failed--compilation aborted at /PerlApp/POE/Component/Server/HTTP.pm line 15.
BEGIN failed--compilation aborted at server.pl line 13.

-- /Error --
All of these errors are tied back to the one line that isn't compiling properly from PAR and PerlApp: POE::Macro::UseBytes line 30., v1.3 from AS 5.8 package v 0.3202.

Snipped from use bytes, lines 29-31:
macro use_bytes {
 use bytes;
}

The error is occurring on line 30, as marked:
macro use_bytes {
   use bytes;
   ^
}


The actual problem is that the perl preprocessor is rejecting the syntax surrounding the statement.

I'm not sure how much help that is, but I havent used POE in depth, so this is all I can offer you at this time.


Jason P.


Reply via email to