Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2012 15:24:47 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        Lev Serebryakov <lev@FreeBSD.org>, freebsd-java@FreeBSD.org
Subject:   Re: java/subversion-java build fails on jikes
Message-ID:  <5072C60F.4070603@FreeBSD.org>
In-Reply-To: <506F4252.8010300@FreeBSD.org>
References:  <506F032A.2040109@FreeBSD.org> <506F4252.8010300@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 05/10/2012 23:25 Jung-uk Kim said the following:
> On 2012-10-05 11:56:26 -0400, Andriy Gapon wrote:
>> ===>  Building for subversion-java-1.7.6 cd
>> /usr/obj/ports/usr/ports/java/subversion-java/work/subversion-1.7.6
>> ;  make javahl /usr/local/bin/jikes -target 1.5 -source 1.5 -d
>> subversion/bindings/javahl/classes -classpath ... 
>> /usr/obj/ports/usr/ports/java/subversion-java/work/subversion-1.7.6/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/Version.java
> 
>>  Error: "-source" only recognizes Java releases 1.3 (JLS 2
>> features) and 1.4 (assert statement). use: jikes [options] [@files]
>> file.java... For more help, try -help or -version. *** 
>> [subversion/bindings/javahl/classes/org/apache/subversion/javahl/ClientException.class]
> 
> 
> Error code 2
> 
>> Not sure how to proceed from here.
> 
> Jikes does not support Java 1.5+.  It seems the configure script is
> not up to date.  Try this:
> 
> --- java/subversion-java/Makefile
> +++ java/subversion-java/Makefile
> @@ -28,7 +28,7 @@
> 
>  .include "${MASTERDIR}/Makefile.common"
> 
> -CONFIGURE_ARGS+=       --enable-javahl --with-jdk=${JAVA_HOME}
> +CONFIGURE_ARGS+=--enable-javahl --with-jdk=${JAVA_HOME} --with-jikes=no
> 
>  do-build:
>         @${MKDIR} ${WRKSRC}/subversion/bindings/java/javahl/classes

Thank you very much!  This worked fine for me.


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5072C60F.4070603>