php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17338 Make install fails
Submitted: 2002-05-21 13:28 UTC Modified: 2002-07-14 01:00 UTC
Votes:9
Avg. Score:4.3 ± 0.9
Reproduced:7 of 7 (100.0%)
Same Version:4 (57.1%)
Same OS:5 (71.4%)
From: glerma at dset dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.2.1 OS: Solaris 8
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: glerma at dset dot com
New email:
PHP Version: OS:

 

 [2002-05-21 13:28 UTC] glerma at dset dot com
Trying to compile PHP 4.2.1 as DSO to Apache 1.3.23

I am getting the following errors when running "make install"
Making install in Zend
Making install in main
Making install in ext
Making install in ctype
Making install in mysql
Making install in libmysql
Making install in oci8
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 sapi
Making install in apache
Making install in TSRM
Making install in regex
Making install in .
*** Error code 2
make: Fatal error: Command failed for target `install-sapi'
Current working directory /opt/tools/software/compileDir/php-4.2.1
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'

APACHE CONFIGURE OPTIONS:
./configure --enable-module=so --enable-module=most --enable-shared=max --enable-shared=ssl

PHP CONFIGURE OPTIONS:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --with-oci8 --enable-trans-sid

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-21 16:41 UTC] john77 at hotmail dot com
=Bug #17313 ???
 [2002-05-21 17:10 UTC] glerma at dset dot com
That's the same error for sure. I was able to go around it temporarily by building 4.2.0 instead.  I couldn't wait for a fix.

I think i may have something to do with the differences in the configure scripts between 420 and 421. 
I originally had a problem with the unix.h in the configure script that comes with 421, so I had replaced it with 420's. I read a post on it earlier, but don't remember the bug#.


This had fixed the error being generated in the configure portion of the build.
 [2002-05-22 04:19 UTC] john77 at hotmail dot com
In Bug #17313 there is an advise to manually creating the directory "libs" in your php build directory before doing "make install" then it seems to succeed.
 [2002-05-30 21:28 UTC] brian dot luke at schwab dot com
Experiencing same problem.  libs directory already exists, which means the fix from Bug #17313 doesn't do the trick for this one.
 [2002-06-01 16:22 UTC] mike at 8thdaytech dot com
similar problem on FreeBSD-RELEASE generic kernel. 
apache-2.0.36:
./configure --prefix=/usr/local/apache --enable-module=so
make and make install works fine.

php-4.2.1:
./configure --with-mysql=/usr/local/mysql/ --with-apxs2=/usr/local/apache/bin/apxs --enable-track-vars --with-pdflib --with-mcrypt --with-tsrm-pth
make appears to be fine. 
veggie# make install
Making install in Zend
Making install in main
Making install in ext
Making install in ctype
Making install in mcrypt
Making install in mysql
Making install in pcre
Making install in pcrelib
Making install in pdf
Making install in posix
Making install in session
Making install in standard
Making install in xml
Making install in expat
Making install in sapi
Making install in apache2filter
Making install in TSRM
Making install in regex
Making install in .
*** Error code 1

Stop in /usr/local/src/php-4.2.1.
*** Error code 1

Stop in /usr/local/src/php-4.2.1.

... that's all the info I get.

creating the libs/ directory worked!
 [2002-06-13 16:36 UTC] sniper@php.net
Please try this snapshot:

http://snaps.php.net/php4-latest.tar.gz

 [2002-06-21 11:41 UTC] nigel dot king at nuth dot northy dot nhs dot uk
I'm building 4.2.1 on Solaris 8 with mysql and apxs.  Got the same error.

Adding the libs directory fixed it.

Thanks
 [2002-07-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, 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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 17:01:29 2024 UTC