On Tue, Jul 09, 2013 at 10:22:30AM -0700, trung nguyen wrote: > I have following error when install PostGIS 2.2 (latest) on Oracle Ent Linux > 6.0: > > configure: WARNING: CUnit/CUnit.h: present but cannot be compiled > configure: WARNING: CUnit/CUnit.h: check for missing prerequisite > headers? > configure: WARNING: CUnit/CUnit.h: see the Autoconf documentation > configure: WARNING: CUnit/CUnit.h: section "Present But Cannot Be > Compiled" > configure: WARNING: CUnit/CUnit.h: proceeding with the preprocessor's > result > configure: WARNING: CUnit/CUnit.h: in the future, the compiler will > take precedence > checking for CUnit/CUnit.h... yes > checking for CU_initialize_registry in -lcunit... no > configure: WARNING: could not locate CUnit required for unit tests > checking iconv.h usability... no > checking iconv.h presence... yes > configure: WARNING: iconv.h: present but cannot be compiled > configure: WARNING: iconv.h: check for missing prerequisite > headers? > configure: WARNING: iconv.h: see the Autoconf documentation > configure: WARNING: iconv.h: section "Present But Cannot Be > Compiled" > configure: WARNING: iconv.h: proceeding with the preprocessor's result > configure: WARNING: iconv.h: in the future, the compiler will take > precedence > checking for iconv.h... yes > checking for libiconv_open in -liconv... no > checking for iconv_open in -lc... no > checking for iconv_open in -liconv... no > configure: error: Could not find libiconv. Please install libiconv > and libiconv-devel. > Could you help?
<rant> "Oracle Ent Linux 6.0" ? Did you think Oracle would help you installing PostGIS ? </rant> Are libiconv and libiconv-devel installed ? The problem seems to be that ./configure cannot find libcunit or it finds a version which does not contain CU_initialie_registry. --strk; http://strk.keybit.net _______________________________________________ postgis-users mailing list [email protected] http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
