You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by h iroshan <ir...@gmail.com> on 2009/02/28 21:09:34 UTC

error while building tomcat 5.5

Dear All,

I tried to build the Tomcat 5.5 source with ant 1.7 and SVN 1.5 . while
building I faced with following error .

 BUILD FAILED
/home/iroshan/Documents/sources/tomcatBuild/build.xml:67: The following
error occurred while executing this line:
/home/iroshan/Documents/sources/tomcatBuild/build/build.xml:1980: The
following error occurred while executing this line:
/home/iroshan/Documents/sources/tomcatBuild/build/build.xml:2031: Can't get
http://tomcat.apache.org/dev/dist/tomcat-connectors/native/tomcat-native-1.1.12-src.tar.gzto
/usr/share/java/tomcat-native-1.1.12/tomcat-native.tar.gz

please can any body solve me this problem.

Best Regards,
H Iroshan

Re: error while building tomcat 5.5

Posted by Alan Chaney <al...@compulsivecreative.com>.
Do you have write permission to the following directory as the user you 
are using to do the build?

You may have to 'su' or 'sudo' or change the access permissions on 
/usr/share/java to allow the build script to write to it.

Regards

Alan Chaney

h iroshan wrote:
> /usr/share/java/tomcat-native-1.1.12/tomcat-native.tar.gz
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: error while building tomcat 5.5

Posted by Markus Schönhaber <to...@list-post.mks-mail.de>.
h iroshan:

> I tried to build the Tomcat 5.5 source with ant 1.7 and SVN 1.5 . while
> building I faced with following error .
> 
>  BUILD FAILED
> /home/iroshan/Documents/sources/tomcatBuild/build.xml:67: The following
> error occurred while executing this line:
> /home/iroshan/Documents/sources/tomcatBuild/build/build.xml:1980: The
> following error occurred while executing this line:
> /home/iroshan/Documents/sources/tomcatBuild/build/build.xml:2031: Can't get
> http://tomcat.apache.org/dev/dist/tomcat-connectors/native/tomcat-native-1.1.12-src.tar.gzto
> /usr/share/java/tomcat-native-1.1.12/tomcat-native.tar.gz

Open ${tomcat.source}/build/build.properties.default, go to line 142 and
change the three following lines that they look like this:

# ----- Tomcat native library -----
tomcat-native.home=${base.path}/tomcat-native-1.1.16
tomcat-native.tar.gz=${tomcat-native.home}/tomcat-native.tar.gz
tomcat-native.loc=${base-tomcat.loc}/tomcat-connectors/native/source/1.1.16/tomcat-native-1.1.16-src.tar.gz

Regards
  mks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org