RE: [PECL-DEV] fileinfo 1.0 install problem

From: Date: Tue, 06 Dec 2005 05:25:57 +0000
Subject: RE: [PECL-DEV] fileinfo 1.0 install problem
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3317@lists.php.net to get a copy of this message
I'm having similar problems trying to get Fileinfo 1.0.2 installed on my system. I've unpacked it and run phpize, the result of which is this: archdb1:~/Fileinfo-1.0.2 # phpize Configuring for: PHP Api Version: 20031224 Zend Module Api No: 20041030 Zend Extension Api No: 220040412 configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR configure.in:33: warning: underquoted definition of PHP_EXT_DIR configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C acinclude.m4:1915: warning: underquoted definition of PHP_TEST_BUILD archdb1:~/Fileinfo-1.0.2 # ./configure completes without spewing any errors out, but make throws a wrench in the works. I won't bore you with all of the gorey details, but the last several lines are: /root/Fileinfo-1.0.2/fileinfo.c:396: error: syntax error before "if" /root/Fileinfo-1.0.2/fileinfo.c:402: warning: data definition has no type or sto rage class /root/Fileinfo-1.0.2/fileinfo.c:402: error: syntax error before '}' token /root/Fileinfo-1.0.2/fileinfo.c:408: warning: data definition has no type or sto rage class /root/Fileinfo-1.0.2/fileinfo.c:409: error: syntax error before '}' token /root/Fileinfo-1.0.2/fileinfo.c:417: error: redefinition of `PHP_FUNCTION' /root/Fileinfo-1.0.2/fileinfo.c:310: error: `PHP_FUNCTION' previously defined he re /root/Fileinfo-1.0.2/fileinfo.c: In function `PHP_FUNCTION': /root/Fileinfo-1.0.2/fileinfo.c:418: error: `INTERNAL_FUNCTION_PARAM_PASSTHRU' u ndeclared (first use in this function) /root/Fileinfo-1.0.2/fileinfo.c: At top level: /root/Fileinfo-1.0.2/fileinfo.c:425: error: redefinition of `PHP_FUNCTION' /root/Fileinfo-1.0.2/fileinfo.c:417: error: `PHP_FUNCTION' previously defined he re /root/Fileinfo-1.0.2/fileinfo.c: In function `PHP_FUNCTION': /root/Fileinfo-1.0.2/fileinfo.c:426: error: `INTERNAL_FUNCTION_PARAM_PASSTHRU' u ndeclared (first use in this function) make: *** [fileinfo.lo] Error 1 Obviously, something isn't working here. I've got stock PHP 5.0.3 from the Suse 9.3 RPM's installed on this system. I can install lots and lots of other PEAR and PECL modules, but not fileinfo. Would anyone be able to determine what I need to do to get this installed and working? Thanks, Ty -----Original Message----- From: pault [mailto:pault@burngreave.net] Sent: Tuesday, November 15, 2005 7:29 AM To: pecl-dev@lists.php.net Subject: [PECL-DEV] fileinfo 1.0 install problem hi all have a specific problem related to installing the Fileinfo module into our horde installation. config for the site: https://springnight.burngreave.net/~pault/horde/test.php following the instructions in: ../horde/docs/INSTALL i get the following output: pear install fileinfo downloading Fileinfo-1.0.tgz ... Starting to download Fileinfo-1.0.tgz (5,566 bytes) .....done: 5,566 bytes 3 source files, building running: phpize Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20021010 `phpize' failed has this collective mind any sage advice to pass on? tia. pault - pault [at] burngreave [dot] net -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pecl.dev (#3317) next »