php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14243 make install generates errors from shtool in pear subdir
Submitted: 2001-11-27 00:15 UTC Modified: 2001-11-27 08:44 UTC
From: yusufg at outblaze dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Linux 2.4.14 Redhat 7.0
Private report: No CVE-ID: None
 [2001-11-27 00:15 UTC] yusufg at outblaze dot com
Configure command

./configure --prefix=/usr/local/site/php --with-apache=../apache_1.3.22  --enable-track-vars --with-pear=/usr/local/site/pear --with-config-file-path=/usr/local/site/php

Running 
make ; make install

Gives the following result


make[1]: Entering directory `/var/tmp/php-4.0.6/pear'
make[2]: Entering directory `/var/tmp/php-4.0.6/pear'
shtool:mkdir:Error: invalid number of arguments (at least 1 expected)
shtool:mkdir:Hint:  run `/usr/tmp/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 `/var/tmp/php-4.0.6/pear'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/php-4.0.6/pear'
make: *** [install-recursive] Error 1



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-27 08:44 UTC] sniper@php.net
These are fixed in CVS and PHP 4.1.0.

And if you're not running 'make install' as root and you're trying 
to install into some location where you don't have write permissions,
it will never work.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 08:01:26 2024 UTC