[mapguide-users] mapguide install on FC4.

Ernesto Vega ernesvega at gmail.com
Tue Oct 3 12:14:24 EDT 2006


Hi Alba

I've had some problems trying to build mapguide OS in my FC4 box too.
I've read all posts and updated gcc to gcc 4.0.2. Also I had installed
JAVA from the distribution, but I'm not sure what caused the problem.
I removed it from my system. I'm looking forward to see if that was
the problem ( I just downloaded the latest java from java.sun.com and
I just started working with it)

The problem is that the "make check" process FAIL with the following message:

----------------
GDAL_DATA=/software/mapas/src/mapguide-1.0.1/Oem/gdal-1.3.0/data
PROJ_LIB=/software/mapas/src/mapguide-1.0.1/Oem/proj-4.4.9/nad
/software/mapas/src/mapguide-1.0.1/Server/src/Core/.libs/lt-mgserver:
error while loading shared libraries:
/software/mapas/src/mapguide-1.0.1/Common/Stylization/.libs/libMgStylization.so.7:
cannot restore segment prot after reloc: Permission denied
FAIL: unittest.sh
---------------

That did not hurt my hope in the system and I decided to go on and did
the "make install"

Everything seems to be OK but when i star the mgserver it doesn't work properly.

Any ideas ???





On 10/3/06, alba <a.penitente at gepaspa.com> wrote:
>
> Hi Nick
>
> also I had the same problems, but I have installed gcc 4.0.2 and not gcc
> 4.0.0 of FC4.
> now would want to ask I one what you?
> which are the steps that you have executed in order to install FDO 3.1  and
> to make the date test?
> thank you
> Alba
>
>
> Nick Sadowy wrote:
> >
> > Hi All.
> > I am having a heck of a time getting mapguide to compile all the way
> > through.  I have been able to overcome some hurdles by making the
> > individual packages that failed, but I haven't had any luck getting over
> > this latest issue:
> >
> > During the make, I am getting the following error:
> > Making all in Service
> > make[2]: Entering directory `/usr/local/src/mapguide-1.0.1/Common/Service'
> > /bin/sh ../../libtool --tag=CXX --mode=link g++  -O2 -g -pipe -march=i386
> > -mcpu=i686 -fno-use-cxa-atexit -fexceptions   -o libMgCommon.la -rpath
> > /usr/local/mapguideopensource/lib -version-info 7:0:0
> > -L../../Oem/dbxml-2.2.13/install/lib -L../../Common/CoordinateSystem
> > ServiceControllerBuild.lo ServiceCoordinateSystemBuild.lo
> > ServiceDataBuild.lo ServiceExceptionBuild.lo ServiceGeometryBuild.lo
> > ServiceMapLayerBuild.lo ServiceNetBuild.lo ServiceServicesBuild.lo
> > ServiceSystemBuild.lo ServiceUtilBuild.lo -lxerces-c -lMgCoordinateSystem
> > ../../Oem/geos-2.2.0/source/geom/.libs/libgeos.a
> > ../Security/libMgSecurity.a
> >
> > *** Warning: Linking the shared library libMgCommon.la against the
> > *** static library ../../Oem/geos-2.2.0/source/geom/.libs/libgeos.a is not
> > portable!
> >
> > *** Warning: Linking the shared library libMgCommon.la against the
> > *** static library ../Security/libMgSecurity.a is not portable!
> > g++ -shared -nostdlib /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../crti.o
> > /usr/lib/gcc/i386-redhat-linux/4.0.0/crtbeginS.o
> > .libs/ServiceControllerBuild.o .libs/ServiceCoordinateSystemBuild.o
> > .libs/ServiceDataBuild.o .libs/ServiceExceptionBuild.o
> > .libs/ServiceGeometryBuild.o .libs/ServiceMapLayerBuild.o
> > .libs/ServiceNetBuild.o .libs/ServiceServicesBuild.o
> > .libs/ServiceSystemBuild.o .libs/ServiceUtilBuild.o
> > -L/usr/local/src/mapguide-1.0.1/Oem/dbxml-2.2.13/install/lib -lxerces-c
> > -lMgCoordinateSystem ../../Oem/geos-2.2.0/source/geom/.libs/libgeos.a
> > ../Security/libMgSecurity.a -L/usr/lib/gcc/i386-redhat-linux/4.0.0
> > -L/usr/lib/gcc/i386-redhat-linux/4.0.0/../../.. -lstdc++ -lm -lc -lgcc_s
> > /usr/lib/gcc/i386-redhat-linux/4.0.0/crtendS.o
> > /usr/lib/gcc/i386-redhat-linux/4.0.0/../../../crtn.o  -march=i386
> > -mcpu=i686 -Wl,-soname -Wl,libMgCommon.so.7 -o
> > .libs/libMgCommon.so.7.0.0/usr/bin/ld: cannot find -lMgCoordinateSystem
> > collect2: ld returned 1 exit status
> > make[2]: *** [libMgCommon.la] Error 1
> > make[2]: Leaving directory `/usr/local/src/mapguide-1.0.1/Common/Service'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/usr/local/src/mapguide-1.0.1/Common'
> > make: *** [all-recursive] Error 1
> > [root at user2 mapguide-1.0.1]#
> >
> > Is it normal to have all these problems getting mapguide Open Source up
> > and running?  I am on a clean build of Fedora Core 4.
> >
> > Thank you in advance.
> >
> > Nick
> > Nicholas Sadowy
> > Sr. Information Manager
> > CD-Data, Inc.
> > 2330 E. Bidwell St, Suite 200
> > Folsom, CA 95630
> > (916) 817-2211 x106
> > nick at cd-data.com
> > http://www.cd-data.com
> >
> >
>
> --
> View this message in context: http://www.nabble.com/mapguide-install-on-FC4.-tf2372882.html#a6615146
> Sent from the OSGeo MapGuide mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org
>
>




More information about the Mapguide-users mailing list