tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6816] New: - build-unix.sh doesn't work on most standard Unixes
Date Sat, 02 Mar 2002 18:03:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6816>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6816

build-unix.sh doesn't work on most standard Unixes

           Summary: build-unix.sh doesn't work on most standard Unixes
           Product: Tomcat 3
           Version: 3.3 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ben@algroup.co.uk


a weird option, -printf, is used. This diff makes it far more portable:

--- build-unix.sh.orig  Sat Mar  2 17:21:03 2002
+++ build-unix.sh       Sat Mar  2 17:25:05 2002
@@ -37,7 +37,7 @@
 # Figure out INCLUDE directories
 
 # use "find" to pick the right include directories for current machine
-JAVA_INCLUDE="`find ${JAVA_HOME}/include -type d -printf \"-I %p \"`" ||  echo 
"find failed, edit build-unix.sh source to fix"
+JAVA_INCLUDE="`find ${JAVA_HOME}/include -type d | sed 's/^/-I /g'`" ||  echo 
"find failed, edit build-unix.sh source to fix"
 
 # if "find" fails, use (uncomment) the following instead, substituting your
 # platform for "linux"

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


Mime
View raw message