php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #564 Broken "configure" file.
Submitted: 1998-07-21 15:25 UTC Modified: 1998-07-30 08:21 UTC
From: dave at www dot buffalostate dot edu Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0 Final Release OS: Linux 2.0.34
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dave at www dot buffalostate dot edu
New email:
PHP Version: OS:

 

 [1998-07-21 15:25 UTC] dave at www dot buffalostate dot edu
Configure doesn't contain the necessary "mkdir -p 
$APACHE_TARGET" when compiling with the apache module.

./configure --with-msql \ --with-apache=/usr/src/redhat/BUILD/apache_1.3.0	\ --enable-trak-vars

make;make install

Patch is attached.. Patch is for "configure"
run "patch -p0 < patch.php302a" from WITHIN the php302a directory, (patch should also be in that dir..)


// Begin Patch patch.php302a //
--- configure   Sun Jul 19 17:59:40 1998
+++ configure.patched   Tue Jul 21 13:35:26 1998
@@ -3386,7 +3386,7 @@
                LDFLAGS_SHLIB_EXPORT=`perl -V:ccdlflags | cut -d\' -f2`
                PHP_LIBS=
            BINNAME=libmodphp3-so.a
-           INSTALL_IT="cp $BINNAME mod_php3.* php_version.h libphp3.module $APA
CHE_TARGET; cp apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp apMakefile.libdi
r $APACHE_TARGET/Makefile.libdir"
+           INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_vers
ion.h libphp3.module $APACHE_TARGET; cp apMakefile.tmpl $APACHE_TARGET/Makefile.
tmpl; cp apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
            cat >> confdefs.h <<\EOF
 #define APACHE 1
 EOF
@@ -3452,10 +3452,10 @@
            APACHE_TARGET=$withval/src
            BINNAME=libphp3.a
            if test "$with_dbase" = "yes"; then
-             INSTALL_IT="cp $BINNAME mod_php3.* php_version.h libphp3.module db
ase/libdbf.a $APACHE_TARGET"
+             INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_ve
rsion.h libphp3.module dbase/libdbf.a $APACHE_TARGET"
              PHP_LIBS="-L. -lphp3 -ldbf"
            else
-             INSTALL_IT="cp $BINNAME mod_php3.* php_version.h libphp3.module $A
PACHE_TARGET"
+             INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_ve
rsion.h libphp3.module $APACHE_TARGET"
              PHP_LIBS="-L. -lphp3"
            fi
            cat >> confdefs.h <<\EOF
@@ -3479,10 +3479,10 @@
                fi
            BINNAME=libmodphp3.a
            if test "$with_dbase" = "yes"; then
-             INSTALL_IT="cp $BINNAME mod_php3.* php_version.h libphp3.module db
ase/libdbf.a $APACHE_TARGET; cp apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp
 apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
+             INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_ve
rsion.h libphp3.module dbase/libdbf.a $APACHE_TARGET; cp apMakefile.tmpl $APACHE
_TARGET/Makefile.tmpl; cp apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
              PHP_LIBS="-Lmodules/php3 -L../modules/php3 -L../../modules/php3 -l
modphp3 -ldbf"
            else
-             INSTALL_IT="cp $BINNAME mod_php3.* php_version.h libphp3.module $A
PACHE_TARGET; cp apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp apMakefile.lib
dir $APACHE_TARGET/Makefile.libdir"
+             INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_ve
rsion.h libphp3.module $APACHE_TARGET; cp apMakefile.tmpl $APACHE_TARGET/Makefil
e.tmpl; cp apMakefile.libdir $APACHE_TARGET/Makefile.libdir"
              PHP_LIBS="-Lmodules/php3 -L../modules/php3 -L../../modules/php3 -l
modphp3"
                fi
            cat >> confdefs.h <<\EOF
@@ -3523,10 +3523,10 @@
            BINNAME=libmodphp3.a
            if test "$with_dbase" = "yes"; then
              PHP_LIBS="-Lmodules/php3 -L../modules/php3 -L../../modules/php3 -l
modphp3 -ldbf"
-             INSTALL_IT="cp $BINNAME mod_php3.* php_version.h dbase/libdbf.a $A
PACHE_TARGET; cp apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp apMakefile.lib
dir $APACHE_TARGET/Makefile.libdir; cp libphp3.module $APACHE_TARGET"
+             INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_ve
rsion.h dbase/libdbf.a $APACHE_TARGET; cp apMakefile.tmpl $APACHE_TARGET/Makefil
e.tmpl; cp apMakefile.libdir $APACHE_TARGET/Makefile.libdir; cp libphp3.module $
APACHE_TARGET"
            else
              PHP_LIBS="-Lmodules/php3 -L../modules/php3 -L../../modules/php3 -l
modphp3"
-             INSTALL_IT="cp $BINNAME mod_php3.* php_version.h $APACHE_TARGET; c
p apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp apMakefile.libdir $APACHE_TAR
GET/Makefile.libdir; cp libphp3.module $APACHE_TARGET"
+             INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_ve
rsion.h $APACHE_TARGET; cp apMakefile.tmpl $APACHE_TARGET/Makefile.tmpl; cp apMa
kefile.libdir $APACHE_TARGET/Makefile.libdir; cp libphp3.module $APACHE_TARGET"
            fi
            cat >> confdefs.h <<\EOF
 #define APACHE 1
@@ -3563,10 +3563,10 @@
            BINNAME=libmodphp3.a
            if test "$with_dbase" = "yes"; then
              PHP_LIBS="-Lmodules/php3 -L../modules/php3 -L../../modules/php3 -l
modphp3 -ldbf"
-             INSTALL_IT="cp $BINNAME mod_php3.* php_version.h libphp3.module db
ase/libdbf.a $APACHE_TARGET"
+             INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_ve
rsion.h libphp3.module dbase/libdbf.a $APACHE_TARGET"
            else
              PHP_LIBS="-Lmodules/php3 -L../modules/php3 -L../../modules/php3 -l
modphp3"
-             INSTALL_IT="cp $BINNAME mod_php3.* php_version.h libphp3.module $A
PACHE_TARGET"
+             INSTALL_IT="mkdir -p $APACHE_TARGET; cp $BINNAME mod_php3.* php_ve
rsion.h libphp3.module $APACHE_TARGET"
            fi
                STRONGHOLD=-DSTRONGHOLD=1
            cat >> confdefs.h <<\EOF

// End Patch...

Dave J. Andruczyk
Linux Systems Administrator
Buffalo State College

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-30 08:21 UTC] rasmus
Fixed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 17:01:29 2024 UTC