1 Reply Latest reply: May 15, 2014 9:59 AM by Camelot
Ravi kumar Karunanithi Level 1 Level 1 (0 points)

Hi all,

 

I'm getting the following error while configure the autoreconf in terminal.

 

i'm ran the code

 

sh-3.2# ./configure

........

.........

...........

checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin/ld

checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/ld) is GNU ld... no

checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/ld) supports shared libraries... yes

checking for g++ option to produce PIC... -fno-common -DPIC

checking if g++ PIC flag -fno-common -DPIC works... yes

checking if g++ static flag -static works... no

checking if g++ supports -c -o file.o... yes

checking if g++ supports -c -o file.o... (cached) yes

checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /usr/bin/ld) supports shared libraries... yes

checking dynamic linker characteristics... darwin13.0.0 dyld

checking how to hardcode library paths into programs... immediate

checking if g++ supports -Wall... yes

checking if g++ supports -Wmissing-prototypes... yes

checking CUnit/CUnit.h usability... yes

checking CUnit/CUnit.h presence... yes

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 for pkg-config... /usr/local/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking for jansson... yes

checking for OPENSSL... yes

checking for CURL... yes

checking for SQLITE... yes

checking for JSON... no

checking for JSON... no

checking iconv.h usability... yes

checking iconv.h presence... yes

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.

 

 

But i have installed libiconv. still i'm getting this error. Can anybody help me to resolve this error.


MacBook Pro, OS X Mavericks (10.9.2)