Skip to content

build: boost::process detection doesn't pass include directory #22269

@laanwj

Description

@laanwj

boost::process detection fails here (FreeBSD 13.0) with:

configure:32183: checking for Boost Process
configure:32196: c++ -std=c++17 -c -g -O2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DPROVIDE_FUZZ_MAIN_FUNCTION conftest.cpp >&5
conftest.cpp:80:10: fatal error: 'boost/process.hpp' file not found
#include <boost/process.hpp>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
configure:32196: $? = 1

The header in question does exist in /usr/local/include/boost/process.hpp. However, no include path is passed?

For comparison, the preceding boost::filesystem check, which passes -I/usr/local/include succeeds:

configure:32026: checking for exit in -lboost_filesystem
configure:32051: c++ -std=c++17 -o conftest -g -O2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DPROVIDE_FUZZ_MAIN_FUNCTION -I/usr/local/include  -L/usr/local/lib conftest.cpp -lboost_filesystem   -lboost_system >&5
configure:32051: $? = 0
configure:32061: result: yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions