Skip to content

Cannot run ./configure cmd - error: cannot find input file: 'config.h.in' #1618

Open
@thiagobarros19

Description

@thiagobarros19

I'm trying install mongodb ext, but can't conclude. When run the ./configure cmd I'm getting the following error:

...
creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++ -std=gnu++11... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the g++ -std=gnu++11 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for g++ -std=gnu++11 option to produce PIC... -fno-common
checking if g++ -std=gnu++11 PIC flag -fno-common works... yes
checking if g++ -std=gnu++11 static flag -static works... no
checking if g++ -std=gnu++11 supports -c -o file.o... yes
checking whether the g++ -std=gnu++11 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin23.5.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
configure: patching config.h.in
./configure: line 31751: ./config.h.in: No such file or directory
configure: creating ./config.status

mongodb was configured with the following options:

Build configuration:
  CC                                               : cc
  CFLAGS                                           : -g -O2
  CPPFLAGS                                         :  -DHAVE_CONFIG_H
  Extra flags                                      : 
  Developer flags (slow)                           : 
  Code Coverage flags (extra slow)                 : 
  libmongoc                                        : Bundled (1.28.0-20240715+git03e993d856)
  libbson                                          : Bundled (1.28.0-20240715+git03e993d856)
  libmongocrypt                                    : Bundled (1.10.1)
  LDFLAGS                                          : 
  EXTRA_LDFLAGS                                    : 
  MONGODB_SHARED_LIBADD                            : -framework Security -framework CoreFoundation -lsasl2 -lresolv  -lpthread -pthread -lpthread -pthread

Please submit bugreports at:
  https://jira.mongodb.org/browse/PHPC


config.status: creating /Users/thiagobarros/mongo-php-driver/src/libmongoc/src/common/common-config.h
config.status: creating /Users/thiagobarros/mongo-php-driver/src/libmongoc/src/libbson/src/bson/bson-config.h
config.status: creating /Users/thiagobarros/mongo-php-driver/src/libmongoc/src/libbson/src/bson/bson-version.h
config.status: creating /Users/thiagobarros/mongo-php-driver/src/libmongoc/src/libmongoc/src/mongoc/mongoc-config.h
config.status: creating /Users/thiagobarros/mongo-php-driver/src/libmongoc/src/libmongoc/src/mongoc/mongoc-version.h
config.status: creating /Users/thiagobarros/mongo-php-driver/src/libmongoc/src/zlib-1.3.1/zconf.h
config.status: creating /Users/thiagobarros/mongo-php-driver/src/libmongocrypt/src/mongocrypt-config.h
config.status: error: cannot find input file: 'config.h.in'

Someone could help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions