You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Dorian Taylor <do...@foobarsystems.com> on 2005/08/03 00:41:59 UTC

debian testing vs mod_perl trunk: Makefile.PL, IO and XSLoader

the most bizarre thing popped up when i was trying to build a
mod_perl deb (and from regular source) on debian testing/i386:

String found where operator expected at /usr/lib/perl/5.8/IO.pm line 11, near "XSLoader::load 'IO'"
        (Do you need to predeclare XSLoader::load?)
syntax error at /usr/lib/perl/5.8/IO.pm line 11, near "XSLoader::load 'IO'"
Compilation failed in require at /usr/lib/perl/5.8/IO/Handle.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl/5.8/IO/Handle.pm line 9.
Compilation failed in require at /usr/lib/perl/5.8/IO/Seekable.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl/5.8/IO/Seekable.pm line 9.
Compilation failed in require at /usr/lib/perl/5.8/IO/File.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl/5.8/IO/File.pm line 11.
Compilation failed in require at /usr/share/perl/5.8/FileHandle.pm line 9.
Compilation failed in require at /usr/share/perl/5.8/ExtUtils/Embed.pm line 6.
Compilation failed in require at lib/Apache2/Build.pm line 26.
BEGIN failed--compilation aborted at lib/Apache2/Build.pm line 26.
Compilation failed in require at Makefile.PL line 36.
BEGIN failed--compilation aborted at Makefile.PL line 36.

now, if i go disambiguate XSLoader::load with parentheses, it
complains of an undefined subroutine.

i'm not sure what's eating XSLoader's symbols, but it's sure messing
me up. has anything around this sphere been changed recently, say,
in the last couple weeks?

.dorian

Re: debian testing vs mod_perl trunk: Makefile.PL, IO and XSLoader

Posted by Dorian Taylor <do...@foobarsystems.com>.
> Assuming you're aware of the renaming issue:
>    http://perl.apache.org/docs/2.0/rename.html
> I've seen a similar error when installing a current
> CPAN/svn mod_perl-2 over top of an existing mod_perl-2 
> that followed the old API. Did you remove any old
> mod_perl-2 installation before installing the new one?
> In particular, is there an old Apache2.pm around that
> may be getting picked up?

weird, there was an Apache2.pm, but the mtime was dated july 14,
which is strange cause i thought i'd cleaned it out far before then.
anyway thanks for pointer.

.d

Re: debian testing vs mod_perl trunk: Makefile.PL, IO and XSLoader

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 2 Aug 2005, Dorian Taylor wrote:

> the most bizarre thing popped up when i was trying to build a
> mod_perl deb (and from regular source) on debian testing/i386:
>
> String found where operator expected at /usr/lib/perl/5.8/IO.pm line 11, near "XSLoader::load 'IO'"
>        (Do you need to predeclare XSLoader::load?)
> syntax error at /usr/lib/perl/5.8/IO.pm line 11, near "XSLoader::load 'IO'"

Assuming you're aware of the renaming issue:
    http://perl.apache.org/docs/2.0/rename.html
I've seen a similar error when installing a current
CPAN/svn mod_perl-2 over top of an existing mod_perl-2 
that followed the old API. Did you remove any old
mod_perl-2 installation before installing the new one?
In particular, is there an old Apache2.pm around that
may be getting picked up?

-- 
best regards,
randy kobes