Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mod_perl preventing apache from starting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Da Penguin
n00b
n00b


Joined: 26 Apr 2003
Posts: 23

PostPosted: Sun Jun 22, 2003 2:59 pm    Post subject: mod_perl preventing apache from starting Reply with quote

I have mod_perl emerged on mysystem, and when i change /etc/conf.d/apache to include perl (-D PERL), it will not start (works fine otherwise). Here is my error_log:
Code:

Cannot load /etc/apache/extramodules/libperl.so into server: /etc/apache/extramodules/libperl.so: R_PPC_REL24 relocation at 0x0cbe99d0 for symbol `Connection_remote_addr' out of range


~The Penguin
Back to top
View user's profile Send private message
zendron
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 82

PostPosted: Sun Jun 22, 2003 3:30 pm    Post subject: Reply with quote

You are on ppc, right? Try to add -fPIC to your CFLAGS and recompile.
Otherwise file a bug report on bugs.gentoo.org, one more ppc relocation limit error.

zendron
Back to top
View user's profile Send private message
Da Penguin
n00b
n00b


Joined: 26 Apr 2003
Posts: 23

PostPosted: Mon Jun 23, 2003 11:51 am    Post subject: Reply with quote

I tried that an no go. The funny part is, I had mod_perl running around a week ago with apache, but I did a complete http server overhaul, and it won't work now...

What does 'relocation' mean anyhue? (in this context atleast...)

~The Penguin
Back to top
View user's profile Send private message
zendron
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 82

PostPosted: Mon Jun 23, 2003 12:48 pm    Post subject: Reply with quote

Quote:
I tried that an no go. The funny part is, I had mod_perl running around a week ago with apache, but I did a complete http server overhaul, and it won't work now...


Did you ever try to build mod_php on ppc, _that_ is funny. You have to
play around with the USE flags, start apache, look in the error.log, ah
"relocation error", which lib could it be, next negative USE flag, build, start, verify.

Quote:
What does 'relocation' mean anyhue? (in this context atleast...)

Don't know, linking issue or so. That with the -fPIC is from bugs.gentoo.org.

zendron
Back to top
View user's profile Send private message
Da Penguin
n00b
n00b


Joined: 26 Apr 2003
Posts: 23

PostPosted: Mon Jun 23, 2003 11:49 pm    Post subject: Reply with quote

I got mod_php to work fine, albeit a month of fiddling :twisted:.
I guess I will just fiddle some more and see where I get...

~The Penguin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum