Open GoogleCodeExporter opened 9 years ago
Hi,
I had a similar issue on Mac OS X:
gcc -fPIC -Wall -ggdb -I/usr/local/include -c -o encodings.o encodings.c
encodings.c:207:10: fatal error: 'stringprep.h' file not found
#include <stringprep.h>
So this indicates that libidn is missing by default.
I installed it using MacPorts:
sudo port install libidn
Further after executing ./configure --ostype=macosx I had to modify config.unix
to specify the correct include and library path:
$ diff -u config.unix config.unix.patched
--- config.unix 2014-12-07 09:12:25.000000000 +0100
+++ config.unix.patched 2014-12-07 09:12:08.000000000 +0100
@@ -13,8 +13,8 @@
IDN_LIB=idn
IDNA_LIBS=-lidn
OPENSSL_LIB=crypto
-CFLAGS=-fPIC -Wall
-LDFLAGS=-bundle -undefined dynamic_lookup
+CFLAGS=-fPIC -Wall -I/opt/local/include
+LDFLAGS=-bundle -undefined dynamic_lookup -L/opt/local/lib
CC=gcc
CXX=g++
LD=gcc
Maybe this helps somebody.
Original comment by manuel.b...@gmail.com
on 7 Dec 2014 at 8:16
Assigning to Waqas, as he is master of the OS X platform now.
Original comment by MWild1
on 22 Feb 2015 at 10:41
Original issue reported on code.google.com by
ri.ruir...@googlemail.com
on 5 May 2014 at 9:08