<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>hi,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"> i would like to install postgis 2 in linux centos 6</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">my source folder is /usr/local/postgis-2.0.1<br></div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">when i execute <span style="font-weight: bold;">./configure </span>, the return message is : <br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif;
 background-color: rgb(255, 255, 255); font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="background-color: rgb(255, 255, 255);">checking for geos-config... no</span><br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">configure: error: could not find geos-config within the current path. You may need to try re-running configure with a --with-geosconfig parameter.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255, 255); font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
 times new roman,new york,times,serif; background-color: transparent; font-style: normal;">my <span style="background-color: rgb(255, 255, 255);">geos-config file is in /usr/local/geos-3.3.3/tools, so i execute </span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255, 255); font-style: normal;"><span style="background-color: rgb(255, 255, 255);">./configure --with-geosconfig=/usr/local/geos-3.3.5/tools/geos-config</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255, 255); font-style: normal;"><br><span style="background-color: rgb(255, 255, 255);"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255, 255); font-style: normal;"><span style="background-color: rgb(255, 255, 255);">but
 i have this error message:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255, 255); font-style: normal;"><span style="background-color: rgb(255, 255, 255);">Using user-specified geos-config file: /usr/local/geos-3.3.3/tools/geos-config<br>checking GEOS version... 3.3.3<br>checking geos_c.h usability... no<br>checking geos_c.h presence... no<br>checking for geos_c.h... no<br>configure: error: could not find geos_c.h - you may need to specify the directory of a geos-config file using --with-geosconfig<br><br><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span style="background-color: rgb(255, 255, 255);"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color:
 rgb(255, 255, 255); font-style: normal;"><br><span style="background-color: rgb(255, 255, 255);"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255, 255); font-style: normal;"><span style="background-color: rgb(255, 255, 255);">Please help me , thanks in advance<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255, 255); font-style: normal;"><br><span style="background-color: rgb(255, 255, 255);"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255, 255); font-style: normal;"><br><span style="background-color: rgb(255, 255, 255);"></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: rgb(255, 255,
 255); font-style: normal;"><span style="background-color: rgb(255, 255, 255);"><br></span></div></div></body></html>