apache / cloudberry

Cloudberry Database - Open source alternative to Greenplum Database. Created by the original Greenplum developers.
https://cloudberrydb.org/
Apache License 2.0
402 stars 99 forks source link

[Bug] configure error happens when run ./configure cmd #15

Open tuhaihe opened 1 year ago

tuhaihe commented 1 year ago

Cloudberry Database version

the latest main branch.

What happened

When I run the ./configure cmd at the CBDB directory, the configure error happens.

configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables ZSTD_CFLAGS
and ZSTD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

But I run the same cmd, it works for PostgreSQL project.

What you think should happen instead

When running the cmd ./configure, it should run successfully without errors.

How to reproduce

  1. Clong the CBDB repo
  2. Change to CBDB dir, and run the cmd ./configure

Operating System

macOS 13.2.1(Apple M1)

Anything else

This is my config.log file, PTAL. config-log.txt

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 1 year ago

Hey, @tuhaihe welcome!🎊 Thanks for taking the time to point this out.🙌