Re: problems installing uploadprogress-1.0.0
| From: | Christian Stocker | Date: | Wed, 06 May 2009 09:10:33 +0000 |
| Subject: | Re: problems installing uploadprogress-1.0.0 | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6376@lists.php.net to get a copy of this message | ||
Hi
It looks like you have php4 lying around somwhere and which the
installer tries to use. At least the -I/usr/include/php4 suggests so.
Remove that or make sure you use the right includes (maybe you have to
install php5-dev or whatever it's called on debian, too)
chregu
On 6.5.2009 10:32 Uhr, Jaap van Arragon wrote:
> Hello,
>
> i have a problem when i want to install uploadprogress.
>
> I have a Debian 4.0 server with PHP installed:
>
> ii php5 5.2.3-0.dotdeb.1 server-side, HTML-embedded
> scripting languag
> ii php5-cgi 5.2.9-0.dotdeb.1 server-side, HTML-embedded
> scripting languag
> ii php5-cli 5.2.9-0.dotdeb.1 command-line interpreter for
> the php5 script
> ii php5-common 5.2.9-0.dotdeb.1 Common files for packages
> built from the php
> ii php5-curl 5.2.9-0.dotdeb.1 CURL module for php5
> ii php5-gd 5.2.9-0.dotdeb.1 GD module for php5
> ii php5-imap 5.2.9-0.dotdeb.1 IMAP module for php5
> ii php5-mcrypt 5.2.9-0.dotdeb.1 MCrypt module for php5
> ii php5-mysql 5.2.9-0.dotdeb.1 MySQL module for php5
> ii php5-pgsql 5.2.9-0.dotdeb.1
> ii php-pear 5.2.0+dfsg-8+etch15
>
> When i'm running pecl install uploadprogress-1.0.0 the installer exit with many errors.
>
> I have been googling for a day now and dont seem to get a solution.
>
> here is my install output:
>
> running: make
> /bin/sh /var/tmp/pear-build-root/uploadprogress-1.0.0/libtool --mode=compile gcc -I.
> -I/tmp/pear/cache/uploadprogress-1.0.0 -DPHP_ATOM_INC
> -I/var/tmp/pear-build-root/uploadprogress-1.0.0/include
> -I/var/tmp/pear-build-root/uploadprogress-1.0.0/main -I/tmp/pear/cache/uploadprogress-1.0.0
> -I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
> -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c -o
> uploadprogress.lo
> mkdir .libs
> gcc -I. -I/tmp/pear/cache/uploadprogress-1.0.0 -DPHP_ATOM_INC
> -I/var/tmp/pear-build-root/uploadprogress-1.0.0/include
> -I/var/tmp/pear-build-root/uploadprogress-1.0.0/main -I/tmp/pear/cache/uploadprogress-1.0.0
> -I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM
> -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c -fPIC -DPIC -o
> .libs/uploadprogress.o
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c: In function
> `uploadprogress_php_rfc1867_file':
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:75: error: `MULTIPART_EVENT_START'
> undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:75: error: (Each undeclared identifier is
> reported only once
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:75: error: for each function it appears
> in.)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:76: error: `multipart_event_start'
> undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:76: error: `e_data' undeclared
> (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:77: error: syntax error before
> ')' token
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:87: error:
> `MULTIPART_EVENT_FORMDATA' undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:89: error:
> `multipart_event_formdata' undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:90: error: syntax error before
> ')' token
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:124: error:
> `MULTIPART_EVENT_FILE_START' undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:127: error:
> `multipart_event_file_start' undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:129: error: syntax error before
> ')' token
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:146: error:
> `MULTIPART_EVENT_FILE_DATA' undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:147: error:
> `multipart_event_file_data' undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:149: error: syntax error before
> ')' token
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:163: error:
> `MULTIPART_EVENT_FILE_END' undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:164: error:
> `multipart_event_file_end' undeclared (first use in this function)
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:166: error: syntax error before
> ')' token
> /tmp/pear/cache/uploadprogress-1.0.0/uploadprogress.c:176: error: `MULTIPART_EVENT_END'
> undeclared (first use in this function)
> make: *** [uploadprogress.lo] Error 1
> ERROR: `make' failed
>
> Does anyone have an idea why this doesnt work?
>
>
> _________________________________________________________________
> Gratis emoticons voor in je Messenger!
> http://www.msnmessengerexperience.nl/chuck/
--
Liip AG // Feldstrasse 133 // CH-8004 Zurich
Tel +41 43 500 39 81 // Mobile +41 76 561 88 60
www.liip.ch // blog.liip.ch // GnuPG 0x5CE1DECB