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:


(Tomasz ) #6

Hi , I have similar problem when I tried to brew install dbt

Traceback (most recent call last):
  File "/tmp/dbt--homebrew-virtualenv-20180630-70637-1saxvy3/target/bin/virtualenv", line 11, in <module>
    load_entry_point('virtualenv==16.0.0', 'console_scripts', 'virtualenv')()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2318, in load
    return self.resolve()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2324, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/tmp/dbt--homebrew-virtualenv-20180630-70637-1saxvy3/target/lib/python3.7/site-packages/virtualenv.py", line 22, in <module>
    import zlib
ModuleNotFoundError: No module named 'zlib'

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: 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 can help me with above?

I’ve tried

installing pkg-config which throws the same issue
installed xcode-select
reinstalling ‘python (python 3.7)’
instaling zlib


(Sean Molenaar) #7

The zlib seems to be an issue with the macOS beta.


(Tomasz ) #8

issue solved, i’ve found my solution here