LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-13-2005, 06:14 PM   #1
bstuart
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
Installing Tomcat 5.5 where did I go WRONG?


I am in the jsvc-src directory.
I run ./configure..... All goes well
It Finishes with

*** Writing output files ***
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makedefs
config.status: native/Makefile
*** All Done ***
Now you can issue "make"

The Tomcat directions say to type make....
That does nothing for me...

I get curious and run ./Makefile

and I get a whole mess of
"command not found"
and a
" no such file or directory"

Where have I gone wrong?

I am running Suse 9.1
 
Old 06-14-2005, 11:12 AM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
I'm a bit confused here. All of the tomcat instructions that I've seen require no configuration or compilation - just placing the jakarta-tomcat directory under (usually) /usr/local/java/ or wherever you want it installed. Which instructions are you using, and where did they come from?

I just downloaded the latest build, 5.5.9, and double-checked this. The instructions in RUNNING.txt are this:
Quote:
(2.1) Download a binary distribution of Tomcat from:

http://jakarta.apache.org/site/binindex.cgi

(2.2) Unpack the binary distribution into a convenient location so that the
distribution resides in its own directory (conventionally named
"jakarta-tomcat-5"). For the purposes of the remainder of this document,
the symbolic name "$CATALINA_HOME" is used to refer to the full
pathname of the release directory.
So yeah, basically...untar the .tar.gz, and copy the entire directory that it untars into into /usr/local/java/ (or wherever)

A good explanation is here: http://phd.netcomp.monash.edu.au/Rob...ingTomcat5.txt although it might be a bit outdated, and you can adjust things as necessary for your system.
 
Old 06-14-2005, 05:48 PM   #3
bstuart
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
So I have no idea what I am talking about...

I am trying to do this part...


5. Create Daemon Startup Binary
====

As "root", I ran the following commands to make jsvc, which allows Tomcat 5 to
be run as a daemon or background thread:

# Needed if you just edited .bash_profile to add CATALINA_HOME
source ~/.bash_profile

cd $CATALINA_HOME/bin
tar xvfz jsvc.tar.gz
cd jsvc-src
autoconf
# I found ./configure did not have execute rights for root.
chmod +711 ./configure
./configure
make
cp jsvc ..
cd ..I am trying to do this part....

The autoconf file is not there and the make file isn't...
 
Old 06-14-2005, 06:28 PM   #4
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
That's really odd, actually.
The sequence of events is basically this - autoconf creates the ./configure script, which generates the Makefile. The tar that I downloaded this morning contained the jsvc.tar.gz file, which (when unzipped) did indeed contain the autoconf script (it will go away after it's run successfully, btw. That might be why you no longer have it). However, you can generate the configure script another way: `sh ./support/buildconf.sh` That should generate an equivalent configure script, which you'll need to chmod +x. You should then be able to run ./configure, and after a successful run of that....well, a Makefile should be present, and you should just be able to run 'make'.

I don't know what else to say, except that with the most recent tomcat distribution, everything checks out...try removing the entire jsvc-src directory, re-untar'ing the jsvc.tar.gz file, and starting from the buildconf.sh stage again?

One last thought - $JAVA_HOME is set correctly for you, right? If not, you'll need to pass options to configure, and the lack of that could be giving some problems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't installing tomcat nukeu666 Linux - General 3 12-21-2005 04:13 PM
installing tomcat on redhat 9 jkmartha Linux - Software 1 04-11-2005 06:59 AM
installing tomcat on linux jkmartha Linux - Newbie 1 04-11-2005 06:32 AM
Installing Tomcat Hiper1 Linux - Newbie 1 03-12-2005 10:07 PM
installing tomcat on redhat 9 rsingh Linux - Newbie 2 10-02-2003 01:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration