error installing tomcat6

Puneet Kishor punk.kish at gmail.com
Fri Sep 16 09:26:28 PDT 2011


Hi, I tried `sudo port install tomcat6` on a Lion desktop and got the following

--->  Verifying checksum(s) for commons-fileupload
--->  Extracting commons-fileupload
--->  Configuring commons-fileupload
--->  Building commons-fileupload
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install commons-fileupload
Log for commons-fileupload is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/main.log
Error: The following dependencies were not installed: commons-fileupload commons-httpclient commons-codec commons-io commons-launcher commons-modeler mx4j jakarta-bcel jakarta-regexp jakarta-taglibs-standard-11 xalanj xercesj saxpath
Error: Status 1 encountered during processing.

Looking at the log

~$tail -20 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/main.log
:info:build init:
:info:build 
:info:build BUILD FAILED
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src/build.xml:54: Directory /Volumes/roller/Users/punkish/.maven/repository creation was not successful for an unknown reason
:info:build 
:info:build Total time: 0 seconds
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/work/commons-fileupload-1.2.1-src" && ant dist -Dfinal.name=commons-fileupload -Dnoget=true " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for commons-fileupload): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install commons-fileupload
:debug:build could not read "/opt/local/share/java/commons-el.jar": no such file or directory
    while executing
"file type $file"
:notice:build Log for commons-fileupload is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_commons-fileupload/commons-fileupload/main.log
p



Hopefully you all have some suggestions for me.


More information about the macports-users mailing list