#45370 [Com]: make install doesn't work

[email protected] ("gradymke at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               45370
 Comment by:       gradymke at gmail dot com
 Reported By:      caio53 at gmail dot xom
 Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: Mac OS X 10.5.3
 PHP Version:      5.2.6
 New Comment:

I'm having this same behavior.  To respond to the previous suggestion,
if I do a "make install-cli" and then go to the /usr/bin directory, the
php executable does not get installed.  I tried renaming the one that
was in there and re-installed and it was still not copied to that
directory.  Ultimately I copied the one from the sapi/cli directory to
/usr/bin, but I'm sure that's not the best way to do it.


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

[2008-07-09 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

[2008-07-01 09:45:48] [email protected]

Try again and check with 'ls -l /usr/bin/ | grep php' what is actually
installed.

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

[2008-06-26 22:21:00] caio53 at gmail dot xom

Description:
------------
make install doesn't really install anything.

Build complete.
Don't forget to run 'make test'.

caio@kayleigh~/php-5.2.6: sudo make install
Password:
Installing PHP SAPI module:       cgi
Installing PHP CGI binary: /usr/bin/
Installing PHP CLI binary:        /usr/bin/
Installing PHP CLI man page:      /usr/man/man1/
Installing build environment:     /usr/lib/php/build/
Installing header files:          /usr/include/php/
Installing helper programs:       /usr/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/man/man1/
  page: phpize.1
  page: php-config.1
Installing PDO headers:          /usr/include/php/ext/pdo/
Installing ZIP headers:          /usr/include/php/ext/zip/lib

caio@kayleigh~/php-5.2.6: php
-bash: /usr/bin/php: No such file or directory

caio@kayleigh~/php-5.2.6: ./sapi/cli/php -v
PHP 5.2.6 (cli) (built: Jun 26 2008 18:10:03) 
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

I copied ~/php-5.2.6/sapi/cli/php to /usr/bin and it seems to be 
working.



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


-- 
Edit this bug report at http://bugs.php.net/?id=45370&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.