Bug #67160 [NEW]: ext_skel outputs incorrect information
| From: | dan dot boz at mailinator dot com | Date: | Wed, 30 Apr 2014 14:33:14 +0000 |
| Subject: | Bug #67160 [NEW]: ext_skel outputs incorrect information | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-185524@lists.php.net to get a copy of this message | ||
From: dan dot boz at mailinator dot com
Operating system:
PHP version: 5.5.11
Package: *General Issues
Bug Type: Bug
Bug description:ext_skel outputs incorrect information
Description:
------------
Running 'ext/ext_skel' as per the instructions here:
http://php.net/manual/en/internals2.buildsys.skeleton.php
Outputs something like this:
---
Creating directory sync
Creating basic files: config.m4 config.w32 .svnignore sample.c
php_sample.h CREDITS EXPERIMENTAL tests/001.phpt sample.php [done].
To use your new extension, you will have to execute the following
steps:
1. $ cd ..
2. $ vi ext/sync/config.m4
3. $ ./buildconf
4. $ ./configure --[with|enable]-sample
5. $ make
6. $ ./php -f ext/sample/sample.php
7. $ vi ext/sample/sample.c
8. $ make
Repeat steps 3-6 until you are satisfied with ext/sync/config.m4 and
step 6 confirms that your module is compiled into PHP. Then, start
writing
code and repeat the last two steps as often as necessary.
---
Line 6 appears to be incorrect. The PHP binary is not found in the root
directory.
Expected result:
----------------
Line 6 should read:
6. $ ./sapi/cli/php -f ext/sample/sample.php
--
Edit bug report at https://bugs.php.net/bug.php?id=67160&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67160&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67160&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67160&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67160&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67160&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67160&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67160&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67160&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67160&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67160&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67160&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67160&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67160&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67160&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67160&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67160&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67160&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67160&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67160&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67160&r=mysqlcfg