[MacPorts] #14306: jython won't build because it wants Java 1.1
MacPorts
trac at macosforge.org
Wed Feb 13 10:35:56 PST 2008
#14306: jython won't build because it wants Java 1.1
---------------------------------------------+------------------------------
Reporter: pydave at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Keywords: java jython build error version |
---------------------------------------------+------------------------------
I tried to install Jython and it fails because it wants Java 1.1, but I
use Java 1.5
Jython has only the universal variant, is there a way for me to tell port
to build with Java 1.5?
{{{
$ which java
/usr/bin/java
$ which javac
/usr/bin/javac
$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)
$ javac -version
javac 1.5.0_13
...
}}}
{{{
$ sudo port install jython
...
---> Building jython
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_jython/work/jython-2.1"
&& ant dist || ant jar " returned error 1
Command output:
init:
[echo] --- Build environment for jython ---
[echo] --- Flags (Note: If the {property name} is displayed,
[echo] --- then the component is not present)
[echo] --- Optional Libraries ---
[echo] java2 coll = true
[echo] servlet = ${servlet.present}
[echo] readline = ${readline.present}
[echo] oracle = ${oracle.present}
[echo] informix = ${informix.present}
[echo] mysql = ${mysql.present}
[echo] postgresql = ${postgresql.present}
[echo] jndi = true
[echo] jdbc = true
[echo] jdbc3.0 = true
prepare:
parser:
compile:
[javac] Compiling 302 source files to
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_jython/work/jython-2.1/build
[javac] javac: target release 1.1 conflicts with default source
release 1.5
BUILD FAILED
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_jython/work/jython-2.1/build.xml:138:
Compile failed; see the compiler error output for details.
}}}
I initially tried this in MacPorts 1.520, but then ran selfupdate to 1.600
and had the same result.
I have: iBook G4 1.33 GHz - OSX 10.4.11
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14306>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list