View previous topic :: View next topic |
Author |
Message |
Trem0r Guest
|
Posted: Mon Apr 22, 2002 5:28 pm Post subject: emerge php |
|
|
after i installed my new and shiny gentoo i wanted to set up apache, php and mysql. i ran
#emerge net-www/apache
#emerge dev-db/mysql
and they both worked fine. then i tried running
#emerge dev-lang/php
this however did not work very good for me. For some reason emerge started downloading xfree for me and qt and so on. I can't figure out why it does that because php shouldn't have any dependencies that require xfree i think.
I'm new to gentoo and linux so i might have done something wrong but i read in the package-list and it seemed to be the correct way to install php.
I will be very gratefull if someone can explain this to me. |
|
Back to top |
|
 |
klieber Bodhisattva


Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Mon Apr 22, 2002 6:24 pm Post subject: |
|
|
You need to set your USE variables correctly in your /etc/make.conf file. Check out the Gentoo documentation for more information about USE variables.
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
 |
daos n00b

Joined: 18 Apr 2002 Posts: 50 Location: Virginia, USA
|
Posted: Mon Apr 22, 2002 7:02 pm Post subject: |
|
|
First, you may check for dependencies before letting emerge download:
* emerge --pretend php
If you think you have all depnedencies in the list installed already, you can emerge php only by using this option:
* emerge -b --nodeps php /* -b for building binary packages */
PS:
You can check all dependencies versions by this command:
emerge -s qt (just example). |
|
Back to top |
|
 |
|