php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59806 phpize failed
Submitted: 2011-06-09 02:54 UTC Modified: 2016-06-20 03:44 UTC
Votes:10
Avg. Score:4.1 ± 0.8
Reproduced:10 of 10 (100.0%)
Same Version:3 (30.0%)
Same OS:0 (0.0%)
From: michael at bigmichi1 dot de Assigned: jon (profile)
Status: Wont fix Package: sasl (PECL)
PHP Version: 5.3.6 OS: Debian 6.0.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michael at bigmichi1 dot de
New email:
PHP Version: OS:

 

 [2011-06-09 02:54 UTC] michael at bigmichi1 dot de
Description:
------------
root@server:~# /var/www/pear/pecl -c /var/www/pear.conf 
install sasl-0.1.0
downloading sasl-0.1.0.tgz ...
Starting to download sasl-0.1.0.tgz (6,435 bytes)
.....done: 6,435 bytes
5 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level 
source directory of the module

ERROR: `phpize' failed
root@server:~# /var/www/pear/pecl -c /var/www/pear.conf -V
PEAR Version: 1.9.3
PHP Version: 5.3.6-11
Zend Engine Version: 2.3.0
Running on: Linux server 2.6.32-5-amd64 #1 SMP Wed May 18 
23:13:22 UTC 2011 x86_64
root@server:~#


Expected result:
----------------
should be installable through pecl command


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-01-20 22:05 UTC] fransecs at gmail dot com
Same error here, in my case it was due to multiarch support in Debian (1).

Adding "/x86_64-linux-gnu" to "/lib/" occurrences in config.m4 worked for me, here you are diff results:

diff config.m4 config.m4.OK 
32c32,33
<   AC_MSG_CHECKING(for SASL library in $SASL_DIR/lib)
---
>   AC_MSG_CHECKING(for SASL library in $SASL_DIR/lib/x86_64-linux-gnu)
> 
34c35
<     if test -r $SASL_DIR/lib/lib$i.a; then
---
>     if test -r $SASL_DIR/lib/x86_64-linux-gnu/lib$i.a; then
42c43
<      AC_MSG_ERROR(Failed to locate a compatible SASL library in $SASL_DIR/lib)
---
>      AC_MSG_ERROR(Failed to locate a compatible SASL library in $SASL_DIR/lib/x86_64-linux-gnu)
47c48
<   LIBS="$LIBS -L$SASL_DIR/lib"
---
>   LIBS="$LIBS -L$SASL_DIR/lib/x86_64-linux-gnu"
54c55
<   PHP_ADD_LIBRARY_WITH_PATH($SASL_LIB, $SASL_DIR/lib, SASL_SHARED_LIBADD)
---
>   PHP_ADD_LIBRARY_WITH_PATH($SASL_LIB, $SASL_DIR/lib/x86_64-linux-gnu, SASL_SHARED_LIBADD)

(1) https://wiki.debian.org/Multiarch
 [2015-01-20 22:19 UTC] fransecs at gmail dot com
I also had updated sasl.c :

diff sasl.c sasl.c.OK
70c70
< function_entry sasl_functions[] = {
---
> zend_function_entry sasl_functions[] = {
 [2015-01-25 00:54 UTC] jon@php.net
-Assigned To: +Assigned To: jon
 [2016-06-20 03:43 UTC] jon@php.net
I'm no longer actively developing the sasl package.
 [2016-06-20 03:44 UTC] jon@php.net
-Status: Assigned +Status: Wont fix
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 14:01:29 2024 UTC