Re: [mapserver-users] Error compiling mapserver 5.2 with agg

2008-07-17 Thread Milo van der Linden
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Luigi,

Today I compiled Mapserver 5.2 and agg 2.5.0 from source and in that
combination the problem does not exist. It seems to me that the problem
is in the 2.4-2.1 version of agg?

I installed agg this way:

wget http://www.antigrain.com/agg-2.5.0.tar.gz
tar -xzf agg-2.5.0.tar.gz
cd agg-2.5.0
make
cd ..
mv agg-2.5.0 /usr/local/src/agg
ldconfig /usr/local/lib

hope this works for you too.

Kind regards,

Milo

Luigi Castro Cardeles wrote:
> Hi list,
> 
> i tried compile mapserver 5.2 with agg 2.4-2.1 (x86_64) and i am getting
> this error message:
> 
> 
> mapagg.h:37: error: ISO C++ forbids declaration of 'const_row_info' with no
> type
> mapagg.h:37: error: typedef name may not be a nested-name-specifier
> mapagg.h:37: error: expected ';' before '<' token
> mapagg.h:96: error: 'row_data' does not name a type
> 
> and error go on to mapagg.cpp.
> 
> Anyone knows how to fix it?
> Thanks
> 
> 
> 
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIf5JX2oMdf0ahv2kRAh2QAJ9CRWaoln9VhNjzWk4E2Rnk5OFaRQCfSH1Z
V+atMJHt9Crcfs7Fojpqn9Y=
=1H57
-END PGP SIGNATURE-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Error compiling mapserver 5.2 with agg

2008-07-17 Thread Luigi Castro Cardeles
Hi list,

i tried compile mapserver 5.2 with agg 2.4-2.1 (x86_64) and i am getting
this error message:


mapagg.h:37: error: ISO C++ forbids declaration of 'const_row_info' with no
type
mapagg.h:37: error: typedef name may not be a nested-name-specifier
mapagg.h:37: error: expected ';' before '<' token
mapagg.h:96: error: 'row_data' does not name a type

and error go on to mapagg.cpp.

Anyone knows how to fix it?
Thanks
-- 
Luigi Castro Cardeles
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users