RE: Apache Tomcat 5.5 install issues.
Hi, Kristian Thanks for your help, >>(a) You don't have a JDK installed but just a JRE which [CODE] [EMAIL PROTECTED] apache-tomcat-5.5.23> ls -a .. . apache-tomcat-5.5.23 jdk1.5.0_12 jre1.5.0_12 .. apache-tomcat-5.5.23.tar.gz jdk-1_5_0_12-linux-i586.bin jre-1_5_0_12-linux-i586.bin [EMAIL PROTECTED] apache-tomcat-5.5.23> rpm -qa | grep jdk [EMAIL PROTECTED] apache-tomcat-5.5.23> rpm -qa | grep jre [EMAIL PROTECTED] apache-tomcat-5.5.23> [/CODE] It seems that I've not install jdk&jre, but actually I just installed them by their manual (such as http://java.sun.com/j2se/1.5.0/install-linux.html). >> which java >> which javac [CODE] [EMAIL PROTECTED] apache-tomcat-5.5.23> which java /usr/bin/which: no java in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/ bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_07/bin:/var/www/tomcat/bin:/usr/X1 1R6/bin:/root/bin) [EMAIL PROTECTED] apache-tomcat-5.5.23> which javac /usr/bin/which: no javac in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/ bin:/usr/sbin:/usr/bin:/usr/java/jdk1.5.0_07/bin:/var/www/tomcat/bin:/usr/X1 1R6/bin:/root/bin) [/CODE] It really seems that I've not successfully installed them, but how can I? Thanks and regards, -Original Message- From: Kristian Rink [mailto:[EMAIL PROTECTED] Sent: 2007?8?3? 16:30 To: users@tomcat.apache.org Subject: Re: Apache Tomcat 5.5 install issues. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William; ["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007 16:19:17 +0800] > *** Host support *** > checking C flags dependant on host system type... ok > *** Java compilation tools *** > checking for javac... NONE > checking for javac... NONE > configure: error: javac not found There could be two things causing this issue: (a) You don't have a JDK installed but just a JRE which, well, just provides the features required to run Java application but actually lacks everything required to build Java apps from source. Solution would be to install an up-to-date JDK. (b) you don't have your PATH set up so your shell can't find javac. To set this right, best is putting something like this to your shell configuration file: export JAVA_HOME=/path/to/your/jdk export PATH=$JAVA_HOME/bin:$PATH (assuming a bash-like shell). By the way you can check pretty well how things are by trying to manually entering "java" or "javac" in your terminal, or by using which java which javac to locate where these friends are. Maybe, however, you'll be better / quicker off installing a pre-built tomcat binary. :) Cheers, Kristian - -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGsueWcxBAPOA1m6wRAjF9AJ92sDDUMX4+rLplBn7GNtxvS2j2JQCdE4yk Psy9OUqGng9xy3pXOdKFaVM= =woaR -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache Tomcat 5.5 install issues.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William; ["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007 16:19:17 +0800] > *** Host support *** > checking C flags dependant on host system type... ok > *** Java compilation tools *** > checking for javac... NONE > checking for javac... NONE > configure: error: javac not found There could be two things causing this issue: (a) You don't have a JDK installed but just a JRE which, well, just provides the features required to run Java application but actually lacks everything required to build Java apps from source. Solution would be to install an up-to-date JDK. (b) you don't have your PATH set up so your shell can't find javac. To set this right, best is putting something like this to your shell configuration file: export JAVA_HOME=/path/to/your/jdk export PATH=$JAVA_HOME/bin:$PATH (assuming a bash-like shell). By the way you can check pretty well how things are by trying to manually entering "java" or "javac" in your terminal, or by using which java which javac to locate where these friends are. Maybe, however, you'll be better / quicker off installing a pre-built tomcat binary. :) Cheers, Kristian - -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGsueWcxBAPOA1m6wRAjF9AJ92sDDUMX4+rLplBn7GNtxvS2j2JQCdE4yk Psy9OUqGng9xy3pXOdKFaVM= =woaR -END PGP SIGNATURE-
RE: Apache Tomcat 5.5 install issues.
Kristian: Thank you for your reply. I did as you said, got following info: [CODE] [EMAIL PROTECTED] jsvc-src> autoconf [EMAIL PROTECTED] jsvc-src> sh ./configure *** Current host *** checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking cached host system type... ok *** C-Language compilation tools *** checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib *** Host support *** checking C flags dependant on host system type... ok *** Java compilation tools *** checking for javac... NONE checking for javac... NONE configure: error: javac not found [EMAIL PROTECTED] jsvc-src> [/CODE] I wander if above info maybe something error, for somebody has installed tomcat some early time on this pc but failed. Br, william -Original Message- From: Kristian Rink [mailto:[EMAIL PROTECTED] Sent: 2007?8?3? 16:08 To: users@tomcat.apache.org Subject: Re: Apache Tomcat 5.5 install issues. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William; ["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007 15:43:18 +0800] ... > [EMAIL PROTECTED] bin> cd jsvc-src/ > > [EMAIL PROTECTED] jsvc-src> autoconf > > [EMAIL PROTECTED] jsvc-src> ./configure > > -bash: ./configure: Permission denied First bet would be that configure is not actually marked as executable, try either sh ./configure or do a chmod u+x configure prior to running ./configure to move on. Cheers, Kristian - -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGsuKBcxBAPOA1m6wRApH4AJ4+ox35fpsgMPBvC3e+pKMcWUB9PgCgjn3I ATlUyJUqLeO4Xv074eTo59Y= =7mGT -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apache Tomcat 5.5 install issues.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 William; ["William Rui" <[EMAIL PROTECTED]> @ Fri, 3 Aug 2007 15:43:18 +0800] ... > [EMAIL PROTECTED] bin> cd jsvc-src/ > > [EMAIL PROTECTED] jsvc-src> autoconf > > [EMAIL PROTECTED] jsvc-src> ./configure > > -bash: ./configure: Permission denied First bet would be that configure is not actually marked as executable, try either sh ./configure or do a chmod u+x configure prior to running ./configure to move on. Cheers, Kristian - -- Kristian Rink * http://zimmer428.net * http://flickr.com/photos/z428/ jab: [EMAIL PROTECTED] * icq: 48874445 * fon: ++49 176 2447 2771 "One dreaming alone, it will be only a dream; many dreaming together is the beginning of a new reality." (Hundertwasser) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGsuKBcxBAPOA1m6wRApH4AJ4+ox35fpsgMPBvC3e+pKMcWUB9PgCgjn3I ATlUyJUqLeO4Xv074eTo59Y= =7mGT -END PGP SIGNATURE-
Apache Tomcat 5.5 install issues.
Hi, all During the process of installing Apache Tomcat 5.5 on redhat 9, pop following error: Code: [EMAIL PROTECTED] bin> cd jsvc-src/ [EMAIL PROTECTED] jsvc-src> autoconf [EMAIL PROTECTED] jsvc-src> ./configure -bash: ./configure: Permission denied It should be following as the instruction (http://tomcat.apache.org/tomcat-5.5-doc/setup.html): cd $CATALINA_HOME/bin tar xvfz jsvc.tar.gz cd jsvc-src autoconf ./configure make cp jsvc .. cd .. Any suggestion is highly appreciated! Best regards, William