php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12070 "Error: invalid number of arguments (at least 1 expected)" during compilation
Submitted: 2001-07-11 17:31 UTC Modified: 2001-10-21 20:56 UTC
From: wim at godden dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: RedHat Linux 6.2 - kernel 2.4.1
Private report: No CVE-ID: None
 [2001-07-11 17:31 UTC] wim at godden dot net
When compiling PHP, when I do a make install, I get :
installing shared modules into /usr/local/lib/php/extensions/no-debug-non-zts-20001222
make[1]: Leaving directory `/second/install/php-4.0.6'
Making install in pear
make[1]: Entering directory `/second/install/php-4.0.6/pear'
make[2]: Entering directory `/second/install/php-4.0.6/pear'
shtool:mkdir:Error: invalid number of arguments (at least 1 expected)
shtool:mkdir:Hint:  run `/second/install/php-4.0.6/build/shtool mkdir -h' or `man shtool' for details
+----------------------------------------------------------------------+
| The installation process is incomplete. The following resources were |
| not installed:                                                       |
|                                                                      |
|   Self-contained Extension Support                                   |
|   PEAR: PHP Extension and Add-on Repository                          |
|                                                                      |
| To install these components, become the superuser and execute:       |
|                                                                      |
|   # make install-su                                                  |
+----------------------------------------------------------------------+
make[2]: *** [install-data-local] Error 5
make[2]: Leaving directory `/second/install/php-4.0.6/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/second/install/php-4.0.6/pear'
make: *** [install-recursive] Error 1


I'm running it as superuser, so that's not the problem.
My configure statement is :
./configure  --with-apxs=/usr/local/apache/bin/apxs --with-imap --enable-versioning --enable-ftp --with-mysql=/usr/local/mysql --with-gd=/usr/local/gd --with-snmp=/usr/local/snmp --with-openssl=/usr/local/ssl --enable-dbase --with-pear --with-mcrypt --with-dom --with-pcre --with-zlib-dir=/usr

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-21 20:56 UTC] sniper@php.net
Should be fixed in CVS. Please try latest CVS snapshot
from http://snaps.php.net/

Reopen if proplem persists.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC