Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] errore compilazione php-4.4.0
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
Clunis
n00b
n00b


Joined: 31 Aug 2005
Posts: 11

PostPosted: Fri Sep 09, 2005 1:08 pm    Post subject: [RISOLTO] errore compilazione php-4.4.0 Reply with quote

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


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Sep 09, 2005 1:13 pm    Post subject: Reply with quote

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


Joined: 31 Aug 2005
Posts: 11

PostPosted: Fri Sep 09, 2005 1:36 pm    Post subject: Reply with quote

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


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Sep 09, 2005 1:43 pm    Post subject: Reply with quote

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:
Code:
# emerge -pv php

grazie :)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Lestaat
Guru
Guru


Joined: 13 Jan 2005
Posts: 412
Location: Perugia

PostPosted: Fri Sep 09, 2005 2:21 pm    Post subject: Reply with quote

Stesso identico errore ma con mod_php
_________________
Vorrei salvare il mondo...
...ma non so con che estensione!!!
Back to top
View user's profile Send private message
Clunis
n00b
n00b


Joined: 31 Aug 2005
Posts: 11

PostPosted: Fri Sep 09, 2005 2:58 pm    Post subject: Reply with quote

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


Joined: 31 Aug 2005
Posts: 11

PostPosted: Sat Sep 10, 2005 9:30 am    Post subject: Reply with quote

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


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sat Sep 10, 2005 10:13 am    Post subject: Reply with quote

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 :twisted:
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Truzzone
Guru
Guru


Joined: 16 Oct 2003
Posts: 492
Location: Italy

PostPosted: Sat Sep 10, 2005 12:04 pm    Post subject: Reply with quote

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:
Code:
man emerge


Ciao by Truzzone :)
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