ID:               20627
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Solaris 8
 PHP Version:      4.2.3
 New Comment:

This was not a bug.  It was my typo.
M


Previous Comments:
------------------------------------------------------------------------

[2002-11-25 12:55:43] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

------------------------------------------------------------------------

[2002-11-25 12:54:33] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=20627&edit=1

Reply via email to