Opened 9 years ago

Last modified 9 years ago

#45789 new defect

mysql-connector-java 5.1.12_0 command execution failed

Reported by: david.tay20@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: mysql-connector-java

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--->  Computing dependencies for mysql-connector-java
--->  Building mysql-connector-java
Error: org.macports.build for port mysql-connector-java returned: command execution failed
Please see the log file for port mysql-connector-java for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_mysql-connector-java/mysql-connector-java/main.log

Attachments (1)

main.log (13.3 KB) - added by david.tay20@… 9 years ago.
Please see the log file for port mysql-connector-java for details

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by david.tay20@…

Attachment: main.log added

Please see the log file for port mysql-connector-java for details

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: mysql-connector-java added

The relevant message in the log seems to be:

:info:build -compiler-check:
:info:build      [echo] This version of MySQL Connector/J requires a compiler from Java-1.4 or Java-1.5 to be used, set your JAVA_HOME property to point to one of these versions of the JDK.
:info:build      [echo]                                                         
:info:build      [echo] Compiling this version also requires Java-6 for compiling the JDBC-4.0 implementation, please set the full path to the javac executable with the property "com.mysql.jdbc.java6.javac"
:info:build      [echo] and the full path to the rt.jar from Java-6 with the property "com.mysql.jdbc.java6.rtjar".
:info:build      [echo]                                                 

This port has no maintainer, so if you can make a patch to fix the problem, let us know.

Note: See TracTickets for help on using tickets.