[mapguide-users] Java and Linux

gimbrogno at smartlab magnitudo9 at email.it
Tue Jun 17 11:27:30 EDT 2008


Hi all,
excuse me for my continuos requests, but I'm still trying to solve my
problems with MapGuide on Linux and Java example.

I'll try to describe all steps I've covered, just to be sure I'm not leaving
anything behind and doing nothing wrong.

I've compiled and tryied both the 2.0.1 and 1.2 releases without success,
it's going to get frustrating as all my day is spent compiling and trying to
figure out what's wrong, while I can read on this list you all have the
things up and running smoothly... please, help me exit the tunnel! :-P

Well, what I've done is compile the entire MapGuide project with some
modifications to Makefiles as they were not working (missing libraries,
wrong gcc as the one I was using didn't support march-i386 and stuff like
this) on my Centos 5 server.

I've managed to compile the entire suite and I'm actually able to use the
PHP ajax viewer example without any problem, but when it comes to Java
viewer I'm facing some strange linkage errors regarding a missing
SWIGMgSerializableToMgGuardDisposable native function.

I've gone deeper on the problem and I finally understood the Java API is
practically generated through SWIG from C++ code and I'm wondering if that
generation process could have produced any nonworking code.

So, my qyestions are:
 - should I regenerate the java api through SWIG to be sure the code was
generated correctly?
 - should I try to generate the java library using the latest version of
SWIG?
 - should I tell my boss we can't use the java library at all?
 - in case the first two questions get a positive answer can someone help me
pointing to some documentation for the generation process regarding the
MapGuide code (which sources should I use as input and stuff like that)?

Thank you all guys!
-- 
View this message in context: http://www.nabble.com/Java-and-Linux-tp17916025p17916025.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list