php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14015 Can't install (make install)
Submitted: 2001-11-11 09:31 UTC Modified: 2001-11-27 08:56 UTC
From: voite_alex at mail dot ru Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.0.6 OS: UNIXWARE 7
Private report: No CVE-ID: None
 [2001-11-11 09:31 UTC] voite_alex at mail dot ru
By first, I do
$./configure --without-mysql --with-apache=../apache_1.3.22 --enable-track-vars
$ make
And when I launch the installation's command (make install) and the code appears :
Making install in Zend
Making install in main
Making install in ext
Making install in mysql
Making install in libmysql
Making install in pcre
Making install in pcrelib
Making install in posix
Making install in session
Making install in standard
Making install in xml
Making install in expat
Making install in xmltok
Making install in xmlparse
Making install in sapi
Making install in apache
Making install in TSRM
Making install in regex
Making install in .
	mkdir -p /home/pc/apache_1.3.22/src/modules/php4; cp libs/libphp4.a /home/pc/apache_1.3.22/src/modules/php4/libmodphp4.a; cp /home/pc/php-4.0.6//sapi/apache/mod_php4.* sapi/apache/libphp4.module /home/pc/apache_1.3.22/src/modules/php4; cp ./sapi/apache/apMakefile.tmpl /home/pc/apache_1.3.22/src/modules/php4/Makefile.tmpl; cp ./sapi/apache/apMakefile.libdir /home/pc/apache_1.3.22/src/modules/php4/Makefile.libdir
*** Error code 2 (bu21)
*** Error code 1 (bu21)

When I try ./configure withotn any params, and after "make and ""make install" - compilation finished fine and I see all files in /usr/local/.. directory (possibly by default).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-11 19:59 UTC] sniper@php.net
Did you follow the installation instructions given in
the INSTALL file ? Found under QUICK INSTALL (static)

--Jani

 [2001-11-12 03:13 UTC] voite_alex at mail dot ru
Of course, I follow the installation instructions. I type this commands:
$ gunzip -c apache_1.3.22.tar.gz | tar xf -
$ cd apache_1.3.22
$ ./configure
$ cd ..

$ gunzip -c php-4.0.6.tar.gz | tar xf -
$ cd php-4.0.6
$ ./configure --without-mysql --with-apache=/home/pc/apache_1.3.22 --enable-track-vars
$ make
$ make install
.... *** Error .....

Why without any params PHP compile normaly?
$ cd php-4.0.6
$ ./configure
$ make
$ make install
... done ....
 [2001-11-12 04:38 UTC] voite_alex at mail dot ru
Of course, I follow the installation instructions. I type this commands:
$ gunzip -c apache_1.3.22.tar.gz | tar xf -
$ cd apache_1.3.22
$ ./configure
$ cd ..

$ gunzip -c php-4.0.6.tar.gz | tar xf -
$ cd php-4.0.6
$ ./configure --without-mysql --with-apache=/home/pc/apache_1.3.22 --enable-track-vars
$ make
$ make install
.... *** Error .....

Why without any params PHP compile normaly?
$ cd php-4.0.6
$ ./configure
$ make
$ make install
... done ....
 [2001-11-12 05:38 UTC] voite_alex at mail dot ru
Of course, I follow the installation instructions. I type this commands:
$ gunzip -c apache_1.3.22.tar.gz | tar xf -
$ cd apache_1.3.22
$ ./configure
$ cd ..

$ gunzip -c php-4.0.6.tar.gz | tar xf -
$ cd php-4.0.6
$ ./configure --without-mysql --with-apache=/home/pc/apache_1.3.22 --enable-track-vars
$ make
$ make install
.... *** Error .....

Why without any params PHP compile normaly?
$ cd php-4.0.6
$ ./configure
$ make
$ make install
... done ....
 [2001-11-18 19:08 UTC] sniper@php.net
Are you running 'make install' as root?
Or if not, does the user you run it as have permissions
to write to those dirs?

--Jani


 [2001-11-26 13:28 UTC] voite_alex at mail dot ru
All that I do, i do as root. I try to install "php" with params 
- ./configure --with-apache
after
- make
- make install (and there i see error)

After this I manyally copy file ".lib/libphp4.a" into Apache intall directory and type this command:

- cd apache
- ./configure --prefix=/usr/apache --activate-module=src/modules/php4/libphp4.a
- make
- install
Correct httpd.conf, and .... all wokrs!!!

But why PHP install on Unixware 7 so bad with params?

 [2001-11-26 13:33 UTC] voite_alex at mail dot ru
I forger, I type params with full path
./configure --with-apache=/home/pipl/apache
 [2001-11-26 14:23 UTC] sniper@php.net
You're obviously doint something wrong there.
Please ask further support questions on the mailing lists:

http://www.php.net/support.php

 [2001-11-27 00:35 UTC] voite_alex at mail dot ru
I forger, I type params with full path
./configure --with-apache=/home/pipl/apache
 [2001-11-27 08:56 UTC] sniper@php.net
You're not pointing to the apache SOURCE directory here.
If you do that, it will work.

 [2001-11-27 08:56 UTC] sniper@php.net
You're not pointing to the apache SOURCE directory here.
If you do that, it will work.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 19:01:34 2024 UTC