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 2002/02/16 06:12:11 UTC

DO NOT REPLY [Bug 6497] New: - webapp/support/install.sh: bad interpreter: Permission denied

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=6497>.
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=6497

webapp/support/install.sh: bad interpreter: Permission denied

           Summary: webapp/support/install.sh: bad interpreter: Permission
                    denied
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Webapp Connector
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: elkner@linofee.org


1) tar xzf jakarta-tomcat-connectors-4.0.2-01-src.tar.gz; cd webapp
2) sh support/buildconf.sh
3) configure
4) make
     is broken because support/install.sh has 0644 permission, only
:
...
/export/scratch/tmp/jakarta-tomcat-connectors-4.0.2-01-src/webapp/apr/libtool:
/export/scratch/tmp/jakarta-tomcat-connectors-4.0.2-01-src/webapp/support/install.sh:
bad interpreter: Permission denied
make[2]: ***
[/export/scratch/tmp/jakarta-tomcat-connectors-4.0.2-01-src/webapp/lib/libwebapp.a]
Error 126
make[2]: Leaving directory
`/export/scratch/tmp/jakarta-tomcat-connectors-4.0.2-01-src/webapp/lib'
make[1]: Exiting directory "lib"
make[1]: *** [template] Error 2
...

So including it with permission 0755 in the archive or appliying the following
patch would be nice:


--- webapp/support/buildconf.sh.orig    Wed Feb 13 18:53:58 2002
+++ webapp/support/buildconf.sh Sat Feb 16 05:49:41 2002
@@ -83,6 +83,14 @@
     echo "Then remember to run ./configure script including the command line"
     echo "option \"--with-apr=[path to APR sources]\""
 fi
+
+EXECS="support/install.sh support/mkinstalldirs.sh"
+for f in $EXECS; do
+       if [ ! -x $f ]; then
+               chmod a+x $f
+       fi
+done
+
 echo "--- Creating WebApp \"configure\" script"
 echo "Creating configure ..."
 autoconf

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>