ID: 28385
Comment by: hotta dot michihide at gmail dot com
Reported By: ramsy at ramix dot jp
Status: Open
Bug Type: *Compile Issues
Operating System: Linux
PHP Version: 4.3.6
New Comment:
i'm trying to rewrite a bit.
$(prefix)/lib/php/build/* have attributes of 755.
on building php as an rpm package, they are treated as
scripts and build fails because of broken dependencies.
Previous Comments:
------------------------------------------------------------------------
[2004-05-13 18:02:46] ramsy at ramix dot jp
Description:
------------
$(prefix)/lib/php/build/* was 755.
When rpm package, It is misunderstood with a script and the file of
that creates the broken package dependency.
Reproduce code:
---------------
scripts/Makefile.frag(part1):
BUILD_FILES = \
scripts/phpize.m4 \
build/mkdep.awk \
- build/shtool \
build/scan_makefile_in.awk \
Makefile.global \
acinclude.m4
+BUILD_FILES_EXEC = \
+ build/shtool
+
scripts/Makefile.frag(part2):
@echo "Installing build environment:
$(INSTALL_ROOT)$(phpbuilddir)/"
@$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir)
$(INSTALL_ROOT)$(bindir) && \
- (cd $(top_srcdir) && $(INSTALL) $(BUILD_FILES)
$(INSTALL_ROOT)$(phpbuilddir))
+ (cd $(top_srcdir) && \
+ $(INSTALL) $(BUILD_FILES_EXEC) $(INSTALL_ROOT)$(phpbuilddir) && \
+ $(INSTALL_DATA) $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir) )
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28385&edit=1