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

Stephan Holl stephan.holl at intevation.de
Fri Feb 24 04:10:08 EST 2012


Hello Umberto,

Umberto Nicoletti <umberto.nicoletti at gmail.com>, [20120224 - 09:25:29]

> 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?

Not that I know of. 

> I can take a look at the spec file if you want.

You can find it here:
https://build.opensuse.org/package/view_file?file=mapserver.spec&package=mapserver&project=Application%3AGeo&rev=a6a132713f06dd4c534c92cacefbd59a

Thanks for looking into this.

Best regards

	Stephan

> 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
> >



-- 
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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120224/4d890856/signature.bin


More information about the mapserver-dev mailing list