Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-24 Thread Lukas Kahwe Smith
On 23.06.2009, at 08:15, jvlad wrote: 1. you're wrong, PHP does not depend on system-wide installed pear, it will simply use it if present 2. nothing is missing. see http://pear.php.net/PHP_Archive If installed, phar.phar will function (partially) without the phar extension being present.

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread Greg Beaver
jvlad wrote: >> Hi, >> >> Thanks. The line in question is the first line of the generated >> (non-phar) phar.php script which is the foreach line in: >> >> > foreach (array("SPL", "Reflection", "Phar") as $ext) { >> if (!extension_loaded($ext)) { >> echo "$argv[0] requires PHP extension $ext.\n" >

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread jvlad
> Hi, > > Thanks. The line in question is the first line of the generated > (non-phar) phar.php script which is the foreach line in: > > foreach (array("SPL", "Reflection", "Phar") as $ext) { > if (!extension_loaded($ext)) { > echo "$argv[0] requires PHP extension $ext.\n" > exit(1); > } > } > ?>

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread Greg Beaver
jvlad wrote: >> can you run the custom gdb dumpbt so we can see which line of >> install-pear-nozlib.phar is triggering the error? >> > > (gdb) dump_bt executor_globals.current_execute_data > [0x00861cc0] ??? > /export/home/jvlad/php/php5.3-200906221030/ext/phar/phar.php:10 Hi, Thanks. The lin

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread jvlad
> can you run the custom gdb dumpbt so we can see which line of > install-pear-nozlib.phar is triggering the error? > (gdb) dump_bt executor_globals.current_execute_data [0x00861cc0] ??? /export/home/jvlad/php/php5.3-200906221030/ext/phar/phar.php:10 -- PHP Internals - PHP Runtime Developmen

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread Greg Beaver
jvlad wrote: >> Hi, >> >> I just ran a make install of PHP 5.3 on Solaris 32-bit: >> >> cel...@t2000-010131:~/php5$ gcc -v >> Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.11/3.4.3/specs >> Configured with: >> /gates/sfwnv/builds/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure >> --prefix=/

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread jvlad
> Hi, > > I just ran a make install of PHP 5.3 on Solaris 32-bit: > > cel...@t2000-010131:~/php5$ gcc -v > Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.11/3.4.3/specs > Configured with: > /gates/sfwnv/builds/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure > --prefix=/usr/sfw --with-as=/usr

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread Greg Beaver
jvlad wrote: Generating phar.php *** Error code 138 make: Fatal error: Command failed for target `ext/phar/phar.php' >>> next run of "make install" produces: >>> >>> $ make install >>> Generating phar.phar >>> make: *** [ext/phar/phar.phar] Bus Error (core dumped) >> System info

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread jvlad
>Or it could be possibly fixed by including , like >"win32/php_stdin.h" is included on Windows thrus no compilation error >here. Let me know if the following patch fixes your problem: > >Index: php_spl.h >=== >RCS file: /repository/php

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread Kalle Sommer Nielsen
Hi 2009/6/23 jvlad : > Now the problem is: > > > /bin/sh > /home/jvlad/php/php5.3-200906221030/libtool --silent --preserve-dup-deps > --mode=compile > gcc  -Iext/phar/ -I/home/jvlad/php/php5.3-200906221030/ext/phar/ > -DPHP_ATOM_INC >  -I/home/jvlad/php/php5.3-200906221030/include > -I/home/jvl

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread jvlad
Further investigation shown that compiler takes about 1GB(!) of memory when it compiles php5.3-200906221030/ext/fileinfo/libmagic/apprentice.c On some systems this amount of memory is not available and may lead to errors such as hangs or crashes. Is it a known pro

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread Rasmus Lerdorf
jvlad wrote: >>> Further investigation shown that compiler takes about 1GB(!) of memory >>> when >>> it compiles php5.3-200906221030/ext/fileinfo/libmagic/apprentice.c >>> On some systems this amount of memory is not available and may lead to >>> errors such as hangs or crashes. >>> >>> Is it a kn

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread jvlad
>> Further investigation shown that compiler takes about 1GB(!) of memory >> when >> it compiles php5.3-200906221030/ext/fileinfo/libmagic/apprentice.c >> On some systems this amount of memory is not available and may lead to >> errors such as hangs or crashes. >> >> Is it a known problem? >> Is t

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-23 Thread jvlad
>>> Generating phar.php >>> *** Error code 138 >>> make: Fatal error: Command failed for target `ext/phar/phar.php' >>> >> >> next run of "make install" produces: >> >> $ make install >> Generating phar.phar >> make: *** [ext/phar/phar.phar] Bus Error (core dumped) > > System information, compiler,

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread Kalle Sommer Nielsen
2009/6/23 jvlad : As of php5.3-200906221030, the problem under *BSD platforms that I'm talking about is still the same. >>> >>> I see no compile failure bug reports against FreeBSD in the bugtracker... >>> >>> I successfully built a snapshot on 4.11-STABLE FreeBSD (gcc 2.95.4) >>> 3h

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
>>> As of php5.3-200906221030, the problem under *BSD platforms that I'm >>> talking >>> about is still the same. >> >> I see no compile failure bug reports against FreeBSD in the bugtracker... >> >> I successfully built a snapshot on 4.11-STABLE FreeBSD (gcc 2.95.4) >> 3hours ago, you'll have to

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread Rasmus Lerdorf
jvlad wrote: >>> Did you hear about crashes under Solaris and MacOSX, and compiler >>> failures >>> under all *BSD systems? >>> They were posted against RC3 and the problems are still the same in RC4. >> We fixed several compile failures recently (both FreeBSD related and >> GCC2), it probably did

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
>> Did you hear about crashes under Solaris and MacOSX, and compiler >> failures >> under all *BSD systems? >> They were posted against RC3 and the problems are still the same in RC4. > > We fixed several compile failures recently (both FreeBSD related and > GCC2), it probably didn't make it into

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
>> In other words, I see two bugs there: >> 1. PHP depends on the system-wide installed pear and tries to run it. >> 2. One or many files are missed in the package producing the "Archive.php >> class file not found" error. > > 1. you're wrong, PHP does not depend on system-wide installed pear, it >

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
> > > > 1. you're wrong, PHP does not depend on system-wide installed pear, it > > will simply use it if present > > 2. nothing is missing. see http://pear.php.net/PHP_Archive > > > > If installed, phar.phar will function (partially) without the phar > > extension being present. > > > > In other w

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread Pierre Joye
On Tue, Jun 23, 2009 at 12:39 AM, Christopher Jones wrote: > Can the messages be enhanced e.g. explaining what will happen in these > cases?  For example "pear: not found.  Using XXX instead" would help > users for #1. Agreed, I answered questions from many users already, they thought something w

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread Christopher Jones
Greg Beaver wrote: > jvlad wrote: php5.3-200906221030 make produces suspecious output under FreeBSD 6/amd64: Generating phar.php Generating phar.phar pear: not found Pear package PHP_Archive or Archive.php class file not found. ^^

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread Greg Beaver
jvlad wrote: >>> php5.3-200906221030 make produces suspecious output under FreeBSD >>> 6/amd64: >>> >>> Generating phar.php >>> Generating phar.phar >>> pear: not found >>> >>> Pear package PHP_Archive or Archive.php class file not found. >>> ^^

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
>> php5.3-200906221030 make produces suspecious output under FreeBSD >> 6/amd64: >> >> Generating phar.php >> Generating phar.phar >> pear: not found >> >> Pear package PHP_Archive or Archive.php class file not found. >> > > This is not

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread Greg Beaver
jvlad wrote: > Did you hear about crashes under Solaris and MacOSX, and compiler > failures > under all *BSD systems? > They were posted against RC3 and the problems are still the same in > RC4. We fixed several compile failures recently (both FreeBSD related and GCC2

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
Did you hear about crashes under Solaris and MacOSX, and compiler failures under all *BSD systems? They were posted against RC3 and the problems are still the same in RC4. >>> >>> We fixed several compile failures recently (both FreeBSD related and >>> GCC2), it probably d

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
Did you hear about crashes under Solaris and MacOSX, and compiler failures under all *BSD systems? They were posted against RC3 and the problems are still the same in RC4. >>> >>> We fixed several compile failures recently (both FreeBSD related and >>> GCC2), it probably d

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
Did you hear about crashes under Solaris and MacOSX, and compiler failures under all *BSD systems? They were posted against RC3 and the problems are still the same in RC4. >>> >>> We fixed several compile failures recently (both FreeBSD related and >>> GCC2), it probably d

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
Did you hear about crashes under Solaris and MacOSX, and compiler failures under all *BSD systems? They were posted against RC3 and the problems are still the same in RC4. >>> >>> We fixed several compile failures recently (both FreeBSD related and >>> GCC2), it probably d

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
""jvlad"" wrote in message news:38.7a.20019.c9d6f...@pb1.pair.com... >>> Did you hear about crashes under Solaris and MacOSX, and compiler >>> failures >>> under all *BSD systems? >>> They were posted against RC3 and the problems are still the same in RC4. >> >> We fixed several compile failure

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread Hannes Magnusson
On Mon, Jun 22, 2009 at 13:40, jvlad wrote: >>> Did you hear about crashes under Solaris and MacOSX, and compiler >>> failures >>> under all *BSD systems? >>> They were posted against RC3 and the problems are still the same in RC4. >> >> We fixed several compile failures recently (both FreeBSD rela

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread jvlad
>> Did you hear about crashes under Solaris and MacOSX, and compiler >> failures >> under all *BSD systems? >> They were posted against RC3 and the problems are still the same in RC4. > > We fixed several compile failures recently (both FreeBSD related and > GCC2), it probably didn't make it into

Re: [PHP-DEV] Re: 5.3.0 stable release

2009-06-22 Thread Hannes Magnusson
On Mon, Jun 22, 2009 at 07:53, jvlad wrote: > Did you hear about crashes under Solaris and MacOSX, and compiler failures > under all *BSD systems? > They were posted against RC3 and the problems are still the same in RC4. We fixed several compile failures recently (both FreeBSD related and GCC2),