![]() |
sponsored links |
|
|
sponsored links
|
|
1
11th December 08:47
External User
Posts: 1
|
ID: 13556
Comment by: cwant at ualberta dot ca Reported By: oliver at deeper dot co dot nz Status: Closed Bug Type: Compile Failure Operating System: linux PHP Version: 4.1.1 & 4.1.2 Assigned To: sniper New Comment: I think it is no longer possible to build php using the static lib Previous Comments: ------------------------------------------------------------------------ [2002-02-28 18:26:48] sniper@php.net Really fixed now. Thanks for the patch, jtate. --Jani ------------------------------------------------------------------------ [2002-02-28 14:39:06] jtate@php.net This was "fixed" in CVS, but incorrectly. Please apply the following patch to the crack extension: --BEGIN_PATCH-- ================================================== ================= RCS file: /repository/php4/ext/crack/config.m4,v retrieving revision 1.6 diff -u -u -r1.6 config.m4 --- config.m4 30 Nov 2001 18:59:28 -0000 1.6 +++ config.m4 28 Feb 2002 19:33:14 -0000 @@ -8,7 +8,7 @@ if test "$PHP_CRACK" != "no"; then for i in /usr/local/lib /usr/lib $PHP_CRACK/lib $PHP_CRACK/cracklib; do - test -f $i/lib/libcrack.$SHLIB_SUFFIX_NAME -o -f $i/libcrack.a && CRACK_LIBDIR=$i + test -f $i/libcrack.$SHLIB_SUFFIX_NAME -o -f $i/libcrack.a && CRACK_LIBDIR=$i done for i in /usr/local/include /usr/include $PHP_CRACK/include $PHP_CRACK/cracklib; do --END_PATCH-- The code that searched for the shared objects was looking under a subdirectory lib, so instead of looking in /usr/lib it was looking in /usr/lib/lib. This patch fixes the problem. ------------------------------------------------------------------------ [2001-10-11 20:21:03] sniper@php.net Fixed in CVS. Fix will be in PHP 4.1 --Jani ------------------------------------------------------------------------ [2001-10-05 03:12:59] oliver at deeper dot co dot nz Configure only checks for the static libcrack.a when it would be possible to use libcrack.so. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=13556&edit=1 |
|
|