Thufir a écrit :
> According to ufed, the necesarry flags are enabled.  I've unmerged php, 
> re-emerged, with new use flags.  can there be a discrepancy between ufed 
> and what's really done?  what's going on?
> 
> 
> localhost ~ # 
> localhost ~ # 
> localhost ~ # 
> localhost ~ # cat /etc/make.conf
> ####################################################
> ## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ##
> ## PLEASE EDIT /mnt/gentoo/etc/make.conf INSTEAD  ##
> ####################################################
> # These settings were set by the catalyst build script that automatically
> # built this stage.
> # Please consult /etc/make.conf.example for a more detailed example.
> #CFLAGS="-O2 -march=i686 -pipe"
> CFLAGS="-march=i686 -O2 -pipe"
> CXXFLAGS="${CFLAGS}"
> # This should not be changed unless you know exactly what you are doing.  
> You
> # should probably be using a different stage, instead.
> CHOST="i686-pc-linux-gnu"
> ACCEPT_KEYWORDS=""
> MAKEOPTS=""
> CONFIG_PROTECT="-*" 
> USE="7zip ctype fastcgi java java5 msn nsplugin sqlite"
> FEATURES=""
> localhost ~ # 
> localhost ~ # date
> Thu Aug  2 01:28:59 PDT 2007
> localhost ~ # 
> 
> 
> according to ufed, ctype, session, and other stuff has an "x" and is 
> enabled...?  I only really see ctype here.
> 
> 
> 
> localhost ~ # 
> localhost ~ # 
> localhost ~ # emerge phpmyadmin --ask
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N    ] dev-db/phpmyadmin-2.10.1  USE="-vhosts" 
> 
> Would you like to merge these packages? [Yes/No] 
>>>> Verifying ebuild Manifests...
> 
>>>> Emerging (1 of 1) dev-db/phpmyadmin-2.10.1 to /
>  * phpMyAdmin-2.10.1-all-languages-utf-8-only.tar.bz2 
> RMD160 ;-) ...          [ ok ]
>  * phpMyAdmin-2.10.1-all-languages-utf-8-only.tar.bz2 
> SHA1 ;-) ...            [ ok ]
>  * phpMyAdmin-2.10.1-all-languages-utf-8-only.tar.bz2 
> SHA256 ;-) ...          [ ok ]
>  * phpMyAdmin-2.10.1-all-languages-utf-8-only.tar.bz2 
> size ;-) ...            [ ok ]
>  * checking ebuild 
> checksums ;-) ...                                          [ ok ]
>  * checking auxfile 
> checksums ;-) ...                                         [ ok ]
>  * checking miscfile 
> checksums ;-) ...                                        [ ok ]
>  * checking phpMyAdmin-2.10.1-all-languages-utf-8-
> only.tar.bz2 ;-) ...        [ ok ]
>  * 
>  * Using dev-lang/php-5.2.2-r1
>  * 
>  * Checking for required PHP feature(s) ...
>  * Checking for required PHP feature(s) ...
>  * 
>  * dev-lang/php-5.2.2-r1 needs to be re-installed with all of the 
> following
>  * USE flags enabled:
>  * 
>  * ctype pcre session unicode
>  * 
>  * as well as any of the following USE flags enabled:
>  * 
>  * mysql or mysqli if using dev-lang/php-5

You could see there that phpmyadmin need php to be emerged with mysql or mysqli
use flag...

>  * mysql if using dev-lang/php-4
>  * 
> 
> !!! ERROR: dev-db/phpmyadmin-2.10.1 failed.
> Call stack:
>   ebuild.sh, line 1637:   Called dyn_setup
>   ebuild.sh, line 704:   Called qa_call 'pkg_setup'
>   ebuild.sh, line 44:   Called pkg_setup
>   phpmyadmin-2.10.1.ebuild, line 36:   Called die
> 
> !!! Re-install dev-lang/php-5.2.2-r1
> !!! If you need support, post the topmost build error, and the call stack 
> if relevant.
> !!! A complete build log is located at '/var/tmp/portage/dev-db/
> phpmyadmin-2.10.1/temp/build.log'.
> 
> localhost ~ # 
> localhost ~ # 
> localhost ~ # equery u php
> [ Searching for packages matching php... ]
> [ Colour Code : set unset ]
> [ Legend : Left column  (U) - USE flags from make.conf              ]
> [        : Right column (I) - USE flags packages was installed with ]
> [ Found these USE variables for dev-lang/php-5.2.2-r1 ]
>  U I
>  - - adabas              : Adds support for the Adabas database engine
>  - - apache2             : Chooses Apache2 support when a package 
> supports both Apache1 and Apache2
>  - - bcmath              : Adds support for libbcmath
>  + + berkdb              : Adds support for sys-libs/db (Berkeley DB for 
> MySQL)
>  - - birdstep            : Adds support for the Birdstep Database Server
>  - - bzip2               : Use the bzlib compression library
>  - - calendar            : Adds support for calendars (not using mcal!)
>  - - cdb                 : Adds support for the CDB database engine from 
> the author of qmail
>  - - cgi                 : Enable CGI SAPI
>  - - cjk                 : Adds support for Multi-byte character 
> languages (Chinese, Japanese, Korean)
>  + + cli                 : Enable CLI SAPI
>  - - concurrentmodphp    : Make it possible to load both mod_php4 and 
> mod_php5 into the same Apache2 instance (experimental)
>  + + crypt               : Add support for encryption -- using mcrypt or 
> gpg where applicable
>  + + ctype               : Enables ctype functions
>  - - curl                : Adds support for client-side URL transfer 
> library
>  - - curlwrappers        : Adds support for using curl in streams
>  - - db2                 : Enables support for IBM DB2 database server
>  - - dbase               : Adds support for dbase file format
>  - - dbmaker             : Adds support for dbmaker database server
>  - - debug               : Enable extra debug codepaths, like asserts and 
> extra output. If you want to get meaningful backtraces see http://
> www.gentoo.org/proj/en/qa/backtraces.xml .
>  - - discard-path        : Switch on common security setting for CGI SAPI
>  - - doc                 : Adds extra documentation (API, Javadoc, etc)
>  - - empress             : Adds support for the Empress database server
>  - - empress-bcs         : Adds local access support for the Empress 
> database server
>  - - esoob               : Adds support for Easysoft OOD database
>  - - exif                : Adds support for reading EXIF headers from 
> JPEG and TIFF images
>  - - fastbuild           : Build PHP quicker (experimental)
>  - - fdftk               : Add supports for Adobe's FDF toolkit.
>  - - filter              : Add filter extension support
>  - - firebird            : Adds support for the Firebird relational 
> database
>  - - flatfile            : Adds dbm support for flat files
>  - - force-cgi-redirect  : Switch on common security setting for CGI SAPI
>  - - frontbase           : Adds support for the frontbase sql server
>  - - ftp                 : Adds FTP (File Transfer Protocol) support
>  - - gd                  : Adds support for media-libs/gd (to generate 
> graphics on the fly)
>  - - gd-external         : Use the external version of gd rather than the 
> bundled one (possibly dangerous)
>  + + gdbm                : Adds support for sys-libs/gdbm (GNU database 
> libraries)
>  - - gmp                 : Adds support for dev-libs/gmp (GNU MP library)
>  - - hash                : Enable the hash extension
>  + + iconv               : Enable support for the iconv character set 
> conversion library
>  - - imap                : Adds support for IMAP (Internet Mail 
> Application Protocol)
>  - - inifile             : Adds dbm support for .ini files
>  - - interbase           : Adds support for Interbase database
>  - - iodbc               : Adds support for iODBC library
>  + + ipv6                : Adds support for IP version 6
>  - - java-external       : Use the external java extension rather than 
> the bundled one
>  - - json                : Enable JSON support
>  + + kerberos            : Adds kerberos support
>  + + ldap                : Adds LDAP support (Lightweight Directory 
> Access Protocol)
>  - - ldap-sasl           : Add SASL support for the PHP LDAP extension
>  - - libedit             : Use the libedit library (replacement for 
> readline)
>  - - mcve                : Support for the MCVE credit card payment system
>  - - mhash               : Adds support for the mhash library
>  - - msql                : Adds support for the MSQL database server
>  - - mssql               : Adds support for Microsoft SQL Server database
>  - - mysql               : Adds mySQL Database support
>  - - mysqli              : Adds support for the improved mySQL libraries

and here you could see that none of these useflags are enabled !

>  + + ncurses             : Adds ncurses support (console display library)
>  + + nls                 : Adds Native Language Support (using gettext - 
> GNU locale utilities)
>  - - oci8                : Adds Oracle 8 Database Support
>  - - oci8-instant-client : Use dev-db/oracle-instantclient-basic as 
> Oracle provider instead of requiring a full Oracle server install
>  - - odbc                : Adds ODBC Support (Open DataBase Connectivity)
>  - - pcntl               : Adds support for process creation functions
>  + + pcre                : Adds support for Perl Compatible Regular 
> Expressions
>  - - pdo                 : Enable the bundled PDO extensions
>  - - pdo-external        : Use the external pecl-pdo extension rather 
> than the bundled one
>  - - pic                 : Build Position Independent Code.  Do not 
> utilize this flag unless you know what you're doing.
>  - - posix               : Adds support for POSIX-compatible functions
>  - - postgres            : Adds support for the postgresql database
>  - - qdbm                : Adds support for the qdbm (Quick Database 
> Manager) library
>  + + readline            : Enables support for libreadline, a GNU line-
> editing library that almost everyone wants
>  - - recode              : Enables support for the GNU recode library
>  + + reflection          : Enable the reflection extension (Reflection 
> API)
>  - - sapdb               : Adds support for SAP DB
>  + + session             : Adds persistent session support
>  - - sharedext           : Adds support for building shared extensions in 
> php
>  - - sharedmem           : Adds support for shared memory use
>  - - simplexml           : support for simplexml
>  - - snmp                : Adds support for the Simple Network Management 
> Protocol if available
>  - - soap                : Adds support for SOAP (Simple Object Access 
> Protocol)
>  - - sockets             : Adds support for tcp/ip sockets
>  - - solid               : Adds support for the Solid database engine
>  + + spell               : Adds dictionary support
>  + + spl                 : Adds support for the Standard PHP Library
>  + + sqlite              : Adds support for sqlite - embedded sql database
>  + + ssl                 : Adds support for Secure Socket Layer 
> connections
>  - - suhosin             : Add Suhosin support (patch and extension from 
> http://www.suhosin.org/)
>  - - sybase              : Adds support for the Sybase SQL Database Server
>  - - sybase-ct           : Adds support for Sybase-CT
>  - - sysvipc             : Support for System V-compatible inter-process 
> communication
>  - - threads             : Adds threads support for various packages. 
> Usually pthreads
>  - - tidy                : Adds support for HTML Tidy
>  - - tokenizer           : Adds support for the PHP file parser
>  + + truetype            : Adds support for FreeType and/or FreeType2 
> fonts
>  + + unicode             : Adds support for Unicode
>  - - wddx                : Adds support for Web Distributed Data eXchange
>  + + xml                 : Add support for XML files
>  - - xmlreader           : Enable XMLReader support
>  - - xmlrpc              : Support for xml-rpc library
>  - - xmlwriter           : Enable XMLWriter support
>  - - xpm                 : Adds support for XPM graphics format
>  - - xsl                 : Check/Support flag for XSL library (version 1)
>  - - yaz                 : Adds in optional support for the Z39.50 
> Protocol for Information Retrieval (YAZ)
>  - - zip                 : Enable ZIP file support
>  - - zip-external        : Enable ZIP file support (external PECL 
> extension)
>  + + zlib                : Adds support for zlib (de)compression
> localhost ~ # 
> localhost ~ # date
> Thu Aug  2 01:20:17 PDT 2007
> localhost ~ # 
> localhost ~ # 
> 

So :
localhost ~ # echo "dev-lang/php mysql mysqli" >> /etc/portage/package.use
localhost ~ # emerge dev-lang/php dev-db/phpmyadmin

And from now, phpmyadmin will install & works fine, and so take the habits to
read emerge messages from start to their end ;)
> 
> 
> thanks,
> 
> Thufir
> 

Regards,

Xavier Parizet

--
http://www.linuxant.fr

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to