View previous topic :: View next topic |
Author |
Message |
Clunis n00b
Joined: 31 Aug 2005 Posts: 11
|
Posted: Fri Sep 09, 2005 1:08 pm Post subject: [RISOLTO] errore compilazione php-4.4.0 |
|
|
ciao a tutti sto compilando il pacchetto php ma ni esce con il seguente errore:
In file included from /var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/wddx/php_wddx.h:26,
from main/internal_functions_cli.c:70:
/var/tmp/portage/php-4.4.0/work/php-4.4.0/ext/xml/expat/expat.h:894: error: conflicting types for 'XML_FEATURE_UNICODE'
/usr/include/libxml2/libxml/parser.h:1196: error: previous definition of 'XML_FEATURE_UNICODE' was here
make: *** [main/internal_functions_cli.lo] Error 1
make: *** Waiting for unfinished jobs....
!!! ERROR: dev-php/php-4.4.0 failed.
!!! Function php-sapi_src_compile, Line 532, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
da cosa dipende?
grazie a tutti
Last edited by Clunis on Sat Sep 10, 2005 9:30 am; edited 1 time in total |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Fri Sep 09, 2005 1:13 pm Post subject: |
|
|
mai avuto problemi con php e mod_php
con che USE parti ad emergere? _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Clunis n00b
Joined: 31 Aug 2005 Posts: 11
|
Posted: Fri Sep 09, 2005 1:36 pm Post subject: |
|
|
dunque avevo -ldap nelle use in make.conf......
l'ho abilitato e ora quando do emerge dev-php/php mi scarica due pacchetti e non piu uno ma c'e sempre un'errore:
ntlm.c: In function `ldap_ntlm_bind':
ntlm.c:77: error: too few arguments to function `ldap_send_initial_request'
make[2]: *** [ntlm.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/openldap-2.2.28-r1/work/openldap-2.2.28/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var/tmp/portage/openldap-2.2.28-r1/work/openldap-2.2.28/libraries'
make: *** [all-common] Error 1
è d'aiuto o sto facendo solo più casino? |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Fri Sep 09, 2005 1:43 pm Post subject: |
|
|
sarebbe a dire che fallisce ancora prima di arrivare a compilare php?
nel primo post nn avevi ancora ldap tra le use ? se si sarebbe meglio tornare a -ldap... cosa ti ha spinto ad aggiungerlo? reali necessità?
cmq che pacchetti sono? che pacchetto di ldap?
e cmq ritorno sulla domanda poco chiara posta da me prima
con che flag use compili php?
posteresti soltanto un:
grazie _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Lestaat Guru
Joined: 13 Jan 2005 Posts: 412 Location: Perugia
|
Posted: Fri Sep 09, 2005 2:21 pm Post subject: |
|
|
Stesso identico errore ma con mod_php _________________ Vorrei salvare il mondo...
...ma non so con che estensione!!! |
|
Back to top |
|
|
Clunis n00b
Joined: 31 Aug 2005 Posts: 11
|
Posted: Fri Sep 09, 2005 2:58 pm Post subject: |
|
|
il risultato di emerge -pv dev-php/php
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] net-nds/openldap-2.2.28-r1 +berkdb +crypt -debug -gdbm +ipv6 -kerberos -minimal -odbc +perl +readline +samba -sasl (-slp) +ssl +tcpd 0 kB
[ebuild N ] dev-php/php-4.4.0 +X +berkdb +crypt -curl -debug -doc (-fdftk) (-firebird) -flash +freetds -gd -gd-external -gdbm -gmp -hardenedphp +imap (-informix) +ipv6 +java +jpeg -kerberos +ldap -mcal -memlimit -mssql -mysql +ncurses +nls -oci8 -odbc +pam +png -postgres +readline -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
Total size of downloads: 0 kB |
|
Back to top |
|
|
Clunis n00b
Joined: 31 Aug 2005 Posts: 11
|
Posted: Sat Sep 10, 2005 9:30 am Post subject: |
|
|
RISOLTO IL PROBLEMA!!!!
su make.conf, seguendo una guida, avevo aggiunto la riga " ACCEPT_KEYWORDS="~amd64" "
che mi ha scaricato un sacco di pacchetti aggiornati che avevano qualche problema togliendola e ricompilando tutto il sistema ho risolto il problema
Grazie a tutti |
|
Back to top |
|
|
Peach Advocate
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Sat Sep 10, 2005 10:13 am Post subject: |
|
|
Clunis wrote: | RISOLTO IL PROBLEMA!!!!
su make.conf, seguendo una guida, avevo aggiunto la riga " ACCEPT_KEYWORDS="~amd64" "
che mi ha scaricato un sacco di pacchetti aggiornati che avevano qualche problema togliendola e ricompilando tutto il sistema ho risolto il problema
Grazie a tutti |
azz ma è proprio un vizio questo _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
|
Truzzone Guru
Joined: 16 Oct 2003 Posts: 492 Location: Italy
|
Posted: Sat Sep 10, 2005 12:04 pm Post subject: |
|
|
Clunis wrote: | RISOLTO IL PROBLEMA!!!!
su make.conf, seguendo una guida, avevo aggiunto la riga " ACCEPT_KEYWORDS="~amd64" "
che mi ha scaricato un sacco di pacchetti aggiornati che avevano qualche problema togliendola e ricompilando tutto il sistema ho risolto il problema
Grazie a tutti |
Si deve utilizzare:
Code: | /etc/portage/package.keywords
/etc/portage/package.unmask |
Per utilizzare pacchetti in ~arch e smascherare i pacchetti, maggiori informazioni:
Ciao by Truzzone |
|
Back to top |
|
|
|