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

Jason Birch Jason.Birch at nanaimo.ca
Tue Nov 6 00:45:37 EST 2007


Thanks Traian,

Yes, Im doing the standard compile, and updating the docs on the wiki
for 7.10 and trunk as I go.

Is this what was causing the problem with the GD renderer too
then(question).  I,m on a mac going through citrix to terminal services
to my work pc.  Keyboard bindings are messed up...

Jason 

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Traian
Stanev
Sent: Monday, November 05, 2007 21:41
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] Error in compiling Agg on ubuntu... 

I read your emails out of order. Yes I know what is wrong here and will
fix it. The Makefile.am of renderers is missing a header path to
../../Oem/gd/lpng. I had not noticed it since my Ubuntu box also has
png-dev installed so png was in the path already.

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: Monday, November 05, 2007 11:31 PM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] Error in compiling Agg on ubuntu...

Any ideas (questionmark - stupid keyboard mappings...);

 g++ -DPACKAGE_NAME=\"mapguide\" -DPACKAGE_TARNAME=\"mapguide\"
-DPACKAGE_VERSION=\"2.0.0\" "-DPACKAGE_STRING=\"mapguide 2.0.0\""
-DPACKAGE_BUGREPORT=\"http://mapguide.osgeo.org\" -DPACKAGE=\"mapguide\"
-DVERSION=\"2.0.0\" -DPACKAGE=\"mapguide\" -DVERSION=\"2.0.0\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_NETDB_H=1
-DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SOCKET_H=1
-DHAVE_GETHOSTBYNAME=1 -DHAVE_SOCKET=1 -DHAVE_HTONS=1 -DHAVE_CONNECT=1
-DHAVE_SHUTDOWN=1 -I. -I. -I../MdfModel/ -I../Stylization/
-I/usr/local/fdo-3.3.0/include
-I/usr/local/fdo-3.3.0/include/ExpressionEngine
-I../../Oem/DWFTK7.1/develop/global/src/
-I../../Oem/DWFTK7.1/develop/global/src/dwf/ -I../../Oem/gd/gd/
-I../../Oem/gd/freetype/include/ -I../../Oem/agg-2.4/include
-I../../Oem/agg-2.4/font_freetype -g -D_DEBUG -DDWFTK_BUILD_EXPAT -g
-D_DEBUG -MT AGGImageIO.lo -MD -MP -MF .deps/AGGImageIO.Tpo -c
AGGImageIO.cpp  -fPIC -DPIC -o .libs/AGGImageIO.o
AGGImageIO.cpp:22:17: error: png.h: No such file or directory
AGGImageIO.cpp:608:8: warning: extra tokens at end of #endif directive
AGGImageIO.cpp:38: error: variable or field 'png_write_cb' declared void
AGGImageIO.cpp:38: error: 'png_structp' was not declared in this scope
AGGImageIO.cpp:38: error: 'png_bytep' was not declared in this scope
AGGImageIO.cpp:38: error: 'png_size_t' was not declared in this scope
AGGImageIO.cpp:38: error: initializer expression list treated as
compound expression
AGGImageIO.cpp:39: error: expected ',' or ';' before '{' token
AGGImageIO.cpp:58: error: variable or field 'png_read_cb' declared void
AGGImageIO.cpp:58: error: 'png_structp' was not declared in this scope
AGGImageIO.cpp:58: error: 'png_bytep' was not declared in this scope
AGGImageIO.cpp:58: error: 'png_size_t' was not declared in this scope
AGGImageIO.cpp:58: error: initializer expression list treated as
compound expression

Etc,etc,etc....
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
_______________________________________________
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