#19003 [Opn->Bgs]: cannot edit Makefile (post-configure) - line too long
| From: | rasmus@php.net | Date: | Wed, 21 Aug 2002 00:20:51 +0000 |
| Subject: | #19003 [Opn->Bgs]: cannot edit Makefile (post-configure) - line too long | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17377@lists.php.net to get a copy of this message | ||
ID: 19003
Updated by: rasmus@php.net
Reported By: vlb@cfcl.com
-Status: Open
+Status: Bogus
Bug Type: *Compile Issues
Operating System: Tru64 Unix
PHP Version: 4.2.2
New Comment:
You really shouldn't be editing the Makefile for any reason. If you
need to add an include, set it in your CFLAGS env variable. Any
settings in any of the tracked env vars listed at the end of
./configure --help will be recorded in your config.nice file so you can
repeat the same configure later on. Simply save your config.nice and
re-use it instead of hacking the Makefile. We may take a look at that
particular line at some point, but overall this is a rather bogus bug.
Previous Comments:
------------------------------------------------------------------------
[2002-08-20 18:45:03] vlb@cfcl.com
ex doesn't like it either:
ex Makefile
"Makefile" Line(s) longer than 2048 characters were split. 644 lines,
76288 characters
------------------------------------------------------------------------
[2002-08-20 18:35:54] vlb@cfcl.com
In build snapshot php4-200208190900 the Makefile includes a definition
of
PHP_GLOBAL_OBJS = ...
This line is > 2048 characters.
If any other part of the Makefile is edited post-configure (e.g. to add
a local include file at the FRONT of the INCLUDES list), vi (OK, yes, I
use vi) breaks the PHP_GLOBAL_OBJS line. This results in a Make error.
Attempts to join the PHP_GLOBALS_OBJS paarts together again cause vi to
complain
The result of a line join would be greater than 2048 characters.
OK, I should be using nvi or emacs and certainky not Tru64Unix but it's
not like I have a lot of choice. Please break up the PHP_GLOBAL_OBJS
variable setting into more manageable pieces.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19003&edit=1