I tested the dev-php/PECL-crack ebuild on AMD64 and it works fine. (Apache threading disbled). Please add ~amd64 to ebuild. Reproducible: Always Steps to Reproduce: 1. 2. 3.
It does not compile on a mostly-stable amd64 config. It looks like the eclass requires an executable called phpize, which I infer should be in /usr/bin based on grepping other eclasses, but I do not have it on my system. I do have dev-php/php installed, as well as mod_php (which is quite functional). Are we missing a DEPEND?
I think you will find the phpize is in the stable php ebuild (php-4.4.0) which is what I built against. After that sometime (I know for php5) the phpize has been moved to a separate ebuild: phpconfig. Which version of PHP did you build for? BTW, when I have threading enabled on apache, I get the following error on loading ... PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib64/php/extensions/no-debug-non-zts-20020429/crack.so' - /usr/lib64/php/extensions/no-debug-non-zts-20020429/crack.so: undefined symbol: core_globals in Unknown on line 0 I am not sure if this is specifically an AMD64 issue though. Withouth threading in apache it works fine.
That could be it - I'm using php-5.0.4-r1 (well, I did say mostly stable - I must have had some dependancy issue). Sounds like we need a potential dependancy on phpconfig if php < 5.0.
from what I understand, the php eclass is still be worked on for php5 and there are some issues that remain in sorting out the separation of the pecl and pear stuff in the PHP5 ebuilds. I don't think that it is a AMD64 specific issue. I think if you emerge phpconfig you will have phpize and you will then be able to get the PECL cracklib working. In my case, I upgraded from one stable php to another and found some functionality (cracklib) that I had been using had disappeared and the PECL cracklib ebuild doesn't even have ~amd64.
PHP team: any update on this one?
Hi, phpconfig was an experiment, and will be leaving the Portage tree any day now, as will the php5 ebuilds. They are replaced by the packages currently in the Gentoo PHP Overlay [1]. Best regards, Stu
PECL-crack-0.2 has been marked ~amd64.