Hi Greg,

Greg Beaver wrote:
> Sebastian Nohn wrote:
>> Hi Christan,
>>
>>>> Fatal error: Not valid internal .phar file (checksum error) in
>>>> ...../php5/pear/install-pear-nozlib.phar on line 411
>>>> make[1]: *** [install-pear-installer] Error 255
>>>> make: *** [install-pear] Error 2
>>>> [...]
>>> I guess you are on a 64 bit system;
>>> http://greg.chiaraquartet.net/archives/160-problem-with-PHP_Archive-based-phars-tracked-to-odd-unpack-bug.html
>> That may very well be. It's an AMD Opteron and Greg's example returns
>> the same output. What irritates me a bit: It's a 32 bit OS running on
>> the machine and PEAR.phar-installation worked on that machine until
>> yesterday evening.
> 
> I spent quite a bit of time fixing up both phars yesterday, and released
>  new .phars at pear.php.net.  If you could confirm that the .phars at
> http://pear.php.net/install-pear-nozlib.phar or
> http://pear.php.net/go-pear.phar do *not* work with current CVS, then we
> have a problem.  I need to know whether it works for you, either way,
> today if possible.

Until yesterday evening (23:something MET yesterday was the last time
tried), it worked, it didn't work since then (next try 10:something MET
today) and it doesn't work with the file from pear.php.net:

---------------------- cut here ----------------------
$ wget http://pear.php.net/install-pear-nozlib.phar -O \
   /tmp/install-pear-nozlib.phar
[...]
16:29:55 (273.68 KB/s) - `/tmp/install-pear-nozlib.phar' saved
[3287079/3287079]

$ slash/opt/php/bin/php -n -dshort_open_tag=0 -dsafe_mode=0 \
   -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 \
   -ddetect_unicode=0 /tmp/install-pear-nozlib.phar \
   -d $(pwd)slash/opt/php/lib -b $(pwd)/slash/opt/php/bin

Fatal error: Not valid internal .phar file (checksum error) in
/tmp/install-pear-nozlib.phar on line 411

$ slash/opt/php/bin/php -v
PHP 5.2.1RC3-dev (cli) (built: Jan  6 2007 15:33:58)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
---------------------- cut here ----------------------

If it helps:

$ uname -a
Linux h939937 2.6.15-26-686 #1 SMP PREEMPT Fri Sep 8 20:16:40 UTC 2006
i686 GNU/Linux
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-java-awt=gtk-default
--enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --with-tune=pentium4
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)

- Sebastian

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to