[mapguide-users] Java and Linux

Craig Miller craig.miller at spatialminds.com
Tue Jun 17 18:01:12 EDT 2008


Did you set your LD_LIBRARY_PATH to include the directories with the
mapguide libs?

Craig


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of gimbrogno
@smartlab
Sent: Tuesday, June 17, 2008 8:28 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Java and Linux


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.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.3.0/1505 - Release Date: 6/16/2008
7:20 AM
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 270.3.0/1505 - Release Date: 6/16/2008
7:20 AM
 



More information about the mapguide-users mailing list