You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by James Cloos <cl...@jhcloos.com> on 1999/03/15 00:20:55 UTC

other/4058: axps fails to run due to syntax error

>Number:         4058
>Category:       other
>Synopsis:       axps fails to run due to syntax error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun Mar 14 15:30:00 PST 1999
>Last-Modified:
>Originator:     cloos@jhcloos.com
>Organization:
apache
>Release:        1.3.5-dev (cvs HEAD)
>Environment:
This is perl, version 5.005_01 built for i386-linux-thread
>Description:
apxs has backtick vs double quote syntax error; see the patch below.
>How-To-Repeat:
grab 1.3 from CVS,
./configure --prefix=/opt/apache-1.3.5-dev --with-layout=GNU --enable-module=so --enable-shared=max
make
make install

then grab php from cvs
autoconf
./configure --with-apxs=/opt/apache-1.3.5-dev/sbin/apxs --with-config-file-path=/opt/apache-1.3.5-dev/etc

see the error in the configure output.
>Fix:
# diff -u src/support/apxs.pl.~1~ src/support/apxs.pl
--- src/support/apxs.pl.~1~     Sun Mar 14 17:00:59 1999
+++ src/support/apxs.pl Sun Mar 14 17:01:13 1999
@@ -91,7 +91,7 @@
 ##
 ##  Initial shared object support check
 ##
-if (not -x `$CFG_SBINDIR/$CFG_TARGET`) {
+if (not -x "$CFG_SBINDIR/$CFG_TARGET") {
        print STDERR "apxs:Error: $CFG_SBINDIR/$CFG_TARGET not found or not executable\n";
        exit(1);
 }
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]