nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Christianson <achristian...@hortonworks.com>
Subject Compilation error in minifi-cpp
Date Wed, 16 Aug 2017 14:30:19 GMT
MiNiFi cpp devs,

Very recently I started getting this unexpected compilation error in the ‘make docker’
target. I double-checked the packages we are installing in the Dockerfile, and it does include
curl-dev, so I’m confused why we’d be seeing this. Is it perhaps a curl version issue?

[  3%] Performing build step for 'jsoncpp_project'
Scanning dependencies of target jsoncpp_lib_static
[ 25%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_reader.cpp.o
[ 50%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_value.cpp.o
[ 75%] Building CXX object src/lib_json/CMakeFiles/jsoncpp_lib_static.dir/json_writer.cpp.o
[100%] Linking CXX static library libjsoncpp.a
[100%] Built target jsoncpp_lib_static
[  3%] Performing install step for 'jsoncpp_project'
[100%] Built target jsoncpp_lib_static
Install the project...
-- Install configuration: "Release"
-- Installing: /opt/minifi/build/jsoncpp/lib/pkgconfig/jsoncpp.pc
-- Installing: /opt/minifi/build/jsoncpp/lib/libjsoncpp.a
-- Installing: /opt/minifi/build/jsoncpp/include/json/allocator.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/assertions.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/autolink.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/config.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/features.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/forwards.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/json.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/reader.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/value.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/version.h
-- Installing: /opt/minifi/build/jsoncpp/include/json/writer.h
[  3%] Completed 'jsoncpp_project'
[  3%] Built target jsoncpp_project
Scanning dependencies of target minifi
[  3%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/logging/LoggerConfiguration.cpp.o
[  4%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/AtomicEntryStream.cpp.o
[  4%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/BaseStream.cpp.o
[  5%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/CRCStream.cpp.o
[  5%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/ClientSocket.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/DataStream.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/EndianCheck.cpp.o
[  6%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/FileStream.cpp.o
[  7%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/Serializable.cpp.o
[  7%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/StreamFactory.cpp.o
[  8%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/io/tls/TLSSocket.cpp.o
[  8%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/ControllerServiceNode.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/ControllerServiceProvider.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/controller/StandardControllerServiceNode.cpp.o
[  9%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/controllers/SSLContextService.cpp.o
[ 10%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ClassLoader.cpp.o
[ 10%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ConfigurableComponent.cpp.o
[ 11%] Building CXX object libminifi/CMakeFiles/minifi.dir/src/core/ConfigurationFactory.cpp.o
In file included from /opt/minifi/libminifi/include/RemoteProcessorGroupPort.h:26:0,
                 from /opt/minifi/libminifi/include/core/FlowConfiguration.h:23,
                 from /opt/minifi/libminifi/include/core/ConfigurationFactory.h:22,
                 from /opt/minifi/libminifi/src/core/ConfigurationFactory.cpp:25:
/opt/minifi/libminifi/include/utils/HTTPUtils.h:26:28: fatal error: curl/curlbuild.h: No such
file or directory
 #include <curl/curlbuild.h>
                            ^
compilation terminated.
make[2]: *** [libminifi/CMakeFiles/minifi.dir/build.make:471: libminifi/CMakeFiles/minifi.dir/src/core/ConfigurationFactory.cpp.o]
Error 1
make[1]: *** [CMakeFiles/Makefile2:1884: libminifi/CMakeFiles/minifi.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

Regards,

Andy I.C.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message