Error while installing Tomcat5 using macports
sandystorm
sandeep.nair at streamezzo.com
Mon Feb 4 19:20:51 PST 2008
Dear all,
Any solution/suggestion/workaround to this issue will be much appreciated as
I am in the midst of a very tight timeline:
While installing tomcat5 using macports, I get this error. Please find below
the error log:
administrator$ sudo port install tomcat5
---> Building commons-logging with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-logging/work/commons-logging-1.1-src"
&& ant all -Dlog4j12.jar=/opt/local/share/java/jakarta-log4j.jar
-Dlogkit.jar=NONE -Davalon-framework.jar=NONE
-Dservletapi.jar=/opt/local/share/java/servlet23-api.jar " returned error 1
Command output: [javac] assertTrue(weakHashtable.containsKey(new
Long(2)));
[javac] ^
[javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-logging/work/commons-logging-1.1-src/src/test/org/apache/commons/logging/impl/WeakHashtableTest.java:74:
cannot find symbol
[javac] symbol : method assertTrue(boolean)
[javac] location: class
org.apache.commons.logging.impl.WeakHashtableTest
[javac] assertTrue(weakHashtable.containsKey(new Long(3)));
[javac] ^
[javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-logging/work/commons-logging-1.1-src/src/test/org/apache/commons/logging/impl/WeakHashtableTest.java:75:
cannot find symbol
[javac] symbol : method assertFalse(boolean)
[javac] location: class
org.apache.commons.logging.impl.WeakHashtableTest
[javac] assertFalse(weakHashtable.containsKey(new Long(100)));
[javac] ^
[javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-logging/work/commons-logging-1.1-src/src/test/org/apache/commons/logging/impl/WeakHashtableTest.java:76:
cannot find symbol
[javac] symbol : method assertFalse(boolean)
[javac] location: class
org.apache.commons.logging.impl.WeakHashtableTest
[javac] assertFalse(weakHashtable.containsKey(new Long(200)));
[javac] ^
[javac]
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-logging/work/commons-logging-1.1-src/src/test/org/apache/commons/logging/impl/WeakHashtableTest.java:77:
cannot find symbol
[javac] symbol : method assertFalse(boolean)
[javac] location: class
org.apache.commons.logging.impl.WeakHashtableTest
[javac] assertFalse(weakHashtable.containsKey(new Long(300)));
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors
BUILD FAILED
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_commons-logging/work/commons-logging-1.1-src/build.xml:558:
Compile failed; see the compiler error output for details.
Total time: 1 second
Error: The following dependencies failed to build: commons-beanutils
commons-logging commons-daemon commons-dbcp commons-pool commons-digester
commons-el servlet24-api commons-fileupload commons-httpclient commons-codec
commons-io commons-launcher commons-modeler mx4j jakarta-bcel jakarta-regexp
jakarta-taglibs-standard-11 xalanj xercesj jaxen dom4j jdom xom saxpath
Error: Status 1 encountered during processing.
What could be the reason for this error?
Thanks in advance.
Sandeep
--
View this message in context: http://www.nabble.com/Error-while-installing-Tomcat5-using-macports-tp15261125p15261125.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.
More information about the macports-users
mailing list