Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Трабл со сборкой PHP.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
azalio
n00b
n00b


Joined: 27 Jan 2004
Posts: 14
Location: Moscow

PostPosted: Tue Apr 12, 2005 6:18 pm    Post subject: Трабл со сборкой PHP. Reply with quote

Пытаюсь собрать php со следующими опциями:

Code:

USE="-java mysql -X -berkdb doc -ipv6 memlimit" emerge -pv  =php-4.3.11 mod_php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-php/php-4.3.11  -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 +pdflib +png -postgres +qt +readline -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
[ebuild  N    ] dev-php/mod_php-4.3.11-r1  -X -apache2 -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 +nls -oci8 -odbc +pam +pdflib +png -postgres +qt -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB


Вываливается при компиляции со следующей ошибкой:

Code:


In file included from /var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:30:
/usr/include/packer.h:28: error: syntax error before "uint32_t"
/usr/include/packer.h:30: error: syntax error before "pih_blocklen"
/usr/include/packer.h:31: error: syntax error before "pih_pad"
/usr/include/packer.h:40: error: syntax error before "uint32_t"
/usr/include/packer.h:50: error: conflicting types for `data'
/var/tmp/portage/php-4.3.11/work/php-4.3.11/main/php.h:259: error: previous declaration of `data'
/usr/include/packer.h:51: error: syntax error before '}' token
/usr/include/packer.h:56: error: syntax error before '*' token
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:32: error: syntax error before '*' token
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:33: error: syntax error before '*' token
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c: In function `_crack_open_dict':
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:71: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:71: error: (Each undeclared identifier is reported only once
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:71: error: for each function it appears in.)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c: At top level:
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:99: error: syntax error before '*' token
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c: In function `_close_crack_dict':
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:101: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c: In function `zif_crack_closedict':
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:176: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:199: error: syntax error before ')' token
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c: In function `zif_crack_check':
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:216: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c:240: error: syntax error before ')' token
/var/tmp/portage/php-4.3.11/work/php-4.3.11/ext/crack/crack.c: At top level:
/usr/include/packer.h:47: error: storage size of `header' isn't known
make: *** [ext/crack/crack.lo] Ошибка 1
make: *** Ожидание завершения заданий...

!!! ERROR: dev-php/php-4.3.11 failed.
!!! Function php-sapi_src_compile, Line 544, Exitcode 2
!!! compile problem


Никто не знает где трабл?
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Tue Apr 12, 2005 6:39 pm    Post subject: Reply with quote

Дело в cracklib. PHP компиляется нормально с версиями до cracklib-2.8.2 (не включая саму 2.8.2), сегодня в портаже проапдейтили до 2.8.3, насчёт неё не уверен... Вощим поиграйся с версиями cracklib.
Back to top
View user's profile Send private message
azalio
n00b
n00b


Joined: 27 Jan 2004
Posts: 14
Location: Moscow

PostPosted: Tue Apr 12, 2005 9:31 pm    Post subject: Reply with quote

угу, откатился на 2.7 заработало, спасибо! )
Back to top
View user's profile Send private message
GreenDragon
Guru
Guru


Joined: 31 Jul 2003
Posts: 319

PostPosted: Wed Apr 13, 2005 5:04 am    Post subject: Reply with quote

у меня с mod_php 5.0.3 нормально собирается с практически любыми последними cracklib
правда mod_php 5.0.3 маскированы из=за некоторых проблем, но ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian 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