Skip to content

PHPC-2715: fix out-of-sources-tree builds#2007

Open
remicollet wants to merge 1 commit intomongodb:v2.xfrom
remicollet:issue-2715
Open

PHPC-2715: fix out-of-sources-tree builds#2007
remicollet wants to merge 1 commit intomongodb:v2.xfrom
remicollet:issue-2715

Conversation

@remicollet
Copy link
Copy Markdown
Contributor

To reproduce

cd /path/to/src
phpize
mkdir mybuild
cd mybuild
../configure
make

Will output

/dev/shm/BUILD/php-pecl-mongodb2-2.3.1-build/php-pecl-mongodb2-2.3.1/mongo-php-driver-2.3.1/src/libmongocrypt/src/mongocrypt.h:36:8: error: #error No "mongocrypt-config.h" header is available. That file must be generated in order to use libmongocrypt.
   36 |       #error No "mongocrypt-config.h" header is available. That file must \
      |        ^~~~~

@remicollet remicollet requested a review from a team as a code owner April 30, 2026 14:47
@remicollet remicollet requested review from alcaeus and removed request for a team April 30, 2026 14:47
@GromNaN
Copy link
Copy Markdown
Member

GromNaN commented Apr 30, 2026

Thank you @remicollet, for reporting this issue and providing the fix. We will try to add a test job to ensure that there are no regressions in this build environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants