ports/123000: devel/jude-community need jdk1.4 which can't compil with GCC4.2
Yoshihiko Sarumaru
mistral at imasy.or.jp
Wed Apr 23 16:20:03 UTC 2008
The following reply was made to PR ports/123000; it has been noted by GNATS.
From: Yoshihiko Sarumaru <mistral at imasy.or.jp>
To: bug-followup at FreeBSD.org, cloud at madpowah.org
Cc:
Subject: Re: ports/123000: devel/jude-community need jdk1.4 which can't compil
with GCC4.2
Date: Thu, 24 Apr 2008 01:12:44 +0900
Hi,
I understand jdk14 is not supported on 7 branch or later by your mail.
But I beleive you can still install jude-community with following
command in such environment and it should found you have already installed
jdk1.6.0 and use that.
# make WITHOUT_EXPORT_HTML=true
If it doesn't work for you, could you send me the output of
# make -C /usr/ports/devel/jude-community WITHOUT_EXPORT_HTML=true java-debug
Anyway, I wonder WITHOUT_EXPORT_HTML option should be default if
it can not run under 7 branch... Will it solve your problem?
> .if !defined(WITHOUT_EXPORT_HTML)
> - JAVA_VERSION= 1.4
> + JAVA_VERSION= 1.6
It cannot be changed because Exporting HTML function only works with JDK1.4.
Please take a look at the comment line in Makefile.
> Next it need to modify /usr/local/bin/jude :
> - /usr/local/jdk1.4.0/bin/java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR $1 $2 $3
> + /usr/local/jdk1.6.0/bin/java $JAVA_OPTS -jar $JUDE_HOME/$JUDE_JAR $1 $2 $3
It should be automatically replaced from %%JAVA_HOME%% to the selected
version of JDK on install.
See the last line of files/patch-jude.
Thanks,
More information about the freebsd-ports-bugs
mailing list