You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/05/11 18:12:24 UTC

DO NOT REPLY [Bug 34870] New: - Problems with jakarta-tomcat-connectors-1.2.12-src/jk/native/configure and HP-UX 11.0

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34870>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34870

           Summary: Problems with jakarta-tomcat-connectors-1.2.12-
                    src/jk/native/configure and HP-UX 11.0
           Product: Tomcat 5
           Version: 5.0.28
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: mark.horstman@sbc.com


HP-UX 11.0 shell doesn't seem to like it when you use an environment variable
that has not been set.  I had to fix three lines to get configure to work me. I
saw other lines that potentially have the same problem but I have no way to test
them.

The following is a 'diff -ru' of configure.in and configure (since I can't seem
to figure out how to attach a file when entering a new bug):

diff -ru jakarta-tomcat-connectors-1.2.12-src.orig/jk/native/configure
jakarta-tomcat-connectors-1.2.12-src/jk/native/configure
--- jakarta-tomcat-connectors-1.2.12-src.orig/jk/native/configure      
2005-05-07 05:41:32.000000000 -0500
+++ jakarta-tomcat-connectors-1.2.12-src/jk/native/configure    2005-05-11
10:42:01.000000000 -0500
@@ -19983,7 +19983,7 @@

             ${APXS} -q PREFIX >/dev/null 2>/dev/null || apxs_support=false

-            if ${TEST} "${apxs_support}" = "false" ; then
+            if ${TEST} "${apxs_support:-}x" = "falsex" ; then
                 echo "$as_me:$LINENO: result: could not find ${APXS}" >&5
 echo "${ECHO_T}could not find ${APXS}" >&6
                 { { echo "$as_me:$LINENO: error: You must specify a valid
--with-apxs path" >&5
@@ -20209,14 +20209,14 @@
 if ${TEST} -n "${CFLAGS}" ; then
        APXSCFLAGS="${APXSCFLAGS} ${CFLAGS}"
 fi
-if ${TEST} -n "${LDFLAGS}" ; then
+if ${TEST} "${LDFLAGS:-}x" != "x" ; then
        APXSLDFLAGS="-Wl,${LDFLAGS}"
 fi




-if ${TEST} -n "${JK_JNI_WORKER}" ; then
+if ${TEST} "${JK_JNI_WORKER:-}x" != "x" ; then

 WEBSERVER="jni ${WEBSERVER}"

diff -ru jakarta-tomcat-connectors-1.2.12-src.orig/jk/native/configure.in
jakarta-tomcat-connectors-1.2.12-src/jk/native/configure.in
--- jakarta-tomcat-connectors-1.2.12-src.orig/jk/native/configure.in   
2005-04-27 10:06:45.000000000 -0500
+++ jakarta-tomcat-connectors-1.2.12-src/jk/native/configure.in 2005-05-11
10:44:16.000000000 -0500
@@ -130,7 +130,7 @@

             ${APXS} -q PREFIX >/dev/null 2>/dev/null || apxs_support=false

-            if ${TEST} "${apxs_support}" = "false" ; then
+            if ${TEST} "${apxs_support:-}x" = "falsex" ; then
                 AC_MSG_RESULT(could not find ${APXS})
                 AC_MSG_ERROR(You must specify a valid --with-apxs path)
             fi
@@ -317,14 +317,14 @@
        APXSCFLAGS="${APXSCFLAGS} ${CFLAGS}"
 fi
 dnl the APXSLDFLAGS is normaly empty but APXSCFLAGS is not.
-if ${TEST} -n "${LDFLAGS}" ; then
+if ${TEST} "${LDFLAGS:-}x" != "x" ; then
        APXSLDFLAGS="-Wl,${LDFLAGS}"
 fi
 AC_SUBST(APXSCFLAGS)
 AC_SUBST(APXSCPPFLAGS)
 AC_SUBST(APXSLDFLAGS)

-if ${TEST} -n "${JK_JNI_WORKER}" ; then
+if ${TEST} "${JK_JNI_WORKER:-}x" != "x" ; then

 WEBSERVER="jni ${WEBSERVER}"

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org