[mapguide-users] Java and Linux
gimbrogno at smartlab
magnitudo9 at email.it
Wed Jun 18 11:05:49 EDT 2008
Hi, new re-compile of mapguide 1.2.0...
After the command "make install" I could see some of these texts:
===========
Libraries have been installed in:
/usr/local/mapguideopensource/webserverextensions/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
======
I edited /etc/ld.so.conf, and I added the directory where the share
libraries are installed but I have not had success with jsp pages :(
Can anyone helps me?
Thanks
gimbrogno @smartlab wrote:
>
> Hi all, thanks for your answers...
>
> First I try the version 2.0.1 of MapGuide, but it doesn't run with jsp
> pages, so I would to try the previous version.
>
> I didn't specify the LD_LIBRARY_PATH during the configure step, but it
> considers the fdo-3.2.3.
>
> Do you think that I must re-compile the suite specifing the path of fdo
> libraries?
>
> Regards, Gianfranco
>
>
>
> gimbrogno @smartlab wrote:
>>
>> 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-tp17916025p17984721.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list