Hi Nick,<br><br>I&#39;ve also tried AGG 2.5 and get the same result.  I can build it just fine, its just that the Python bindings don&#39;t work correctly.<br><br>Thanks,<br><br>Jason<br><br><div class="gmail_quote">On Thu, Jul 16, 2009 at 1:14 PM, Nikolai Nikolov <span dir="ltr">&lt;<a href="mailto:nnikolov@gypsii.com">nnikolov@gypsii.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="blue" lang="EN-GB">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi Jason,</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Mapserver 5.2.0 and later versions build successfully
with AGG 2.5 !!!  So I would suggest, as the best option for you, to get AGG
2.5 and then build AGG and Mapserver.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Best regards,</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Nick</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">

<hr width="100%" align="center" size="2">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Jason Beverage<br>
<b><span style="font-weight: bold;">Sent:</span></b> 16 July 2009 18:08<br>
<b><span style="font-weight: bold;">To:</span></b>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [mapserver-users]
Building Mapserver with Mapscript and AGG</span></font><span lang="EN-US"></span></p>

</div><div><div></div><div class="h5">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi all,<br>
<br>
I&#39;m trying to build Mapserver 5.4.1 against AGG 2.4 with Python Mapscript on
Centos 5 and I&#39;m having some trouble.<br>
<br>
I followed the instructions on <a href="http://mapserver.org/installation/unix.html" target="_blank">http://mapserver.org/installation/unix.html</a>
and modified the Makefile.in.Linux of AGG to include the -fPIC option to
support mapscript.  AGG seems to build libagg.a just fine in the src
directory.<br>
<br>
When I build mapserver against that version of AGG, it compiles fine and so do
the python bindings.  However, when I install and try to use mapscript in
python, I get an error when I try to import the mapscript module:<br>
ImportError: /usr/lib/python2.4/site-packages/_mapscript.so: undefined symbol:
_ZN3agg12g_sqrt_tableE<br>
<br>
This appears to be an error due to the -fPIC option not being specified in the
AGG build, which I&#39;ve done.<br>
<br>
Are there any other steps that must be done to successfully compile Mapserver
against AGG to get the python bindings to work?<br>
<br>
Thanks,<br>
<br>
Jason</span></font></p>

</div></div></div>

</div>


</blockquote></div><br>