Я пытаюсь создать рецепт для библиотеки здесь: https://github.com/hyrise/sql-parser
Я создаю для OSX 10.13.
Мой build.sh
выглядит как это:
#!/bin/bash
make VERBOSE=1
make DESTDIR="$PREFIX" install
Я также настроил свой SDK, как здесь: https://docs.conda.io/projects/conda-build/en/latest/resources/compiler-tools.html#macos -sdk
Я могу нормально построить проект за пределами conda build, однако сборка conda завершается неудачно с приведенной ниже проблемой:
x86_64-apple-darwin13.4.0-clang++ -std=c++1z -Wall -Werror -O3 -fPIC -c -o src/SQLParser.o src/SQLParser.cpp
In file included from src/SQLParser.cpp:2:
In file included from src/SQLParser.h:4:
In file included from src/SQLParserResult.h:4:
In file included from src/sql/SQLStatement.h:4:
In file included from /Users/j/miniconda3/envs/p37/conda-bld/sql-parser_1583094509703/_build_env/bin/../include/c++/v1/vector:265:
In file included from /Users/j/miniconda3/envs/p37/conda-bld/sql-parser_1583094509703/_build_env/bin/../include/c++/v1/iosfwd:90:
/Users/j/miniconda3/envs/p37/conda-bld/sql-parser_1583094509703/_build_env/bin/../include/c++/v1/wchar.h:119:15: fatal error: 'wchar.h' file not found
#include_next <wchar.h>
^~~~~~~~~
1 error generated.
make: *** [Makefile:66: src/SQLParser.o] Error 1
Я вижу, что wchar.h находится в этом каталоге
JMBA:v1 j$ ls -l /Users/j/miniconda3/envs/p37/conda-bld/sql-parser_1583094509703/_build_env/bin/../include/c++/v1 | grep wchar
-rw-rw-r-- 41 j staff 6272 28 Oct 2018 cwchar
-rw-rw-r-- 41 j staff 8080 28 Oct 2018 wchar.h
Любая помощь по этому вопросу приветствуется.