Jump to content
3 posts in this topic

Recommended Posts

Hello Experts,

 

I have a typical problem while trying to install tomcat5 using the macports.

 

I use the command : sudo port install tomcat5

 

The installation is successful for a period of time, but it gets stuck when installing struts. It seems to not find the struts-1.2.7-src.tar.gz files.

 

 

---> Fetching struts

---> Attempting to fetch struts-1.2.7-src.tar.gz from http://www.apache.org/dist/struts/source/

---> Attempting to fetch struts-1.2.7-src.tar.gz from http://apache.planetmirror.com.au/dist/struts/source/

---> Attempting to fetch struts-1.2.7-src.tar.gz from ftp://ftp.planetmirror.com/pub/apache/dist/struts/source/

---> Attempting to fetch struts-1.2.7-src.tar.gz from ftp://ftp.is.co.za/Apache/dist/struts/source/

---> Attempting to fetch struts-1.2.7-src.tar.gz from ftp://ftp.infoscience.co.jp/pub/net/apach.../struts/source/

---> Attempting to fetch struts-1.2.7-src.tar.gz from http://svn.macports.org/repository/macports/distfiles/struts

---> Attempting to fetch struts-1.2.7-src.tar.gz from http://svn.macports.org/repository/macport...tfiles/general/

---> Attempting to fetch struts-1.2.7-src.tar.gz from http://svn.macports.org/repository/macports/downloads/struts

Error: Target org.macports.fetch returned: fetch failed

Error: The following dependencies failed to build: struts

Error: Status 1 encountered during processing.

 

 

 

Any suggestions/advice on a workaround for this?

 

Many thanks!

Sands

out of interest, why do you need to install it via macports? Mac OS has java5 built in, so you can just download the unix distributions and run them... cant you? At least, I know for a fact I have Tomcat running on my MBP, and I dont think I had to do anything 'special'...

 

also, surely Struts isnt a core part of Tomcat, is it? (It might be, im a little behind the times).

I am actually very new to the mac environment. Was following the instruction in one of the manuals for installing tomcat 5 under /opt/local.

 

By the way, I just tried installing tomcat using macports and I find that the issue is resolved!

 

Cheers!

 

 

 

out of interest, why do you need to install it via macports? Mac OS has java5 built in, so you can just download the unix distributions and run them... cant you? At least, I know for a fact I have Tomcat running on my MBP, and I dont think I had to do anything 'special'...

 

also, surely Struts isnt a core part of Tomcat, is it? (It might be, im a little behind the times).

×
×
  • Create New...