Linuxbrew / legacy-linuxbrew

:skull: This repository is defunct, because it has been split into https://github.com/Linuxbrew/brew and https://github.com/Linuxbrew/homebrew-core
http://linuxbrew.sh
Other
2.23k stars 296 forks source link

Update Troubleshooting.md #1120

Closed behnam closed 7 years ago

behnam commented 7 years ago

Fixing the dead line, as I got sent here from the CLI.

sjackman commented 7 years ago

This repository is kaput and has moved to https://github.com/Linuxbrew/brew Can you clarify which command sent you to this repo?

behnam commented 7 years ago

On my Ubuntu 16.04.3 LTS machine, brew install watchman fails for some reason and gives me this:

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
consul-template                  entr                             goocanvas                        systemd
coreutils                        etcd                             heroku                           translate-toolkit
docker-compose                   exempi                           kubernetes-helm                  vtk
docker-compose-completion        firebase-cli                     libu2f-host                      youtube-dl
dub                              fluent-bit                       rustup-init
duck                             gitbucket                        sqlmap

==> Downloading https://github.com/facebook/watchman/archive/v4.9.0.tar.gz
Already downloaded: /home/behnam/.cache/Homebrew/watchman-4.9.0.tar.gz
==> ./autogen.sh
==> ./configure --prefix=/home/behnam/.linuxbrew/Cellar/watchman/4.9.0 --with-pcre --without-python --enable-statedir=/home/behnam/.
==> make
==> make install
==> python -c import setuptools... --no-user-cfg install --prefix=/home/behnam/.linuxbrew/Cellar/watchman/4.9.0/libexec --single-ver
Last 15 lines from /home/behnam/.cache/Homebrew/Logs/watchman/05.python:
creating build/lib.linux-x86_64-2.7/pywatchman
copying pywatchman/capabilities.py -> build/lib.linux-x86_64-2.7/pywatchman
copying pywatchman/encoding.py -> build/lib.linux-x86_64-2.7/pywatchman
copying pywatchman/load.py -> build/lib.linux-x86_64-2.7/pywatchman
copying pywatchman/compat.py -> build/lib.linux-x86_64-2.7/pywatchman
copying pywatchman/pybser.py -> build/lib.linux-x86_64-2.7/pywatchman
copying pywatchman/__init__.py -> build/lib.linux-x86_64-2.7/pywatchman
running build_ext
building 'pywatchman.bser' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/pywatchman
gcc-5 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c pywatchman/bser.c -o build/temp.linux-x86_64-2.7/pywatchman/bser.o
pywatchman/bser.c:31:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc-5' failed with exit status 1

READ THIS: https://github.com/Linuxbrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting
Please do not report this issue to Homebrew/brew or Homebrew/core, which support macOS only.

Update: Oh, wait! This is a correct link! I don't know how I got here, then. :/

iMichka commented 7 years ago

watchman got an update lately, and will get a pre-compiled bottle in a few hours, once https://github.com/Linuxbrew/homebrew-core/pull/4114 is merged. You can watch that topic, wait for the merge; and test again. Thanks.