View previous topic :: View next topic |
Author |
Message |
sigix Apprentice


Joined: 25 Jul 2003 Posts: 192
|
Posted: Fri Dec 17, 2004 12:27 pm Post subject: apache2 + mod_perl |
|
|
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
[/code] |
|
Back to top |
|
 |
steveb Advocate


Joined: 18 Sep 2002 Posts: 4564
|
Posted: Fri Dec 17, 2004 7:10 pm Post subject: |
|
|
ACCEPT_KEYWODS? Where is the R?
ACCEPT_KEYWORDS |
|
Back to top |
|
 |
sigix Apprentice


Joined: 25 Jul 2003 Posts: 192
|
Posted: Sat Dec 18, 2004 11:41 am Post subject: |
|
|
ok, thanx
but what about the first error "ACCESS VIOLATION" ? |
|
Back to top |
|
 |
dodger10k Tux's lil' helper

Joined: 27 Jun 2003 Posts: 97
|
Posted: Sun Dec 19, 2004 10:24 am Post subject: |
|
|
Same error message here. Can anyone help out?  |
|
Back to top |
|
 |
sf_alpha Tux's lil' helper

Joined: 19 Sep 2002 Posts: 136 Location: Bangkok, TH
|
Posted: Sun Dec 19, 2004 11:31 am Post subject: |
|
|
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 |
|
 |
elpierco n00b


Joined: 28 Sep 2003 Posts: 59 Location: Lawrence Kansas
|
Posted: Tue Jan 18, 2005 4:42 pm Post subject: Seems to have worked |
|
|
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 |
|
 |
plank n00b


Joined: 25 Jul 2002 Posts: 22 Location: Lisboa, Portugal
|
Posted: Thu Oct 20, 2005 6:20 pm Post subject: Re: Seems to have worked |
|
|
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 |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 606 Location: Escaping from NY
|
|
Back to top |
|
 |
plank n00b


Joined: 25 Jul 2002 Posts: 22 Location: Lisboa, Portugal
|
Posted: Sun Oct 23, 2005 5:54 pm Post subject: |
|
|
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 |
|
 |
maiku l33t


Joined: 24 Mar 2004 Posts: 606 Location: Escaping from NY
|
Posted: Sun Oct 23, 2005 11:42 pm Post subject: |
|
|
I meant mod_pearl but typed mod_php... by accident. But thanks for clearing it up. _________________ Michael |
|
Back to top |
|
 |
plank n00b


Joined: 25 Jul 2002 Posts: 22 Location: Lisboa, Portugal
|
Posted: Mon Oct 24, 2005 9:28 am Post subject: |
|
|
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 |
|
 |
mno Guru


Joined: 29 Dec 2003 Posts: 454 Location: Toronto, Canada
|
Posted: Mon Oct 31, 2005 3:00 am Post subject: |
|
|
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 |
|
 |
|