Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23416 - mod_perl 1.27-r2 error with apache 1.27-r3
Summary: mod_perl 1.27-r2 error with apache 1.27-r3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 15:51 UTC by Martin Holzer (RETIRED)
Modified: 2003-10-13 11:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Holzer (RETIRED) gentoo-dev 2003-06-24 15:51:43 UTC
* Starting apache...
[Tue Jun 24 22:45:33 2003] [error] Can't locate Apache.pm in @INC (@INC 
contains: /var/tmp/portage/mod_perl-1.27-r2/image/usr/lib/site_perl/5.8.0/i686-
linux /usr/lib/perl5/5.8.0/i586-
linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-
linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/ven
dor_perl/5.8.0/i586-
linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /etc/apache/
 /etc/apache/lib/perl) at (eval 2) line 3.
                                                                          [ !! ]

dvb ids-0.82 # Apache.pm failed to load!.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-06-24 15:52:20 UTC
perl 5.8.0
ExtUtils 6.05
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-06-25 12:07:44 UTC
mod_perl 1.27-r3 cleaned up path, but still doesn't work

/etc/init.d/apache start
 * Starting apache...
[Wed Jun 25 21:07:23 2003] [error] Can't locate Apache.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i586-linux /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i586-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . /etc/apache/ /etc/apache/lib/perl) at (eval 2) line 3.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2003-06-27 20:57:56 UTC
Martin - wasn't rac working on this one with you already? Or is that a dup of this bug? Thanks,

Mike
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-06-28 07:30:39 UTC
we talked about it on irc, but this is not fixed till now
Comment 5 Robert Coie (RETIRED) gentoo-dev 2003-06-28 18:33:03 UTC
Is it possible that Apache 2 is also installed on this machine?  Can you use qpkg
or epm to find out if Apache.pm is somewhere in the mod_perl package, and if so,
what directory it is in, please?
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-06-29 10:17:06 UTC
i've never installed apache2 on any of my systems

these files are provides by mod_perl
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Apache.pm
/usr/lib/perl5/vendor_perl/5.8.0/i686-linux/Bundle/Apache.pm
Comment 7 Robert Coie (RETIRED) gentoo-dev 2003-06-29 19:56:12 UTC
I am seeing 586-linux directories in your vendor-perl.  Is there a chance that
perl was somehow built when your CHOST was i586, or somehow gcc-config was confused?
Can you try reemerging perl when there is no possibility of 586 gcc-lib directories being active?
Comment 8 Robert Coie (RETIRED) gentoo-dev 2003-07-07 17:00:21 UTC
It's possible that some variant of the tactic in http://forums.gentoo.org/viewtopic.php?t=65846 will work here.
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2003-07-09 02:40:18 UTC
sorry, that didn't fix it
i've recompiled perl mod_perl and run libperlfix

was never i586
Comment 10 Michael Cummings (RETIRED) gentoo-dev 2003-07-25 10:14:29 UTC
Martin - I think he's referring to the "/usr/lib/perl5/vendor_perl/5.8.0/i586-linux" in your paste...(i'll step out of this now :) )
Comment 11 Ryan Phillips (RETIRED) gentoo-dev 2003-08-15 10:36:33 UTC
I have no issues merging mod_perl-1.99.09.ebuild
Comment 12 Robert Coie (RETIRED) gentoo-dev 2003-10-13 11:02:25 UTC
This is a libtool / gcc path issue.  fix_libtool_files.sh should be able
to solve
it, in both the case where the gcc version doesn't match and the case where
CHOST
is wrong.