|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-25 12:55 UTC] tal@php.net
[2002-11-26 22:18 UTC] russosm at xyos dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 06:00:01 2025 UTC |
Make install was failing in the pear directory with build 4.2.3 and a snap from Nov 21st on Solaris 8. The Makefile was trying to put files in /bin/. It was ignoring the prefix variable and giving me a permission denied error. I had to alter the Makefile.in file in the pear directory to properly set the install bin directory. I added: bindir=$(prefix)/bin This may not be the proper thing to do; I didn't check if bindir is used earlier at all. This change affected the code below: pear/Makefile.in: bin_SCRIPTS = phpize php-config pear pearize phptar install-build: @echo "Installing build environment" @$(mkinstalldirs) $(INSTALL_ROOT)$(phpbuilddir) $(INSTALL_ROOT)$(bindir) && \ (cd $(top_srcdir) && cp $(BUILD_FILES) $(INSTALL_ROOT)$(phpbuilddir)) install-programs: @for prog in $(bin_SCRIPTS); do \ echo "Installing program: $$prog"; \ $(INSTALL) -m 755 scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$prog; \ done; \ rm -f $(INSTALL_ROOT)$(bindir)/pear-get; \ for prog in phpextdist; do \ echo "Installing program: $$prog"; \ $(INSTALL) -m 755 $(srcdir)/scripts/$$prog $(INSTALL_ROOT)$(bindir)/$$ prog; \ done