Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Unable to emerge php-5.0

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
bking
n00b
n00b
Posts: 2
Joined: Sun May 15, 2005 5:42 pm

Unable to emerge php-5.0

  • Quote

Post by bking » Sun May 15, 2005 5:52 pm

I'm going crazy here trying to get php5 installed... Not sure why my change to /etc/portage/package.unmask isn't unmasking the package.

Code: Select all

root@myth php # more /etc/portage/package.unmask
=sys-fs/e2fsprogs-1.37
>=dev-php/php-5.0
>=dev-php/mod_php-5.0
root@myth php # emerge --pretend php

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

Calculating dependencies ...done!
[ebuild   R   ] dev-php/php-4.3.11
root@myth php # grep php /usr/portage/profiles/package.mask
=dev-php/PEAR-PEAR-1.3.5-r1
#=dev-php/mod_php-5*
=dev-php/PECL-imagick-0.9.11
What else do I have to do to unmask this package? I commented out the mod_php mask in[/code] /usr/portage/profiles, but it stays masked with or without it (not that the above output is an emerge of mod_php... but)

Trying to get a handle on portage, but it's just not behaving as I'd expect.... What am I missing?
Top
ndarlow
Tux's lil' helper
Tux's lil' helper
Posts: 89
Joined: Thu Dec 23, 2004 9:06 am

  • Quote

Post by ndarlow » Sun May 15, 2005 5:56 pm

Hi,

package.unmask is obsolete, use package.keywords instead e.g.:

dev-php/mod_php ~x86
dev-php/php ~x86

Substitute your architecture for ~x86.

Regards,
Neil Darlow
Top
allanw
Arch/Herd Tester
Arch/Herd Tester
Posts: 60
Joined: Wed Mar 02, 2005 12:10 am

  • Quote

Post by allanw » Sun May 15, 2005 9:01 pm

ndarlow wrote:Hi,

package.unmask is obsolete, use package.keywords instead e.g.:

dev-php/mod_php ~x86
dev-php/php ~x86

Substitute your architecture for ~x86.

Regards,
Neil Darlow
Huh? package.unmask is still being used to unmask package.mask packages.
Top
Buzz
n00b
n00b
Posts: 55
Joined: Fri Jul 19, 2002 3:13 pm

  • Quote

Post by Buzz » Tue May 17, 2005 12:15 pm

ndarlow wrote:Hi,

package.unmask is obsolete, use package.keywords instead e.g.:
Are you sure? Is it possible you are confusing:

/usr/portage/profiles/package.mask

and

/etc/portage/package.mask

Cheers,

Buzz


The following should allow mod_php 5.0.4 to be pulled in:
(note that this is just a reiteration of what's above)

echo "dev-php/mod_php ~x86" >> /etc/portage/package.keywords
echo "dev-php/php ~x86" >> /etc/portage/package.keywords
echo "=dev-php/mod_php-5.0.4" >> /etc/portage/package.unmask

(if this doesn't do it, sync again, and double check all the portage files for conflicting lines)...
Top
gwolf
Guru
Guru
User avatar
Posts: 374
Joined: Thu May 05, 2005 9:07 am
Location: Estonia

  • Quote

Post by gwolf » Tue May 17, 2005 1:01 pm

ndarlow wrote:Hi,

package.unmask is obsolete, use package.keywords instead e.g.:
No, it is not, package.unmask and package.keywords just serve different purposes.
/etc/portage/package.unmask is to unmask hardmasked packages, i.e. the packages that are described in
/usr/portage/profiles/package.mask

/etc/portage/package.keywords
is to set keywords (like ~arch or -~arch) package-wise, as opposed to putting them to /etc/make.conf where they apply to each package.

bking,
I still think that your problem will be solved as ndarlow described, since you are probably running a stable (arch not ~arch) system. My previous comment only means that the reasoning was not quite correct.
Top
bking
n00b
n00b
Posts: 2
Joined: Sun May 15, 2005 5:42 pm

got it !

  • Quote

Post by bking » Fri May 20, 2005 2:41 am

Well that seemed to work. After complaining about being blocked by 4.99.99, and unmerging the 4.x fixed that...

So I tried to emerge php5, and complained about no mpm installed in apache, so I added an mpm to my apache, but that needed r5, which requird addng the ~x86 keyword to a few other modules..... and well I got a build running, but my question now is: How scared should I be of having 7 ~x86 packages? Just wait till the version updates and remove the keyword?

Not bitching, just curious :P

Thanks for the info, think the keyword/masking makes sense now.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic