Fwd: PHP 5 and PECL

N_Ox n.oxyde at gmail.com
Sat Aug 4 06:28:40 PDT 2007



Début du message réexpédié :

> De : N_Ox <n.oxyde at gmail.com>
> Date : 4 août 2007 00:07:02 HAEC
> À : Ryan Schmidt <ryandesign at macports.org>
> Objet : Rép : PHP 5 and PECL
>
> Le 3 août 07 à 14:50, Ryan Schmidt a écrit :
>
>>
>> On Aug 3, 2007, at 05:28, N_Ox wrote:
>>
>>> Did anyone of you have already been able to build and install a  
>>> PECL package with the MacPorts' pear-base?
>>> I always get an error about unix.h header not found and it's very  
>>> annoying, as I can't install anything.
>>> Is this a bug in the php5 or pear-base ports or do we need to  
>>> contact upstream?
>>
>> First I've heard of it. What is the error?
>>
>>
>>
>
> % which pecl
> /opt/local/bin/pecl
>
> % sudo pecl install xdebug
> (...)
>  gcc -I. -I/private/tmp/tmpiBArlE/xdebug-2.0.0 -DPHP_ATOM_INC -I/ 
> private/var/tmp/pear-build-root/xdebug-2.0.0/include -I/private/var/ 
> tmp/pear-build-root/xdebug-2.0.0/main -I/private/tmp/tmpiBArlE/ 
> xdebug-2.0.0 -I/opt/local/include/php -I/opt/local/include/php/main  
> -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/ 
> local/include/php/ext -I/opt/local/include/php/ext/date/lib - 
> DHAVE_CONFIG_H -g -O0 -c /private/tmp/tmpiBArlE/xdebug-2.0.0/ 
> xdebug.c  -fno-common -DPIC -o .libs/xdebug.o
> In file included from /opt/local/include/php/main/php.h:34,
>                  from /private/tmp/tmpiBArlE/xdebug-2.0.0/xdebug.c:25:
> /opt/local/include/php/Zend/zend.h:72:19: error: unix.h: No such  
> file or directory
>
> --
> Anthony Ramine, a lazy french student.
> nox at macports.org
>
>

--
Anthony Ramine, a lazy french student.
nox at macports.org





More information about the macports-users mailing list