Opened 12 years ago

Closed 12 years ago

#35571 closed defect (invalid)

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 (1)

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

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by hoyomi@…

Attachment: main.log added

Error log for building jakarta-taglibs-standard-11

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: jakarta-taglibs-standard-11 tomcat6 removed

It looks like you don't have Java installed.

comment:2 in reply to:  1 Changed 12 years 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 Changed 12 years ago by mf2k (Frank Schima)

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 12 years 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 12 years ago by hoyomi@…

Cc: hoyomi@… added

Cc Me!

comment:6 Changed 12 years ago by hoyomi@…

Cc: hoyomi@… removed

Cc Me!

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

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 12 years 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 12 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.