Re: [gentoo-user] ufed and make.conf when emerging phpMyAdmin

2007-08-02 Thread Neil Bothwick
On Thu, 2 Aug 2007 08:30:48 + (UTC), Thufir wrote:

 
 ## ATTENTION: THIS IS THE MAKE.CONF ON THE LIVECD ##
 ## PLEASE EDIT /mnt/gentoo/etc/make.conf INSTEAD  ##
 

You really should be starting with the make.conf installed by portage
instead of copying across the live CD file. Read make.conf.example for an
explanation of the options, or even us that as a starting point.

 ACCEPT_KEYWORDS=
 MAKEOPTS=

Both of these are bad.

 CONFIG_PROTECT=-* 

This is dangerous. It remove config protection, so any update will
overwrite your configuration files.


-- 
Neil Bothwick

Bother, said Pooh, as he connected at 300 bps.


signature.asc
Description: PGP signature


[gentoo-user] ufed and make.conf when emerging phpMyAdmin

2007-08-02 Thread Thufir
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
 * 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://

Re: [gentoo-user] ufed and make.conf when emerging phpMyAdmin

2007-08-02 Thread Xav'
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