#411 stringprep.h validation missing on ./configure

Reporter ri.ruirech
Owner Waqas
Created
Updated
Stars ★ (1)  
Tags
  • Component-Scripts
  • OpSys-OSX
  • Status-New
  • Priority-Medium
  • Type-Defect
  1. ri.ruirech on

    *What steps will reproduce the problem?* 1. Have no package with stringprep.h available on your system (e.g. libidn11-dev), but all necessary lua headers. 2. Do a successful ./configure, type make 3. See the abortion message *What is the expected output? What do you see instead?* Expected: gcc -fPIC -Wall -ggdb -I/usr/include/lua5.2 -c -o encodings.o encodings.c encodings.c: In function ‘luaopen_util_encodings’: encodings.c:374:2: warning: implicit declaration of function ‘luaL_register’ [-Wimplicit-function-declaration Instead: gcc -fPIC -Wall -ggdb -I/usr/include/lua5.1 -c -o encodings.o encodings.c encodings.c:203:24: fatal error: stringprep.h: Datei oder Verzeichnis nicht gefunden compilation terminated *What version of the product are you using? On what operating system?* Version of product: 0.9 and 0.10 from the mercurial repositories OS: Debian Wheezy 64Bit *Please provide any additional information below.* Solution could be: Include a stringprep.h of whatever sort into the ./configure proceess.

  2. manuel.blechschmidt on

    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.

  3. MattJ on

    Assigning to Waqas, as he is master of the OS X platform now.

    Changes
    • owner Waqas
    • tags Component-Scripts OpSys-OSX
  4. MattJ on

    Waqas, does the current brew script suffer from this issue? Or can we close this now?

New comment