php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34008 Make file error - make install does not work
Submitted: 2005-08-05 15:37 UTC Modified: 2005-08-09 18:32 UTC
From: ljanda at checkstop dot com Assigned:
Status: Closed Package: *Compile Issues
PHP Version: 4.4.0 OS: SCO 5.05
Private report: No CVE-ID: None
 [2005-08-05 15:37 UTC] ljanda at checkstop dot com
Description:
------------
Simple problem in configure:
./configure --without-mysql --with-informix --with-apache=../apache_1.3.19 --ena
ble-shared --enable-track-vars


Adding the Informix puts a line into make file without tab (\t) and therefore the make fails.

Looked and makefile and sure enough, the line was left justified, put the tab in and got it to work.


Reproduce code:
---------------
install-cli: $(SAPI_CLI_PATH)
	@echo "Installing PHP CLI binary:        $(INSTALL_ROOT)$(bindir)/"
	@$(INSTALL_CLI)
	@echo "Installing PHP CLI man page:      $(INSTALL_ROOT)$(mandir)/man1/"
	@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1
	@$(INSTALL_DATA) sapi/cli/php.1 $(INSTALL_ROOT)$(mandir)/man1/php.1
/*********************************** this line needs a tab
OVERALL_TARGET += /u/leroy/php-4.4.0/ext/informix/ifx.c

/u/leroy/php-

Expected result:
----------------
make error


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-08-05 19:51 UTC] tony2001@php.net
Are you able to reproduce on non-SCO server?
 [2005-08-05 20:47 UTC] ljanda at checkstop dot com
Have no access to other servers
 [2005-08-05 20:48 UTC] ljanda at checkstop dot com
OVERALL_TARGET += /u/leroy/php-4.4.0/ext/informix/ifx.c

Also the above is supposed to be a directory??

failing in make install
 [2005-08-05 22:28 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Sometimes simple things cause big problems.
It was actually just one missing empty line in the  beginning of ext/informix/Makefile.frag 

 [2005-08-06 05:52 UTC] ljanda at checkstop dot com
The problem still exists. That line should have a tab. I can fix that but the stopping point is the "make install".

make install

OVERALL_TARGET += /u/leroy/php4-STABLE-200508060247/ext/informix/ifx.c
sh: OVERALL_TARGET:  not found
*** Error code 1 (bu21)
#
 [2005-08-06 20:09 UTC] sniper@php.net
No, the line does NOT need a tab. Install working 'make', such as the GNU Make..

 [2005-08-08 01:16 UTC] ljanda at checkstop dot com
[activating module `php4' in /usr/local/apache2/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/php/bin/
Installing PHP CLI man page:      /usr/local/php/man/man1/
OVERALL_TARGET += /u/leroy/php4-STABLE-200508060247/ext/informix/ifx.c
/bin/ksh: OVERALL_TARGET:  not found
gmake: *** [install-cli] Error 1




# gmake -v
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-sco3.2v5.0.5
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.
 [2005-08-08 08:55 UTC] sniper@php.net
Put that Makefile somewhere where I can see it.

 [2005-08-08 15:28 UTC] ljanda at checkstop dot com
http://www.czechs.org/ljphp/Makefile

I have pulled all makefiles out of project, and they are under this www structure.

ie 

http://www.czechs.org/ljphp/Makefile.global etc
 [2005-08-08 19:50 UTC] sniper@php.net
Uh..I wanted to see the Makefile WITHOUT your bogus changes..

 [2005-08-09 14:55 UTC] ljanda at checkstop dot com
Was there a fix, as the new snap was downloaded, and was able to install.

Compiled, installed, and tested Apache OK
Compiled, installed, and tested PHP standalone.

But docs are unclear as to how to make the DSO on SCO work as it cannot load the shared library libPHP4.so.
 [2005-08-09 18:32 UTC] sniper@php.net
Yes, it was fixed. As to how to compile stuff or any other issue with SCO, ask SCO support. This is not a support forum.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 22:01:29 2024 UTC