How to install Tomcat 7

Andreas Junius andreas.junius at gmail.com
Mon Feb 21 09:15:26 UTC 2011


Hi All,

This is my first post to this list, so I hope I get it right. I'm new to 
both Unix and freeBSD and I've been doing my first steps for three days 
now. I was able to install Java and Tomcat 6, because these products are 
part of the ports directory. However I'd prefer Tomcat 7, so I got the 
tomcat7.tar.gz and extracted the files to /usr/ports/www/tomcat7.

The I tried the following and got the message:

# pwd
/usr/ports/www/tomcat7
# make install clean
===>  Vulnerability check disabled, database not found
===>  License accepted by the user
=> apache-tomcat-7.0.6.tar.gz is not in /usr/ports/www/tomcat7/distinfo.
=> Either /usr/ports/www/tomcat7/distinfo is out of date, or
=> apache-tomcat-7.0.6.tar.gz is spelled incorrectly.
*** Error code 1

Stop in /usr/ports/www/tomcat7.


To be honest, I don't understand that message. That file 
apache-tomcat-7.0.6.tar.gz can't be in /usr/ports/www/tomcat7/distinfo, 
because distinfo is a file and not a directory. What went wrong? I got 
the missing file, however where is it supposed to be?

Thanks for help,

	AndyJ


More information about the freebsd-questions mailing list