Re: php5 pcre
On Friday 15 May 2009 11:13:41 Mark wrote: -Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gorbatovsky Dmitry Sent: vrijdag 15 mei 2009 11:04 To: freebsd-questions@freebsd.org Subject: Re: php5 pcre When I run make config I see selected PCRE and SPL extensions and other default the extensions. But I rebuilding all modules, restarting apache and see same error: [15-May-2009 12:38:00] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/pcre.so' - /usr/local/lib/php/20060613/pcre.so: Undefined symbol quot;php_pcre_freequot; in Unknown on line 0 I thought I was the only one this had happened to. :) In my case I resolved it by going into the pcre directory itself and build it from there. That don't make sense. Any chance you had BUNDLED_PCRE selected and decided to untick it in the config dialog? If this really is all you did, then maybe extension ordering is the culprit. Move pcre.so in extension.ini upwards and see if the bug resurfaces. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: php5 pcre
-Original Message- From: Mel Flynn [mailto:mel.flynn+fbsd.questi...@mailing.thruhere.net] Sent: zaterdag 16 mei 2009 11:59 To: freebsd-questions@freebsd.org Cc: Mark Subject: Re: php5 pcre I thought I was the only one this had happened to. :) In my case I resolved it by going into the pcre directory itself and build it from there. That don't make sense. Any chance you had BUNDLED_PCRE selected and decided to untick it in the config dialog? If this really is all you did, then maybe extension ordering is the culprit. Move pcre.so in extension.ini upwards and see if the bug resurfaces. No, I didn't untick anything. I saw the 'undefined symbol' in my Apache log, and decided to recompile pcre.so. Then the error went away. I had this happen, 2 years or so ago, with mysql extension for PHP4, too: the second time compiling it the (other types of errors) disappeared. That's actually not all that strange, really, because it's entirely plausible that sometimes, compiling an extension the first time, it is dependent on something that wasn't built yet the first around. - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: php5 pcre
Mark wrote: -Original Message- From: Mel Flynn [mailto:mel.flynn+fbsd.questi...@mailing.thruhere.net] Sent: zaterdag 16 mei 2009 11:59 To: freebsd-questions@freebsd.org Cc: Mark Subject: Re: php5 pcre I thought I was the only one this had happened to. :) In my case I resolved it by going into the pcre directory itself and build it from there. That don't make sense. Any chance you had BUNDLED_PCRE selected and decided to untick it in the config dialog? If this really is all you did, then maybe extension ordering is the culprit. Move pcre.so in extension.ini upwards and see if the bug resurfaces. No, I didn't untick anything. I saw the 'undefined symbol' in my Apache log, and decided to recompile pcre.so. Then the error went away. I had this happen, 2 years or so ago, with mysql extension for PHP4, too: the second time compiling it the (other types of errors) disappeared. That's actually not all that strange, really, because it's entirely plausible that sometimes, compiling an extension the first time, it is dependent on something that wasn't built yet the first around. This kind of thing may happen when ports get reorganized. Used to be PCRE was either built in or you could build it against the other pcre library. Sometime recently it was split out into it's own extension port. I've had portupgrade barf a time or two when these reorganizations have happened in the past. Manual intervention/rebuild was needed to fix things up. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: php5 pcre
Saifi Khan wrote: On Thu, 14 May 2009, gdn wrote: Hi all! I'm using on CURRENT apache22 with php5. When I install php5-extensions, all packages make fine. But module pcre not work. -- php -m [PHP Modules] bz2 date libxml mbstring mysql pdf pdo_dblib Reflection session SimpleXML standard xml xmlrpc zip zlib [Zend Modules] - Log file of php: -- [14-May-2009 18:04:50] PHP Warning: PHP Startup: Unable to load dynamic librar y '/usr/local/lib/php/20060613/pcre.so' - /usr/local/lib/php/20060613/pcre.so: Undefined symbol quot;php_pcre_freequot; in Unknown on line 0 [14-May-2009 18:04:50] PHP Warning: Cannot load module 'PDO' because required module 'spl' is not loaded in Unknown on line 0 --- Haw fix this problem? Thanks, Dmitry. Please go back to directory /usr/ports/lang/php5-extensions run make config and select PCRE and SPL among the extensions Usually it is selected by default along with CTYPE, DOM, FILTER, HASH, ICONV, JSON, PDO, PDO_SQLITE, POSIX, SESSION, SIMPLEXML, SQLITE, TOKENIZER, XML, XMLREADER, XMLWRITER. Please try a re-build and confirm. thanks Saifi. When I run make config I see selected PCRE and SPL extensions and other default the extensions. But I rebuilding all modules, restarting apache and see same error: [15-May-2009 12:38:00] PHP Warning: PHP Startup: Unable to load dynamic librar y '/usr/local/lib/php/20060613/pcre.so' - /usr/local/lib/php/20060613/pcre.so: Undefined symbol quot;php_pcre_freequot; in Unknown on line 0 Thanks, Dmitry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: php5 pcre
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Gorbatovsky Dmitry Sent: vrijdag 15 mei 2009 11:04 To: freebsd-questions@freebsd.org Subject: Re: php5 pcre When I run make config I see selected PCRE and SPL extensions and other default the extensions. But I rebuilding all modules, restarting apache and see same error: [15-May-2009 12:38:00] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/pcre.so' - /usr/local/lib/php/20060613/pcre.so: Undefined symbol quot;php_pcre_freequot; in Unknown on line 0 I thought I was the only one this had happened to. :) In my case I resolved it by going into the pcre directory itself and build it from there. - Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: php5 pcre
On Thu, 14 May 2009, gdn wrote: Hi all! I'm using on CURRENT apache22 with php5. When I install php5-extensions, all packages make fine. But module pcre not work. -- php -m [PHP Modules] bz2 date libxml mbstring mysql pdf pdo_dblib Reflection session SimpleXML standard xml xmlrpc zip zlib [Zend Modules] - Log file of php: -- [14-May-2009 18:04:50] PHP Warning: PHP Startup: Unable to load dynamic librar y '/usr/local/lib/php/20060613/pcre.so' - /usr/local/lib/php/20060613/pcre.so: Undefined symbol quot;php_pcre_freequot; in Unknown on line 0 [14-May-2009 18:04:50] PHP Warning: Cannot load module 'PDO' because required module 'spl' is not loaded in Unknown on line 0 --- Haw fix this problem? Thanks, Dmitry. Please go back to directory /usr/ports/lang/php5-extensions run make config and select PCRE and SPL among the extensions Usually it is selected by default along with CTYPE, DOM, FILTER, HASH, ICONV, JSON, PDO, PDO_SQLITE, POSIX, SESSION, SIMPLEXML, SQLITE, TOKENIZER, XML, XMLREADER, XMLWRITER. Please try a re-build and confirm. thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating php5-pcre
On Friday 12 December 2008, David Newman wrote: 7.0-RELEASE-p6 / i386 Using portmaster to update the php5-pcre port returns this error: Cannot find config.m4. Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module I'm not a php guru. Where is the top-level source directory for this module? Or is there some other remedy for this error? See /usr/ports/UPDATING: 20081207: AFFECTS: users of lang/php5 AUTHOR: p...@freebsd.org As of php 5.2.7, pcre extension is distributed with the core php5 package, and not as a standalone module anymore. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: updating php5-pcre
On 12/12/08 1:08 AM, Mike Clarke wrote: As of php 5.2.7, pcre extension is distributed with the core php5 package, and not as a standalone module anymore. Thanks much. So, I can safely deinstall the php5-pcre port? dn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
updating php5-pcre
7.0-RELEASE-p6 / i386 Using portmaster to update the php5-pcre port returns this error: Cannot find config.m4. Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module I'm not a php guru. Where is the top-level source directory for this module? Or is there some other remedy for this error? thanks dn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: removing a php5-pcre extension
Zbigniew Szalbot writes: Am I safe just deleting it? Or do I have to rebuild all the above listed ports? Leaving it as is is probably not a good idea... Presumably, if you delete it, the listed packages will stop working. One more thought - I commented out the pcre extension in the ini file and restarted apache after which everything seems to be working fine. So I wonder if I am safe to delete it or if not, then how would you advise me to proceed to keep the system clean. Many thanks! As I understand it: a) the port works by installing a library b) dependant ports search for the library, not the port c) if the (exact same) library (as determined by version number) is installed by some other port, the change should be transparent and the dependant ports should and not try to (re)build anything. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing a php5-pcre extension
Hello, One more thought - I commented out the pcre extension in the ini file and restarted apache after which everything seems to be working fine. So I wonder if I am safe to delete it or if not, then how would you advise me to proceed to keep the system clean. Many thanks! As I understand it: a) the port works by installing a library b) dependant ports search for the library, not the port c) if the (exact same) library (as determined by version number) is installed by some other port, the change should be transparent and the dependant ports should and not try to (re)build anything. Thank you Robert! It does help a lot. Time to do some cleaning then. :) -- Zbigniew Szalbot www.faitrade.net.pl www.slowo.pl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing a php5-pcre extension
Zbigniew Szalbot wrote: Hello, Now that pcre is included in the base installation, how do I remove it? $ pkg_delete -nv php5-pcre-5.2.6_2 pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages and may not be deinstalled: pear-1.7.2 pear-Auth-1.6.1 pear-Auth_SASL-1.0.2 pear-DB-1.7.13,1 pear-Log-1.10.1 pear-Mail_Mime-1.5.2,1 pear-Mail_mimeDecode-1.5.0 pear-Net_SMTP-1.3.0 pear-Net_Socket-1.0.8 pear-Pager-2.4.6 pecl-filter-0.11.0 php5-extensions-1.2 phpMyAdmin-3.1.0 smarty-2.6.19 pkg_delete: 1 package deletion(s) failed Am I safe just deleting it? Or do I have to rebuild all the above listed ports? Leaving it as is is probably not a good idea... Presumably, if you delete it, the listed packages will stop working. signature.asc Description: OpenPGP digital signature
Re: removing a php5-pcre extension
Hello, On Tue, Dec 9, 2008 at 11:45, Ivan Voras [EMAIL PROTECTED] wrote: Zbigniew Szalbot wrote: Hello, Now that pcre is included in the base installation, how do I remove it? $ pkg_delete -nv php5-pcre-5.2.6_2 pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages and may not be deinstalled: pear-1.7.2 pear-Auth-1.6.1 pear-Auth_SASL-1.0.2 pear-DB-1.7.13,1 pear-Log-1.10.1 pear-Mail_Mime-1.5.2,1 pear-Mail_mimeDecode-1.5.0 pear-Net_SMTP-1.3.0 pear-Net_Socket-1.0.8 pear-Pager-2.4.6 pecl-filter-0.11.0 php5-extensions-1.2 phpMyAdmin-3.1.0 smarty-2.6.19 pkg_delete: 1 package deletion(s) failed Am I safe just deleting it? Or do I have to rebuild all the above listed ports? Leaving it as is is probably not a good idea... Presumably, if you delete it, the listed packages will stop working. One more thought - I commented out the pcre extension in the ini file and restarted apache after which everything seems to be working fine. So I wonder if I am safe to delete it or if not, then how would you advise me to proceed to keep the system clean. Many thanks! -- Zbigniew Szalbot www.faitrade.net.pl www.slowo.pl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing a php5-pcre extension
On Tuesday 09 December 2008, Zbigniew Szalbot wrote: Hello, Now that pcre is included in the base installation, how do I remove it? $ pkg_delete -nv php5-pcre-5.2.6_2 pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages and may not be deinstalled: pear-1.7.2 pear-Auth-1.6.1 pear-Auth_SASL-1.0.2 pear-DB-1.7.13,1 pear-Log-1.10.1 pear-Mail_Mime-1.5.2,1 pear-Mail_mimeDecode-1.5.0 pear-Net_SMTP-1.3.0 pear-Net_Socket-1.0.8 pear-Pager-2.4.6 pecl-filter-0.11.0 php5-extensions-1.2 phpMyAdmin-3.1.0 smarty-2.6.19 pkg_delete: 1 package deletion(s) failed Am I safe just deleting it? Or do I have to rebuild all the above listed ports? Leaving it as is is probably not a good idea... /usr/ports/UPDATING seems to imply you should be OK to force delete it - 20081207: AFFECTS: users of lang/php5 AUTHOR: [EMAIL PROTECTED] As of php 5.2.7, pcre extension is distributed with the core php5 package, and not as a standalone module anymore. Follow these steps to update your installation: Portupgrade users: pkg_delete -f php5-pcre-5.2.6 pkgdb -F portupgrade as usual -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
removing a php5-pcre extension
Hello, Now that pcre is included in the base installation, how do I remove it? $ pkg_delete -nv php5-pcre-5.2.6_2 pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages and may not be deinstalled: pear-1.7.2 pear-Auth-1.6.1 pear-Auth_SASL-1.0.2 pear-DB-1.7.13,1 pear-Log-1.10.1 pear-Mail_Mime-1.5.2,1 pear-Mail_mimeDecode-1.5.0 pear-Net_SMTP-1.3.0 pear-Net_Socket-1.0.8 pear-Pager-2.4.6 pecl-filter-0.11.0 php5-extensions-1.2 phpMyAdmin-3.1.0 smarty-2.6.19 pkg_delete: 1 package deletion(s) failed Am I safe just deleting it? Or do I have to rebuild all the above listed ports? Leaving it as is is probably not a good idea... Thanks a lot for your input. If possible, I'd like to keep my system clean without unnecessary ports. -- Zbigniew Szalbot www.faitrade.net.pl www.slowo.pl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing a php5-pcre extension
Hello, BTW, wait till php-5.2.8 to do this. I read somewhere that 5.2.7 has security issues, but maybe you know better than I do. Thanks but I know about it. That's why I used ports which have 5.2.8. :) -- Zbigniew Szalbot www.faitrade.net.pl www.slowo.pl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem building php5-pcre
Anyone else have this particular error? I can't seem to get php5-pcre to build. /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:102: warning: parameter has incomplete type /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In function `PHP_GINIT_FUNCTION': /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:101: error: parameter name omitted /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:103: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:104: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:105: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:106: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top level: /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:110: warning: parameter has incomplete type /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In function `PHP_GSHUTDOWN_FUNCTION': /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:109: error: parameter name omitted /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:111: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top level: /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1776: error: syntax error before pcre /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1777: error: syntax error before pcre /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1778: error: syntax error before pcre *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. -- Christopher M. Hobbs IS Technician, City of Siloam Springs [EMAIL PROTECTED], (479).524.5136 pgp5vdujPKxYl.pgp Description: PGP signature
problem building php5-pcre
Anyone else have this particular error? I can't seem to get php5-pcre to build. /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:102: warning: parameter has incomplete type /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In function `PHP_GINIT_FUNCTION': /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:101: error: parameter name omitted /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:103: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:104: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:105: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:106: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top level: /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:110: warning: parameter has incomplete type /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: In function `PHP_GSHUTDOWN_FUNCTION': /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:109: error: parameter name omitted /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:111: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c: At top level: /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1776: error: syntax error before pcre /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1777: error: syntax error before pcre /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre/php_pcre.c:1778: error: syntax error before pcre *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.2.1/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. -- C. M. Hobbs, KD5RYO http://altbit.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem building php5-pcre
Christopher Hobbs writes: Anyone else have this particular error? I can't seem to get php5-pcre to build. Built and installed just fine for me five minutes ago on FreeBSD 7.0-CURRENT #1: Mon Jan 22 16:56:10 EST 2007 i386 Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem building php5-pcre
Robert Huff wrote: Christopher Hobbs writes: Anyone else have this particular error? I can't seem to get php5-pcre to build. Built and installed just fine for me five minutes ago on FreeBSD 7.0-CURRENT #1: Mon Jan 22 16:56:10 EST 2007 i386 Robert Huff does anyone know why, even tho pcre7 is installed, that when i install php5-pcre port my phpinfo shows this: PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version3.9 02-Jan-2002 this is on BSD 6.1 with apache 2. why the heck would it be doing this? i did notice that my ldconfig -r was empty (no idea how), but i readded all the paths via ldconfig -m Ive reinstalled apache, php, extensions, pcre, etc over and over (trying different things) to no avail. Any ideas? Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error building php5-pcre
Running FreeBSD6-2-STABLE === sr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:102: warning: parameter has incomplete type /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c: In function `PHP_GINIT_FUNCTION': /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:101: error: parameter name omitted /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:103: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:104: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:105: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:106: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c: At top level: /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:110: warning: parameter has incomplete type /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c: In function `PHP_GSHUTDOWN_FUNCTION': /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:109: error: parameter name omitted /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:111: error: invalid type argument of `-' /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c: At top level: /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: `fifth_arg_force_ref' undeclared here (not in a function) /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: (near initialization for `pcre_functions[2].arg_info') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: (near initialization for `pcre_functions[2]') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1759: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1759: error: (near initialization for `pcre_functions[3].arg_info') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1759: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1759: error: (near initialization for `pcre_functions[3]') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1760: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1760: error: (near initialization for `pcre_functions[4]') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1761: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1761: error: (near initialization for `pcre_functions[5]') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1762: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1762: error: (near initialization for `pcre_functions[6]') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1763: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1763: error: (near initialization for `pcre_functions[7]') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1764: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1764: error: (near initialization for `pcre_functions[8]') /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1777: error: syntax error before pcre /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1778: error: syntax error before pcre /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1779: error: syntax error before pcre *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. *** Error code 1 Stop in /usr/ports/www/phpSysInfo. *** Error code 1 Stop in /usr/ports/www/phpSysInfo. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.63107.107 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=phpSysInfo-2.5.1 UPGRADE_PORT_VER=2.5.1 make DEPENDS_TARGET=package reinstall egrep: /var/db/pkg/phpSysInfo-2.5.1/+CONTENTS: No such file or directory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error building php5-pcre
Running FreeBSD6.2-PRERELEASE and im trying to build cacti with php5-pcre being a dependancy. Below is the last few lines or so that error. === == cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 -DMATCH_LIMIT_RECURSION=1000 -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: `fifth_arg_force_ref' undeclared here (not in a function) /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: (near initialization for `pcre_functions[4]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: (near initialization for `pcre_functions[5]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: (near initialization for `pcre_functions[6]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: (near initialization for `pcre_functions[7]') *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error building php5-pcre
Running FreeBSD6.2-PRERELEASE and im trying to build cacti with php5-pcre being a dependancy. Below is the last few lines or so that error. === == cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 -DMATCH_LIMIT_RECURSION=1000 -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: `fifth_arg_force_ref' undeclared here (not in a function) /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: (near initialization for `pcre_functions[4]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: (near initialization for `pcre_functions[5]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: (near initialization for `pcre_functions[6]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: (near initialization for `pcre_functions[7]') *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error building php5-pcre
Running FreeBSD6.2-PRERELEASE and im trying to build cacti with php5-pcre being a dependancy. Below is the last few lines or so that error. === == cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 -DMATCH_LIMIT_RECURSION=1000 -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: `fifth_arg_force_ref' undeclared here (not in a function) /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1632: error: (near initialization for `pcre_functions[4]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1633: error: (near initialization for `pcre_functions[5]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1634: error: (near initialization for `pcre_functions[6]') /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre/php_pcre.c:1635: error: (near initialization for `pcre_functions[7]') *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.1.6/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Php5 PCRE Compile error
I am working with an updated ports tree (as of july 14th 06 at 11:32PST) on freebsd 6.1 stable, I am installed the /usr/ports/devel/php5-pcre package to hopefully fix another error with apache trying to run squirrelmail. The Error from apache for SquirrelMail is this: [Fri Jul 14 15:42:20 2006] [error] PHP Fatal error: Call to undefined function preg_replace() in /usr/local/www/squirrelmail/functions/global.php on line 125 The error from trying to compile php5-pcre is this: cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 -DMATCH_LIMIT_RECURSION=1000 -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: `fifth_arg_force_ref' undeclared here (not in a function) /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: (near initialization for `pcre_functions[4]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: (near initialization for `pcre_functions[5]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: (near initialization for `pcre_functions[6]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: (near initialization for `pcre_functions[7]') *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. I ran a make clean and distclean on the php5-pcre, also a portsclean as well with no luck there. I tried installing from package but I could not figure out the name of the package to install it as. Any help in this area would be very helpful. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error Upgrading PHP5-pcre
im Running FreeBSD 6.1-STABLE and the last week or more i have had problems trying to upgrade this port .. below is the full work up fo trying to install the package manually from the ports. Any assistance into whats happening would be appreciated. == === Building for php5-pcre-5.1.4 /bin/sh /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/libtool --mode=compile cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 -DMATCH_LIMIT_RECURSION=1000 -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c -o php_pcre.lo cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 -DMATCH_LIMIT_RECURSION=1000 -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: `fifth_arg_force_ref' undeclared here (not in a function) /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: (near initialization for `pcre_functions[4]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: (near initialization for `pcre_functions[5]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: (near initialization for `pcre_functions[6]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: (near initialization for `pcre_functions[7]') *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error Upgrading PHP5-pcre
im Running FreeBSD 6.1-STABLE and the last week or more i have had problems trying to upgrade this port .. below is the full work up fo trying to install the package manually from the ports. Any assistance into whats happening would be appreciated. == === Building for php5-pcre-5.1.4 /bin/sh /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/libtool --mode=compile cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 -DMATCH_LIMIT_RECURSION=1000 -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c -o php_pcre.lo cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=1000 -DMATCH_LIMIT_RECURSION=1000 -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: `fifth_arg_force_ref' undeclared here (not in a function) /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: (near initialization for `pcre_functions[4]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: (near initialization for `pcre_functions[5]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: (near initialization for `pcre_functions[6]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: (near initialization for `pcre_functions[7]') *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Error Upgrading PHP5-pcre
On Monday 10 July 2006 14:42, Warren Liddell wrote: im Running FreeBSD 6.1-STABLE and the last week or more i have had problems trying to upgrade this port .. below is the full work up fo trying to install the package manually from the ports. Any assistance into whats happening would be appreciated. Building php5-pcre-5.1.4 goes smoothly for me. Sounds like your build environment is mucked up. I presume you at least did a 'make clean' first, perhaps 'make distclean' too? I assume you cvsup'd your ports? Anyway, you may have better luck installing via package until you can find out what's going wrong w/ your build procedure. For example, assuming you have 'portupgrade' installed: $sudo portupgrade -NP devel/php5-pcre Wishes, Dino -- Consider the postage stamp: its usefulness consists in the ability to stick to one thing till it gets there. -- Josh Billings ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]