Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache2 + mod_perl
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
sigix
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 192

PostPosted: Fri Dec 17, 2004 12:27 pm    Post subject: apache2 + mod_perl Reply with quote

I'm trying to install mod_perl with apache2
apache2 is in USE flags
when I emerge mod_perl
it gave me following errors


Code:

............
............
make[2]: Entering directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs/Apache'
make[3]: Entering directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs/Apache/Const'
make[3]: Leaving directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs/Apache/Const'
make[2]: Leaving directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs/Apache'
make[2]: Entering directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs/ModPerl'
make[3]: Entering directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs/ModPerl/Const'
make[3]: Leaving directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs/ModPerl/Const'
make[2]: Leaving directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs/ModPerl'
make[1]: Leaving directory `/var/tmp/portage/mod_perl-1.99.11/work/mod_perl-1.99_11/xs'
/usr/bin/perl -MExtUtils::Install -e \
"-e qq{.mypacklist} && uninstall(qq{.mypacklist}, 1, 0)"
unlink /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/test.pm
ACCESS DENIED  chmod:     /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/test.pm
ACCESS DENIED  unlink:    /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/test.pm
Cannot forceunlink /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/test.pm: Permission denied at -e line 1
make: *** [nuke_Apache__test] Error 255

!!! ERROR: dev-perl/mod_perl-1.99.11 failed.
!!! Function src_install, Line 106, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-perl_-_mod_perl-1.99.11-8356.log"

chmod:     /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/test.pm
unlink:    /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/test.pm
--------------------------------------------------------------------------------

and
Code:

bash-2.05b# ACCEPT_KEYWODS="~x86" emerge '=dev-perl/mod_perl-1.99.11' -pv

These are the packages that I would merge, in order:

Calculating dependencies
!!! All ebuilds that could satisfy "=dev-perl/mod_perl-1.99.11" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-perl/mod_perl-1.99.11 (masked by: ~x86 keyword)


it's been one day to install/config mod_perl with apache2 but in vain
:roll: [/code]
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Fri Dec 17, 2004 7:10 pm    Post subject: Reply with quote

ACCEPT_KEYWODS? Where is the R?
ACCEPT_KEYWORDS
Back to top
View user's profile Send private message
sigix
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 192

PostPosted: Sat Dec 18, 2004 11:41 am    Post subject: Reply with quote

ok, thanx
but what about the first error "ACCESS VIOLATION" ?
Back to top
View user's profile Send private message
dodger10k
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jun 2003
Posts: 97

PostPosted: Sun Dec 19, 2004 10:24 am    Post subject: Reply with quote

Same error message here. Can anyone help out? :-)
Back to top
View user's profile Send private message
sf_alpha
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2002
Posts: 136
Location: Bangkok, TH

PostPosted: Sun Dec 19, 2004 11:31 am    Post subject: Reply with quote

It's not good idea. I think it may be ebuild bugs or something.
But If you want, u can try

$ FEATURES="-sandbox" emerge what_u_want

when you get sandbox ACCESS VIOLATION
_________________
Gentoo Mirrors in Thailand (and AP)
http://gentoo.in.th
Back to top
View user's profile Send private message
elpierco
n00b
n00b


Joined: 28 Sep 2003
Posts: 59
Location: Lawrence Kansas

PostPosted: Tue Jan 18, 2005 4:42 pm    Post subject: Seems to have worked Reply with quote

Emerging mod_perl with the FEATURES "-sandbox" seems to have worked for me. What are the implications in emerging a package this way? Thanks El
Back to top
View user's profile Send private message
plank
n00b
n00b


Joined: 25 Jul 2002
Posts: 22
Location: Lisboa, Portugal

PostPosted: Thu Oct 20, 2005 6:20 pm    Post subject: Re: Seems to have worked Reply with quote

elpierco wrote:
Emerging mod_perl with the FEATURES "-sandbox" seems to have worked for me. What are the implications in emerging a package this way? Thanks El


You give the ebuild permission to write/delete files anywhere on your system.
So if there's a serious bug on the ebuild (or you have a malicious ebuild) it can access and modify anything on the filesystem.

With sandbox only de /var/tmp/portage... can be accessed.

-sandbox not a very good idea.

I have the same problem.

The ebuild is probably buggy.
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 593
Location: Escaping from NY

PostPosted: Sun Oct 23, 2005 5:04 pm    Post subject: Reply with quote

Unnecessary. Just unmerge mod_php and then remerge it.

https://bugs.gentoo.org/show_bug.cgi?id=104895
_________________
Michael
Back to top
View user's profile Send private message
plank
n00b
n00b


Joined: 25 Jul 2002
Posts: 22
Location: Lisboa, Portugal

PostPosted: Sun Oct 23, 2005 5:54 pm    Post subject: Reply with quote

maiku wrote:
Unnecessary. Just unmerge mod_php and then remerge it.

https://bugs.gentoo.org/show_bug.cgi?id=104895


I didn't even have mod_php (or any php packages) installed.

I did unmerge an old mod_perl I had and reemerged the new version. It worked fine even on the sandbox.
I didn't dig deep into the ebuild to actually see what was going on, so I can't tell this will work for sure.

It did for me.
Back to top
View user's profile Send private message
maiku
Guru
Guru


Joined: 24 Mar 2004
Posts: 593
Location: Escaping from NY

PostPosted: Sun Oct 23, 2005 11:42 pm    Post subject: Reply with quote

I meant mod_pearl but typed mod_php... by accident. But thanks for clearing it up.
_________________
Michael
Back to top
View user's profile Send private message
plank
n00b
n00b


Joined: 25 Jul 2002
Posts: 22
Location: Lisboa, Portugal

PostPosted: Mon Oct 24, 2005 9:28 am    Post subject: Reply with quote

maiku wrote:
I meant mod_pearl but typed mod_php... by accident. But thanks for clearing it up.


Ok. I thought it was weird but possible.

More importantly, do you know the reason why the old version must be unmerged?
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Mon Oct 31, 2005 3:00 am    Post subject: Reply with quote

I also didn't see that you guys said mod_php, and assumed mod_perl in the suggestion to unmerge and then remerge. Weird, but that solved the issue for me :) Thanks.
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
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