[mapserver-users] Error compiling mapserver 5.2 with agg

Milo van der Linden mlinden at zeelandnet.nl
Thu Jul 17 14:41:27 EDT 2008


-----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 at 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-----


More information about the mapserver-users mailing list