hi,

I'm having trouble getting AxKit up and running on a new rig.  Its a
basic RH FC2 setup with perl 5.8.3, AxKit 1.62.

I'm using the demo kit that comes with the AxKit distribution to
calibrate things.  The parts that rely on the
Apache::AxKit::Plugin::Session module all fail ( 
        /axkit/xsp/session.xsp
        /axkit/xsp/globals.xsp
        /axkit/xsp/auth.xsp 
        )

I get errors like this when I try the globals.xsp demo:

____________
[Fri Jan  7 09:30:10 2005] [error] [client 192.168.1.66] [AxKit]
[Backtrace] AxKit::load_module failed: Invalid CODE attributes:
XSP_attribOrChild(name) : XSP_exprOrNode(attribute) :
XSP_nodeAttr(name,$attr_name) at
/usr/lib/perl5/site_perl/5.8.3/AxKit/XSP/Global.pm line 21\nBEGIN
failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.3/AxKit/XSP/Global.pm line
23.\nCompilation failed in require at (eval 312) line
1.\n\tApache::AxKit::Exception::new('Apache::AxKit::Exception::Error','-text','AxKit::load_module
                                    failed: Invalid CODE attributes:
                                    XSP_attri...') called at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/AxKit.pm line
1015\n\tAxKit::prep_exception('AxKit::load_module failed: Invalid CODE
                                                  attributes:
                                                  XSP_attri...')
called at ... etc.
------------------

It isn't the veriosn of Perl since I have a working setup under RH9
using AxKit 1.62, setup some time ago.  I noticed that the RH9 version
is using Session version 0.93 and the FC2 setup uses Session version
0.99.  The two use different idioms for declaring their respective
taglib functions.  E.g. in the two Auth.pm modules:

0.93: sub get_access : struct attribOrChild(type)
0.99: sub get_access : XSP_struct XSP_attribOrChild(type)

Using 0.93 I can escape the invalid CODE attribute problem, but the
rest of AxKit can't deal with it.  The error I get with 0.93 Session
instead is:

____________
[Fri Jan  7 09:31:56 2005] [error] [client 192.168.1.66] [AxKit]
[Backtrace] Compilation failed: syntax error at (eval 337) line 45,
near "{."\nGlobal symbol "$attr_name" requires explicit package name
at (eval 337) line 45.\nGlobal symbol "$attr_name" requires explicit
package name at (eval 337) line 45.\nsyntax error at (eval 337) line
45, near ";
}"\n\tError::throw('Apache::AxKit::Exception::Error','-text','Compilation
                   failed: syntax error at (eval 337) line 45, near
                   ...') called at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/Apache/AxKit/Language/XSP.pm
... etc.
------------------

So, it either won't compile or it won't run.  I'm guessing there's a
version mismatch here somewhere in the module pile.  Anyone know what
I need to change to get FC2 working?


-- 
John Edstrom  










---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to