View previous topic :: View next topic |
Author |
Message |
piumeno Tux's lil' helper
Joined: 17 Dec 2004 Posts: 88
|
Posted: Tue Feb 08, 2005 6:02 am Post subject: emerge php |
|
|
emergendo php, al momento della compilazione mi da questo errore:
>>> md5 src_uri php-5.0.2.tar.bz2
* USE flag 'jpeg' needs one of these additional flag(s) set:
* gd gd-external cpdflib
*
* You can do this by enabling one of these flags in /etc/portage/package.use
*
!!! ERROR: dev-php/php-5.0.2-r1 failed.
!!! Function confutils_use_depend_any, Line 157, Exitcode 0
!!! Need missing USE flag
!!! If you need support, post the topmost build error, NOT this status message.
ho anche messo nella variabile use in make.conf jpeg, ma mi da sempre lo stesso errore.
Cosa può essere? |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1557 Location: switzerland
|
Posted: Tue Feb 08, 2005 6:17 am Post subject: |
|
|
devi mettere nel make.conf le variabili
prova così
ciao |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31202 Location: here
|
Posted: Tue Feb 08, 2005 9:30 am Post subject: |
|
|
Oppure togli la flag jpeg _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1557 Location: switzerland
|
Posted: Tue Feb 08, 2005 10:29 am Post subject: |
|
|
fedeliallalinea wrote: | Oppure togli la flag jpeg |
non vorrei dire una cavolata ma o php o apache (non mi ricordo più chi dei due) richiedono quelle flag (gd e gd-external), quindi anche se toglie jpeg, le altre due le deve mettere cmq. |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Tue Feb 08, 2005 12:21 pm Post subject: |
|
|
gd viene richiesto da php (per la manipolazione delle immagini)
è una fetaure molto utile imho in php, certo poi dipende dall'uso
che farai di php includerlo o meno.... _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
piumeno Tux's lil' helper
Joined: 17 Dec 2004 Posts: 88
|
Posted: Tue Feb 08, 2005 5:50 pm Post subject: |
|
|
sto provando vediamo se va...
dove si trovano tutte queste variabili, c'è qualche documentazione? |
|
Back to top |
|
|
piumeno Tux's lil' helper
Joined: 17 Dec 2004 Posts: 88
|
Posted: Tue Feb 08, 2005 5:54 pm Post subject: |
|
|
altro errore
>>> clean: No packages selected for removal.
>>> emerge (2 of 2) dev-php/php-5.0.2-r1 to /
>>> md5 src_uri php-5.0.2.tar.bz2
* USE flag 'berkdb' needs these additional flag(s) set:
* dba
*
* You can do this by enabling these flags in /etc/portage/package.use:
* =dev-php/php-5.0.2-r1 dba
*
* You could disable this flag instead in /etc/portage/package.use:
* =dev-php/php-5.0.2-r1 -berkdb
!!! ERROR: dev-php/php-5.0.2-r1 failed.
!!! Function confutils_use_depend_all, Line 117, Exitcode 0
!!! Need missing USE flags
!!! If you need support, post the topmost build error, NOT this status message. |
|
Back to top |
|
|
piumeno Tux's lil' helper
Joined: 17 Dec 2004 Posts: 88
|
Posted: Tue Feb 08, 2005 5:55 pm Post subject: |
|
|
ho risolto l'ultimo errore mettendo dba, che variabile è? |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Tue Feb 08, 2005 5:59 pm Post subject: |
|
|
ricerca sul forum italian
documentazione sulle use flags e su portage in genere
(c'è anche qualche post in rilievo in post utilissimi mi pare)
o fai riferimento alle guide presenti su gentoo.org
per le use flags puoi dare anche un'occhiata al file:
/usr/portage/profiles/use.desc _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
piumeno Tux's lil' helper
Joined: 17 Dec 2004 Posts: 88
|
Posted: Tue Feb 08, 2005 6:02 pm Post subject: |
|
|
Grazie X-Drum
purtroppo mi ha dato un'altro errore, cavolo ma è impossibile mettere php
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make: *** [libphp5.la] Error 1
make: *** Waiting for unfinished jobs....
libtool: link: cannot find the library `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/libstdc++.la'
make: *** [sapi/cli/php] Error 1
!!! ERROR: dev-php/php-5.0.2-r1 failed.
!!! Function php5-sapi_src_compile, Line 432, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message. |
|
Back to top |
|
|
unz l33t
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Tue Feb 08, 2005 6:30 pm Post subject: |
|
|
smaschera la 5.0.3
Code: | $echo ">=dev-php/php-5.0.3" > /etc/portage/package.keywords
$USE="-adabas +bcmath -berkdb -birdstep +bzlib +calendar +cdb +cpdflib +crypt +ctype +curl +curlwrappers -db2 +dba +dbase -dbm -dbmaker -dbx -debug +dio -empress -empress-bcs -esoob +exif +fam -fdftk -filepro +flatfile -frontbase +ftp +gd +gd-external +gdbm +gmp -hyperwave-api +iconv -imap -informix -ingres +inifile -interbase -iodbc +jpeg -kerberos +ldap -libedit -mcve +memlimit -mhash +mime +ming -mnogosearch -msession -msql -mssql +mysql -mysqli +ncurses -nis +nls -oci8 -odbc -oracle7 -ovrimos +pcntl +pcre -pfpro +png -posix -postgres -qdbm +readline -recode -sapdb -sasl +session +shared +sharedmem +simplexml -snmp +soap +sockets -solid +spell +spl +sqlite +ssl -sybase -sybase-ct -sysvipc +tidy +tiff +tokenizer +truetype +wddx +xml2 +xmlrpc +xpm +xsl +zlib" emerge php -pv |
se poi hai apache devi installarti anche mod_php allo stesso modo e con le stesse USE _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
|
X-Drum Advocate
Joined: 24 Aug 2003 Posts: 2517 Location: ('Modica','Trieste','Ferrara') Italy
|
Posted: Tue Feb 08, 2005 6:32 pm Post subject: |
|
|
piuomeno wrote: | Grazie X-Drum |
di nulla, non so a cosa ti serva di preciso php in questo contesto:
-programmare e basta
-provare l'ultima versione
ma ti consiglio una release piu' stabile,
la 5.0 potrebbe darti delle noie
(a parte quelle che vedo hai già) prova ad emergere questa:
ma, appunto come mai emergi la 5.0.x?
stai usando ACCEPT_KEYWORDS="~x86" oppure vuoi
esplicitamente la versione masked di php? _________________ "...There are two sort of lies, lies and benchmarks..." |
|
Back to top |
|
|
|