[mapguide-users] Java and Linux

Rock Beans rockbeans at gmail.com
Wed Jun 18 14:45:18 EDT 2008


THis might not help but this is worked for me on a bare system with nothing
installed including desktop environment.


*Needed Packages:*
yum grouplist
yum groupinstall mysql
yum install unixODBC unixODBC-devel libjpeg-devel mysql-server
chkconfig mysqld on
service mysqld start



*Building and Installing Required Components (installer)*
tar zxf mapguideaptinstaller-*.tar.gz
cd LinuxApt
./build_apt.sh --port 80



*Building and Installing FDO*
find . -maxdepth 1 -name "fdo*.tar.gz" -exec tar zxf {} ";"
cd OpenSource_FDO
nano -w setenvironment.sh
source ./setenvironment.sh
./build_thirdparty.sh
./build_linux.sh


*Building OEM Components in the MapGuide Distribution*
tar zxf mapguide-*.tar.gz
cd mapguide-
./build_oem.sh

*Building and Installing the Default Configuration*
aclocal
libtoolize --copy --force
automake --add-missing --copy
autoconf
./configure --enable-optimized
make
make install

On Tue, Jun 17, 2008 at 10:27 AM, gimbrogno @smartlab <magnitudo9 at email.it>
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-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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080618/24973324/attachment.html


More information about the mapguide-users mailing list