<html><head><style type="text/css">body{font:12px Arial;margin:3px;overflow-y:auto;overflow-x:auto}p{margin:0px;}blockquote, ol, ul{margin-top:0px;margin-bottom:0px;}</style></head>

<body><div style="display: block; font-family: Arial; font-size: 12px;">Hi,<br>
<br>
Excuse me first for my english, it's too bad<br>
Here I try to explain my problem:<br>
I am building GDAL with XERCES C++&nbsp; 2.6 and ECWSDK with the
package I had found on&nbsp; GDAL's site (ecwsdk3.1Jan05-linux) on
linux Mandrake 10.1. This error occurs :<br>
<br>
checking for Xerces C++... requested, but compile or link fails!<br>
<br>
g++ -I/usr/local/include -I/usr/local/include/xercesc -o conftest
conftest.cpp -L/usr/local/lib -lxerces-c -lpthread
-L/usr/src/pourmapserver/ecwsdk-3.1.25Jan05-linux/lib -lNCSEcw -logdi31
-lgif -ljpeg -lz -L/usr -L/usr/lib -lm -ldl<br>
<br>
/usr/bin/ld: warning: libstdc++.so.5, needed by
/usr/src/pourmapserver/ecwsdk-3.1.25Jan05-linux/lib/libNCSEcw.so, may
conflict with libstdc++.so.6<br>
<br>
configure: error: Please correct Xerces options, or don't enable Xerces.<br>
<br>
I saw on other message in the list that someone else had the same problems, so I tried to do what Mr Franck Wammerdam said.<br>
I try to compile with this options:<br>
 /configure --with-geos=/usr/local/bin/geos-config
--with-ecw=/usr/src/pourmapserver/ecwsdk-3.1.25Jan05-linux
--with-geotiff=internal --with-libz=/usr --with-pg --with-png=internal
--with-libtiff=internal --with-ogdi --with-proj=/usr
--with-xerces&nbsp;
--with-xerces-inc=/usr/src/pourmapserver/xerces-c-src_2_6_0/include
--with-xerces-lib="-L/usr/src/pourmapserver/xerces-c-src_2_6_0
-libxerces-c -lpthread"<br><br>
It failed.<br>
Then I try like this:<br>
 /configure --with-geos=/usr/local/bin/geos-config&nbsp;
--with-geotiff=internal --with-libz=/usr --with-pg --with-png=internal
--with-libtiff=internal --with-ogdi --with-proj=/usr --with-xerces <br>
And it's OK<br>
Like this:<br>
 /configure --with-geos=/usr/local/bin/geos-config
--with-ecw=/usr/src/pourmapserver/ecwsdk-3.1.25Jan05-linux
--with-geotiff=internal --with-libz=/usr --with-pg --with-png=internal
--with-libtiff=internal --with-ogdi --with-proj=/usr <br>
It' OK .<br>
But with the both option xerces and ecw I can't....<br>
<br>
What am I doing wrong????<br>
<br>
Thank you for your answers <br>
Best regards<br><br>
<div style="display: block; font-size: 12px; font-family: Arial;">Raphaela<p><font size="3"></font>&nbsp;</p></div><br></br><p style="margin-top:11px;padding-top:3px;background-image: url(http://mail.lycos.co.uk/Images/Mail/_content/dot.gif);background-repeat: repeat-x;background-position: 0px 0px;"><a href="http://secure.caramail.lycos.fr/services/content/advdetail.jsp?advid=advprotekon&advsvc=advsecure&TARGETCODE=FR_footermail_link"><img src="http://images.lycos-europe.com/m/comc/lycos/cont/security/sm_protekon_transpa.gif"></img></a> CaraMail met en oeuvre un nouveau <a href="http://secure.caramail.lycos.fr/services/content/advdetail.jsp?advid=advprotekon&advsvc=advsecure&TARGETCODE=FR_footermail_link" target="_blank"><font color="#CC0000"><b>Concept de Sécurité Globale</b></font></a> à partir de 1,49 euros par mois</div></body></html>