<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm posting this to to the devel list after not having heard anything for a week, probably because I noticed I originally posted this to the users list.  I hope someone can help.<div><br></div><div><div><br></div><div><br></div><div>I've build and installed postgis on Mac and linux boxes without issue, but am having a hell of a time on HP-UX 11.11; it's choking on a test for libgeos_c.  I've built and installed xml2, proj, and geos into /WX/wXstation/local and postgres in /WX/wXstation/pgsql, and all their associated *config scripts run fine.  My configure line is:<div><br></div><div>./configure --with-projdir=/WX/wXstation/local --with-geosconfig=/WX/wXstation/local/bin/geos-config --with-pgconfig=/WX/wXstation/pgsql/bin/pg_config --with-xml2config=/WX/wXstation/local/bin/xml2-config<br><div><br class="webkit-block-placeholder"></div><div><br></div><div>Below are sections from configure's output and config.log.  LPATH, LDPATH, SHLIB_PATH, and LD_LIBRARY_PATH are all set (to the same thing) and include /WX/wXstation/local/lib.  I hope someone can help me out.</div><div><br></div><div>Scott</div><div><br></div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><div>-- snip configure output --</div><div><div>Using user-specified pg_config file: /WX/wXstation/pgsql/bin/pg_config</div><div>checking PostgreSQL version... PostgreSQL 8.4.2</div><div>checking libpq-fe.h usability... yes</div><div>checking libpq-fe.h presence... yes</div><div>checking for libpq-fe.h... yes</div><div>checking for PQserverVersion in -lpq... yes</div><div>Using user-specified xml2-config file: /WX/wXstation/local/bin/xml2-config</div><div>checking libxml/tree.h usability... yes</div><div>checking libxml/tree.h presence... yes</div><div>checking for libxml/tree.h... yes</div><div>checking libxml/parser.h usability... yes</div><div>checking libxml/parser.h presence... yes</div><div>checking for libxml/parser.h... yes</div><div>checking libxml/xpath.h usability... yes</div><div>checking libxml/xpath.h presence... yes</div><div>checking for libxml/xpath.h... yes</div><div>checking libxml/xpathInternals.h usability... yes</div><div>checking libxml/xpathInternals.h presence... yes</div><div>checking for libxml/xpathInternals.h... yes</div><div>checking for xmlInitParser in -lxml2... yes</div><div>Using user-specified geos-config file: /WX/wXstation/local/bin/geos-config</div><div>checking GEOS version... 3.2.2</div><div>checking geos_c.h usability... yes</div><div>checking geos_c.h presence... yes</div><div>checking for geos_c.h... yes</div><div>checking for initGEOS in -lgeos_c... no</div><div>configure: error: could not find libgeos_c - you may need to specify the directory of a geos-config file using --with-geosconfig</div><div>-- end snip --</div><div><br></div><div><br></div><div>-- snip config.log --</div><div><div>configure:15323: result: checking GEOS version... 3.2.2</div><div>configure:15334: checking geos_c.h usability</div><div>configure:15334: gcc -c -g -O2 -I/WX/wXstation/local/include conftest.c >&5</div><div>configure:15334: $? = 0</div><div>configure:15334: result: yes</div><div>configure:15334: checking geos_c.h presence</div><div>configure:15334: gcc -E -I/WX/wXstation/local/include conftest.c</div><div>configure:15334: $? = 0</div><div>configure:15334: result: yes</div><div>configure:15334: checking for geos_c.h</div><div>configure:15334: result: yes</div><div>configure:15346: checking for initGEOS in -lgeos_c</div><div>configure:15371: gcc -o conftest -g -O2 -I/WX/wXstation/local/include/libxml2  c</div><div>onftest.c -lgeos_c  -L-L/WX/wXstation/local/lib >&5</div><div>/usr/ccs/bin/ld: Unsatisfied symbols:</div><div>   geos::geom::GeometryFactory::createPoint(geos::geom::CoordinateSequence*) con</div><div>st(first referenced in /WX/wXstation/local/lib/libgeos_c.a(libgeos_c_la-geos_ts_</div><div>c.o)) (code)</div><div>   geos::geom::GeometryFactory::createGeometryCollection(std::vector<geos::geom:</div><div>:Geometry*, std::allocator<geos::geom::Geometry*> >*) const(first referenced in</div><div>/WX/wXstation/local/lib/libgeos_c.a(libgeos_c_la-geos_ts_c.o)) (code)</div><div>   __gxx_personality_v0 (first referenced in /WX/wXstation/local/lib/libgeos_c.a</div><div>(libgeos_c_la-geos_c.o)) (code)</div></div><div><br></div><div>< a lot more of these ></div><div><br></div><div><div>   std::basic_string<char, std::char_traits<char>, std::allocator<char> >::appen</div><div>d(char const*, unsigned long)(first referenced in /WX/wXstation/local/lib/libgeo</div><div>s_c.a(libgeos_c_la-geos_ts_c.o)) (code)</div><div>collect2: ld returned 1 exit status</div><div>configure:15371: $? = 1</div><div>configure: failed program was:</div><div>| /* confdefs.h */</div><div>| #define PACKAGE_NAME ""</div><div>| #define PACKAGE_TARNAME ""</div><div>| #define PACKAGE_VERSION ""</div><div>| #define PACKAGE_STRING ""</div><div>| #define PACKAGE_BUGREPORT ""</div><div>| #define PACKAGE_URL ""</div><div>| #define STDC_HEADERS 1</div><div>| #define HAVE_SYS_TYPES_H 1</div><div>| #define HAVE_SYS_STAT_H 1</div><div>| #define HAVE_STDLIB_H 1</div><div>| #define HAVE_STRING_H 1</div><div>| #define HAVE_MEMORY_H 1</div><div>| #define HAVE_STRINGS_H 1</div><div>| #define HAVE_INTTYPES_H 1</div><div>| #define HAVE_UNISTD_H 1</div><div>| #define HAVE_DLFCN_H 1</div><div>| #define LT_OBJDIR ".libs/"</div><div>| #define POSTGIS_MAJOR_VERSION "1"</div><div>| #define POSTGIS_MINOR_VERSION "5"</div><div>| #define POSTGIS_MICRO_VERSION "2"</div><div>| #define YYTEXT_POINTER 1</div><div>| #define HAVE_IEEEFP_H 0</div><div>| #define PWDREGRESS 1</div><div>| #define HAVE_ICONV 1</div><div>| #define HAVE_LIBPQ 1</div><div>| #define POSTGIS_PGSQL_VERSION 84</div><div>| #define HAVE_LIBXML_TREE_H 1</div></div><div><div>| #define HAVE_LIBXML_PARSER_H 1</div><div>| #define HAVE_LIBXML_XPATH_H 1</div><div>| #define HAVE_LIBXML_XPATHINTERNALS_H 1</div><div>| #define HAVE_LIBXML2 1</div><div>| #define POSTGIS_LIBXML2_VERSION "2.7.8"</div><div>| /* end confdefs.h.  */</div><div>|</div><div>| /* Override any GCC internal prototype to avoid an error.</div><div>|    Use char because int might match the return type of a GCC</div><div>|    builtin and then its argument prototype would still apply.  */</div><div>| #ifdef __cplusplus</div><div>| extern "C"</div><div>| #endif</div><div>| char initGEOS ();</div><div>| int</div><div>| main ()</div><div>| {</div><div>| return initGEOS ();</div><div>|   ;</div><div>|   return 0;</div><div>| }</div></div><div><div>configure:15380: result: no</div><div>configure:15390: error: could not find libgeos_c - you may need to specify the d</div><div>irectory of a geos-config file using --with-geosconfig</div></div><div> -- end snip --</div></div></span></div></div></span></span><div><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-style: normal; font-weight: normal; color: rgb(0, 0, 0); "><font class="Apple-style-span" face="'Courier New'" size="3"><span class="Apple-style-span" style="font-size: 12px; "><font class="Apple-style-span" face="Helvetica"><br></font></span></font></span></div></span></div></div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><span class="Apple-style-span" style="font-size: 12px; "><div><br class="Apple-interchange-newline"><br class="khtml-block-placeholder"></div><div><font class="Apple-style-span" face="Courier New"><span class="Apple-style-span" style="font-family: 'Courier New'; "><span class="Apple-style-span" style="font-family: 'Courier New'; ">--- Let us all bask in television's warm glowing warming glow ---</span></span></font></div><div><font class="Apple-style-span" face="Courier New"><span class="Apple-style-span" style="font-family: 'Courier New'; "><span class="Apple-style-span" style="font-family: 'Courier New'; ">Scott Brunza           </span></span><span class="Apple-style-span" style="font-family: 'Courier New'; "><span class="Apple-style-span" style="font-family: 'Courier New'; ">860.326.3637         </span></span><span class="Apple-style-span" style="font-family: 'Courier New'; "><span class="Apple-style-span" style="font-family: 'Courier New'; "><a href="mailto:scottso@sonalysts.com">scottso@sonalysts.com</a></span></span></font></div></span></div><div><br></div></div></span><font class="Apple-style-span" face="'Courier New'" size="3"><span class="Apple-style-span" style="font-size: 12px; ">This<span class="Apple-converted-space"> </span>e-mail and any files transmitted with it may be  proprietary</span></font></span><div><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-style: normal; font-weight: normal; color: rgb(0, 0, 0); "><font class="Apple-style-span" face="'Courier New'" size="3"><span class="Apple-style-span" style="font-size: 12px; ">and are  intended solely for the use of the  individual or entity</span></font></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-style: normal; font-weight: normal; color: rgb(0, 0, 0); "><font class="Apple-style-span" face="'Courier New'" size="3"><span class="Apple-style-span" style="font-size: 12px; ">to whom they are addressed.  If you have received this  e-mail in</span></font></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-style: normal; font-weight: normal; color: rgb(0, 0, 0); "><font class="Apple-style-span" face="'Courier New'" size="3"><span class="Apple-style-span" style="font-size: 12px; ">error please notify the sender.</span></font></span></div></span>
</div>
<br></div></div></body></html>