[mapguide-internals] Error in compiling Agg on ubuntu...

Traian Stanev traian.stanev at autodesk.com
Tue Nov 6 00:40:15 EST 2007


Are you following the MG build process, or are you compiling against Ubuntu-installed libraries, rather than the ones under Oem?
I compiled on Ubuntu before checking in and it was compiling fine. By fine I mean it took the usual considerable pain (may be 3-4 manual fixes to the build), but not much more.

Traian

________________________________________
From: mapguide-internals-bounces at lists.osgeo.org [mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jason Birch [Jason.Birch at nanaimo.ca]
Sent: Tuesday, November 06, 2007 12:29 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] Error in compiling Agg on ubuntu...

Hmm.

Apt-get libpng-dev seems to have got me past that.

Now running into problem with GD (below).  Going to try magically
apt-getting gd-dev now.  Unlikely to get lucky twice in a row though...
:)

J

g++ -g -D_DEBUG -DACE_HAS_SVC_DLL=1 -g -D_DEBUG -o .libs/mgserver
ServerCoreBuild.o  -L/usr/local/fdo-3.3.0/lib
-L/home/administrator/mgsvn/Oem/ACE/ACE_wrappers/ace -

...

Wl,/home/administrator/mgsvn/Server/src/Services/Site/.libs -Wl,--rpath
-Wl,/home/administrator/mgsvn/Server/src/Services/Tile/.libs -Wl,--rpath
-Wl,/home/administrator/mgsvn/Server/src/UnitTesting/.libs
/usr/bin/ld: warning: libxerces-c.so.27, needed by
/home/administrator/mgsvn/Oem/dbxml-2.3.10/install/lib/libxqilla.so, may
conflict with libxerces-c.so.25
/home/administrator/mgsvn/Common/Renderers/.libs/libMgRenderers.so:
undefined reference to `gdImagePng'
/home/administrator/mgsvn/Common/Renderers/.libs/libMgRenderers.so:
undefined reference to `gdImagePngPtr'
/home/administrator/mgsvn/Common/Renderers/.libs/libMgRenderers.so:
undefined reference to `gdFontCacheSetup'
/home/administrator/mgsvn/Common/Renderers/.libs/libMgRenderers.so:
undefined reference to `gdImageCreateFromPng'
/home/administrator/mgsvn/Common/Renderers/.libs/libMgRenderers.so:
undefined reference to `gdFontCacheShutdown'
/home/administrator/mgsvn/Common/Renderers/.libs/libMgRenderers.so:
undefined reference to `gdImageCreateFromPngPtr'
collect2: ld returned 1 exit status

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


More information about the mapguide-internals mailing list