macOS Mojave brew install problem


(Jean Paul Marinho) #1

I’m having some problems to install a bottle using macOS Mojave:

checking for _FILE_OFFSET_BITS value needed for large files... no
checking for X... configure: error: in `/private/tmp/makedepend-20180609-19271-10tm7kn/makedepend-1.0.5':
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 X_CFLAGS
and X_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

Do not report this issue to Homebrew/brew or Homebrew/core!


Error: You are using macOS 10.14.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.

Error: A newer Command Line Tools release is available.
Update them from Software Update in the App Store.


Error: You are using macOS 10.14.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.

Anyone knows how to fix that?

Thanks!


(Sean Molenaar) #2

do you have pkg-config installed?


(Eduard Rozenberg) #3

Try:

xcode-select --install

Check Mac App Store for CLI tools update

brew install pkg-config

Then retry the bottle.


(Jean Paul Marinho) #4

It worked when I installed pkg-config!
Thanks!


(Jean Paul Marinho) #5

Yeah it worked!
Thanks :wink: