#45815 [Opn->Asn]: Illegal stub for phar

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45815
 Updated by:       [email protected]
 Reported By:      felipensp at gmail dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         PHAR related
 Operating System: FreeBSD
 PHP Version:      5.3CVS-2008-08-13 (CVS)
-Assigned To:      
+Assigned To:      cellog
 New Comment:

Assigned to the PHAR maintainer.


Previous Comments:
------------------------------------------------------------------------

[2008-08-13 23:50:32] felipensp at gmail dot com

Description:
------------
In the end of compilation:

Generating phar.php
Generating phar.phar
pear: not found
Pear package PHP_Archive or Archive.php class file not found.

Fatal error: Uncaught exception 'PharException' with 
message 'illegal stub for 
phar "/usr/home/felipe/php5/ext/phar/phar.phar"' 
in /usr/home/felipe/php5/ext/phar/phar.php:994
Stack trace:
#0 /usr/home/felipe/php5/ext/phar/phar.php(994): 
Phar->setStub('#!/usr/local/bi...')
#1 /usr/home/felipe/php5/ext/phar/phar.php(1054): 
PharCommand->phar_set_stub_begin(Object(Phar), '/usr/home/felip...',
'/usr/home/felip...', '/usr/local/bin/...')
#2 [internal function]: PharCommand->cli_cmd_run_pack(Array)
#3 /usr/home/felipe/php5/ext/phar/phar.php(225): 
call_user_func(Array, Array)
#4 /usr/home/felipe/php5/ext/phar/phar.php(2073): 
CLICommand->__construct(19, Array)
#5 {main}
  thrown in /usr/home/felipe/php5/ext/phar/phar.php on line 994
*** Error code 255

Stop in /usr/home/felipe/php5.




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45815&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.