From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.2.3 PHP Bug Type: Compile Failure Bug description: make install of pear failing on bin directory
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 -- Edit bug report at http://bugs.php.net/?id=20627&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20627&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20627&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20627&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20627&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20627&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20627&r=support Expected behavior: http://bugs.php.net/fix.php?id=20627&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20627&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20627&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20627&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20627&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20627&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20627&r=isapi