New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35571 (closed defect: invalid)

Opened 9 months ago

Last modified 8 months ago

jakarta-taglibs-standard-11 build failed on mountain lion

Reported by: hoyomi@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: jakarta-taglibs-standard-11

Description

This happened when I was trying to install tomcat6.

Error message:

--->  Computing dependencies for tomcat6
--->  Dependencies to be installed: jakarta-taglibs-standard-11 saxpath
--->  Building jakarta-taglibs-standard-11
Error: org.macports.build for port jakarta-taglibs-standard-11 returned: command execution failed
Error: Failed to install jakarta-taglibs-standard-11
Please see the log file for port jakarta-taglibs-standard-11 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_jakarta-taglibs-standard-11/jakarta-taglibs-standard-11/main.log
Error: The following dependencies were not installed: jakarta-taglibs-standard-11 saxpath
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port tomcat6 failed

Log file in attachment

Attachments

main.log (12.6 KB) - added by hoyomi@… 9 months ago.
Error log for building jakarta-taglibs-standard-11

Change History

Changed 9 months ago by hoyomi@…

Error log for building jakarta-taglibs-standard-11

comment:1 follow-up: ↓ 2 Changed 9 months ago by macsforever2000@…

  • Keywords jakarta-taglibs-standard-11, tomcat6 removed

It looks like you don't have Java installed.

comment:2 in reply to: ↑ 1 Changed 9 months ago by hoyomi@…

Replying to macsforever2000@…:

It looks like you don't have Java installed.

I don't understand. Doesn't Java come with Mountain Lion? I noticed that Java related path is a little bit different in Mountain Lion. Is there any work around?

comment:3 follow-up: ↓ 4 Changed 9 months ago by macsforever2000@…

No it does not come automatically with Mountain Lion, or Lion for that matter. Can you download it for Mountain Lion and let us know it works?

comment:4 in reply to: ↑ 3 Changed 9 months ago by hoyomi@…

Replying to macsforever2000@…:

No it does not come automatically with Mountain Lion, or Lion for that matter. Can you download it for Mountain Lion and let us know it works?

Before I do as you suggested, I tried "java -version" in terminal. It shows

java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-12A269)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

Anyway, I downloaded the package from the link you provided. "java -version" shows

java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)

But tomcat6 installation still stuck at jakarta-taglibs-standard-11 build failure. Error message is the same as the attachment before.

comment:5 Changed 9 months ago by hoyomi@…

  • Cc hoyomi@… added

Cc Me!

comment:6 Changed 9 months ago by hoyomi@…

  • Cc hoyomi@… removed

Cc Me!

comment:7 follow-up: ↓ 8 Changed 9 months ago by ryandesign@…

Since the log you attached is not from a clean build attempt, please "sudo port clean jakarta-taglibs-standard-11", try again, and attach the new main.log.

comment:8 in reply to: ↑ 7 Changed 9 months ago by hoyomi@…

I tried "sudo port clean all" before your reply. It didn't work.

Then I installed java developer package and did a port clean again. Now everything goes through. Tomcat6 was installed correctly.

Thank you all for your helps and tips. I appreciate that.

comment:9 Changed 8 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.