Opened 17 years ago

Closed 17 years ago

#2288 closed defect (fixed)

java mapscript link command fails with "cannot find -lmap"

Reported by: nerdboy Owned by: hobu
Priority: normal Milestone: 5.0 release
Component: MapScript-Python Version: 4.10
Severity: normal Keywords:
Cc:

Description

I was updating the Gentoo ebuild to the current 4.10.3 release (from 4.10.0) and hit the above error. I changed it (in mapscript/java/Makefile) to "lmapserver" instead, and it appears to build and run fine with the Sun 1.5 JDK (where the previous version of the ebuild was pegged at 1.4). I looked/searched through the mapserver docs, but couldn't seem to find anything that specified a Java version dependency for recent versions of mapserver, so I'm not sure if the 1.5 JDK is recommended or not.

I currently have it running on x86 and the jBox addition to the Itasca demo seems to work fine with the above setup; I also built it successfully on amd64 (with some additional gcc warnings) but haven't yet tried running it on the latter platform. I may get around to trying it on ppc as well...

Also, the Python README still mentions copying the "modern/*" python files, which I guess have been removed; this doesn't cause a build error, but it seems the README wasn't updated.

Change History (3)

comment:1 by dmorissette, 17 years ago

Component: Build ProblemsMapScript-Python
Milestone: 5.0 release
Owner: changed from mapserverbugs to hobu

The -lmap issue was found and fixed *after* the 4.10.3 release in r6702 (ticket #2150).

With respect to the python README update, I'll reassign to the owner of this component and this will probably be fixed only in the 5.0 release since we do not plan any more 4.10.x releases.

comment:2 by hobu, 17 years ago

updated the python readme in r6787

Java 1.5 should be no problem with MapScript.

comment:3 by hobu, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.