Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] can't install PHP?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
minsoehan
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2015
Posts: 101
Location: Yangon, Burma. (Mother Su's Country)

PostPosted: Wed Mar 09, 2016 5:42 am    Post subject: [SOLVED] can't install PHP? Reply with quote

I am trying to install PHP.
Enabled php apache2 cgi in /etc/portage/make.conf file and
fpm in /etc/portage/package.use/php file

but
Code:
# emerge --newuse @world
doesn't pull anything.

Code:
# emerge --ask dev-lang/php
says this below
Code:
msh@duyinthee ~ $ sudo emerge --ask php

These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for dev-lang/php                                                                                   ... done!

!!! The ebuild selected to satisfy "php" has unmet requirements.
- dev-lang/php-5.6.18::gentoo USE="apache2 berkdb bzip2 cgi cli crypt ctype exif fileinfo filter fpm gdbm hash iconv ipv6 json ldap nls opcache phar posix readline session simplexml spell ssl tokenizer truetype unicode xml zlib -bcmath -calendar -cdb -cjk -curl -debug -embed -enchant (-firebird) -flatfile (-frontbase) -ftp -gd -gmp -imap -inifile -intl -iodbc -kerberos -ldap-sasl -libedit -libmysqlclient -mhash -mssql -mysql -mysqli -oci8-instant-client -odbc -pcntl -pdo -postgres -qdbm -recode (-selinux) -sharedmem -snmp -soap -sockets -sqlite -sybase-ct -systemd -sysvipc -threads -tidy -vpx -wddx -xmlreader -xmlrpc -xmlwriter -xpm -xslt -zip" ABI_X86="64"

  The following REQUIRED_USE flag constraints are unsatisfied:
    truetype? ( gd ) exif? ( gd )

  The above constraints are a subset of the following complete expression:
    cli? ( exactly-one-of ( readline libedit ) ) truetype? ( gd ) vpx? ( gd ) cjk? ( gd ) exif? ( gd ) xpm? ( gd ) gd? ( zlib ) simplexml? ( xml ) soap? ( xml ) wddx? ( xml ) xmlrpc? ( any-of ( xml iconv ) ) xmlreader? ( xml ) xslt? ( xml ) ldap-sasl? ( ldap ) mhash? ( hash ) phar? ( hash ) libmysqlclient? ( any-of ( mysql mysqli pdo ) ) qdbm? ( !gdbm ) readline? ( !libedit ) recode? ( !imap !mysql !mysqli ) sharedmem? ( !threads ) !cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )


please help...?


Last edited by minsoehan on Wed Mar 09, 2016 6:23 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Wed Mar 09, 2016 6:04 am    Post subject: Reply with quote

It's saying that to use truetype or exif USE flags, you need to also include USE=gd.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
minsoehan
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2015
Posts: 101
Location: Yangon, Burma. (Mother Su's Country)

PostPosted: Wed Mar 09, 2016 6:22 am    Post subject: Reply with quote

yes, it works, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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