Re: Bug #16722 [NEW]: Install (make) fails
| From: | Tjerk Anne Meesters | Date: | Mon, 29 Jun 2009 08:23:14 +0000 |
| Subject: | Re: Bug #16722 [NEW]: Install (make) fails | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6504@lists.php.net to get a copy of this message | ||
Hi,
The output shows that curl.h could not be found; since curl is a
required dependency, it should break.
I've been developing a version of this library which, amongst others,
has support for streams as an alternative to curl. Until my branch
gets merged *nudges jawed* you can get the latest version from my fork
at github:
http://github.com/datibbaw/pecl-oauth/tree/master
Best,
Tjerk
On Sat, Jun 27, 2009 at 8:51 AM, arnaud dot meunier at twitoaster dot
com<pecl-dev@lists.php.net> wrote:
> From: arnaud dot meunier at twitoaster dot com
> Operating system: Debian Lenny
> Package version: 0.99.9
> PHP version: 5.2.6
> Package: oauth
> Bug Type: Bug
> Bug description: Install (make) fails
>
> Description:
> ------------
> Hi,
>
> I just can't manage to compile, make & install oauth on my system (debian
> Lenny, AMD64). Here is what the "make" outputs:
>
> /bin/sh /home/testing/builds/oauth-0.99.9/libtool --mode=compile gcc -I.
> -I/home/testing/builds/oauth-0.99.9 -DPHP_ATOM_INC
> -I/home/testing/builds/oauth-0.99.9/include
> -I/home/testing/builds/oauth-0.99.9/main
> -I/home/testing/builds/oauth-0.99.9 -I/usr/include/php5
> -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend
> -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H
> -g -O2 -Wall -g -c /home/testing/builds/oauth-0.99.9/oauth.c -o oauth..lo
> mkdir .libs
> gcc -I. -I/home/testing/builds/oauth-0.99.9 -DPHP_ATOM_INC
> -I/home/testing/builds/oauth-0.99.9/include
> -I/home/testing/builds/oauth-0.99.9/main
> -I/home/testing/builds/oauth-0.99.9 -I/usr/include/php5
> -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend
> -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g
> -O2 -Wall -g -c /home/testing/builds/oauth-0.99.9/oauth.c -fPIC -DPIC -o
> .libs/oauth.o
> /home/testing/builds/oauth-0.99.9/oauth.c:45:23: error: curl/curl.h: Aucun
> fichier ou répertoire de ce type
> In file included from /home/testing/builds/oauth-0.99.9/oauth.c:47:
> /home/testing/builds/oauth-0.99.9/php_oauth.h:144: error: expected '=',
> ',', ';', 'asm' or '__attribute__' before
> 'make_req'
> /home/testing/builds/oauth-0.99.9/oauth.c:601: error: expected ')' before
> '*' token
> /home/testing/builds/oauth-0.99.9/oauth.c:763: error: expected '=', ',',
> ';', 'asm' or '__attribute__' before 'make_req'
> /home/testing/builds/oauth-0.99.9/oauth.c: In function 'oauth_fetch':
> /home/testing/builds/oauth-0.99.9/oauth.c:1166: warning: implicit
> declaration of function 'make_req'
> /home/testing/builds/oauth-0.99.9/oauth.c: In function
> 'zm_startup_oauth':
> /home/testing/builds/oauth-0.99.9/oauth.c:2047: warning: implicit
> declaration of function 'curl_global_init'
> /home/testing/builds/oauth-0.99.9/oauth.c:2047: error:
> 'CURL_GLOBAL_DEFAULT' undeclared (first use in this function)
> /home/testing/builds/oauth-0.99.9/oauth.c:2047: error: (Each undeclared
> identifier is reported only once
> /home/testing/builds/oauth-0.99.9/oauth.c:2047: error: for each function
> it appears in.)
> /home/testing/builds/oauth-0.99.9/oauth.c:2047: error: 'CURLE_OK'
> undeclared (first use in this function)
> /home/testing/builds/oauth-0.99.9/oauth.c: In function
> 'zm_shutdown_oauth':
> /home/testing/builds/oauth-0.99.9/oauth.c:2092: warning: implicit
> declaration of function 'curl_global_cleanup'
> make: *** [oauth.lo] Erreur 1
>
>
> --
> Edit bug report at
> http://pecl.php.net/bugs/bug.php?id=16722&edit=1
> --
>
>
--
--
Tjerk