Opened 15 years ago
Last modified 15 years ago
#24154 closed defect
Failed to compile xom when installing tomcat6 — at Initial Version
Reported by: | peremskym@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | xom |
Description
I am new to Mac and macports. I tried to install tomcat6 today and got a compilation error when it got to the point of building xom.
MacBook-Pro: $ sudo port install -d tomcat6 ---> Computing dependencies for tomcat6 ---> Building xom 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_xom/work/XOM" && ant jar javadoc -Djaxen.dir=/opt/local/share/java/jaxen.jar " returned error 1 Command output: [javac] if (parent == null) return JaxenConstants.EMPTY_ITERATOR;
[javac] [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:554: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:575: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] if (result == null) return JaxenConstants.EMPTY_ITERATOR; [javac] [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:577: cannot find symbol [javac] symbol : class SingleObjectIterator [javac] location: class nu.xom.JaxenNavigator [javac] return new SingleObjectIterator(result); [javac] [javac] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build/src/nu/xom/JaxenNavigator.java:580: cannot find symbol [javac] symbol : variable JaxenConstants [javac] location: class nu.xom.JaxenNavigator [javac] return JaxenConstants.EMPTY_ITERATOR; [javac] [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 43 errors
BUILD FAILED /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_xom/work/XOM/build.xml:223: Compile failed; see the compiler error output for details.
Total time: 3 seconds
Error: The following dependencies failed to build: jaxen xom saxpath Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output.