[mapserver-dev] Building Java-Mapscript with Java >1.5?

Umberto Nicoletti umberto.nicoletti at gmail.com
Fri Feb 24 03:25:29 EST 2012


I think it's a package problem and specifically it's

/usr/lib/rpm/brp-check-bytecode-version

which is triggering the fail. Is there a java-specific param in the spec
file?
I can take a look at the spec file if you want.

Umberto

On Fri, Feb 24, 2012 at 8:46 AM, Stephan Holl <stephan.holl at intevation.de>wrote:

> Hello Umberto,
>
> Umberto Nicoletti <umberto.nicoletti at gmail.com>, [20120223 - 21:24:46]
>
> > Did check and I was able to successfully build svn trunk with jdk
> > 1.6.29. Can you give more details or logs?
>
> Good to know.
>
> I placed the logs here:
> ftp://ftp.intevation.de/users/stephan/mapserver/javac-1.6-errors.txt
>
> It uses openjdk 1.6.x for building. The build-process seems fine, what
> I am unsure about is the error-message. Is this a mapserver-specific
> error-message or a packaging-problem.
>
> Best regards
>
>        Stephan
>
>
> > >
> > >> Hello devs,
> > >>
> > >> using OpenSuse-Buildservice for building MapServer 6.0.1 on
> > >> SLES_11-SP1, the build process outputs the following:
> > >>
> > >>  ERROR: the files below contain java bytecode for something later
> > >> than java 1.5,
> > >>  ERROR: please set the javac target to 1.5 or lower.
> > >>
> > >> Does that mean, that java 1.5 or lower is required for java
> > >> mapscript?
> > >>
> > >>
> > >> Not that I know. I will try to build svn trunk with 1.6 today and
> > >> let you
> > > know.
> > >
> > > Umberto
> > >
> > >
> > >
> > >> TIA
> > >>
> > >>        Stephan
> > >>
> > >> --
> > >> Stephan Holl <stephan.holl at intevation.de> | Tel.: +49 (0)541-33
> > >> 508 3663 Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG
> > >> Osnabrück - HR B 18998 Geschäftsführer:  Frank Koormann, Bernhard
> > >> Reiter, Dr. Jan-Oliver Wagner
> > >>
> > >
>
>
>
> --
> Stephan Holl <stephan.holl at intevation.de> | Tel.: +49 (0)541-33 508 3663
> Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
> Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120224/ee450776/attachment.html


More information about the mapserver-dev mailing list