Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge php
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
piumeno
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2004
Posts: 88

PostPosted: Tue Feb 08, 2005 6:02 am    Post subject: emerge php Reply with quote

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
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Tue Feb 08, 2005 6:17 am    Post subject: Reply with quote

devi mettere nel make.conf le variabili

Code:
gd gd-external



prova così :wink:

ciao
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30965
Location: here

PostPosted: Tue Feb 08, 2005 9:30 am    Post subject: Reply with quote

Oppure togli la flag jpeg
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1546
Location: switzerland

PostPosted: Tue Feb 08, 2005 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Tue Feb 08, 2005 12:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
piumeno
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2004
Posts: 88

PostPosted: Tue Feb 08, 2005 5:50 pm    Post subject: Reply with quote

sto provando vediamo se va...

dove si trovano tutte queste variabili, c'è qualche documentazione?
Back to top
View user's profile Send private message
piumeno
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2004
Posts: 88

PostPosted: Tue Feb 08, 2005 5:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
piumeno
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2004
Posts: 88

PostPosted: Tue Feb 08, 2005 5:55 pm    Post subject: Reply with quote

ho risolto l'ultimo errore mettendo dba, che variabile è?
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Tue Feb 08, 2005 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
piumeno
Tux's lil' helper
Tux's lil' helper


Joined: 17 Dec 2004
Posts: 88

PostPosted: Tue Feb 08, 2005 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
unz
l33t
l33t


Joined: 28 Jul 2004
Posts: 819
Location: Roma, Italia

PostPosted: Tue Feb 08, 2005 6:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Tue Feb 08, 2005 6:32 pm    Post subject: Reply with quote

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:
Code:
dev-php/php-4.3.10


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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