Closed canassa closed 10 years ago
Thanks for the tip, Cesar.
Also, just a heads up, I also needed to sudo apt-get install python-dev
to get cmake to build on Ubuntu 13.10.
I tried to get python through brew install python
, but it failed. Are people usually using the system python?
I do use the Homebrew python 2.7.6 on both Mac and Linux. Using the system python is totally reasonable too. What was the error that you got when building python?
Here's the dump
ben@lonyx ~ $ brew install python
==> Downloading http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
Already downloaded: /home/ben/.cache/Homebrew/python-2.7.6.tgz
==> ./configure --prefix=/home/ben/.linuxbrew/Cellar/python/2.7.6 --enable-ipv6 --datarootdir=/home/ben/.linuxbrew/Cellar/python/2.7.6/share --datadir=/home/ben/.linuxbrew/
==> make
./Modules/getpath.c:476:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
buf = (char *)NSLibraryNameForModule(pythonModule);
^
make: *** [Modules/getpath.o] Error 1
make: *** Waiting for unfinished jobs....
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
These open issues may also help:
python failed to build on 10.9.1 (https://github.com/Homebrew/homebrew/issues/26166)
cmake find_package(PythonLibs) broken with brewed python on 10.9 (https://github.com/Homebrew/homebrew/issues/25118)
In python Formula, it seems that "brewed python part" in sitecustomize.py is not called (https://github.com/Homebrew/homebrew/issues/26377)
Meld causes python dump in 10.9 (https://github.com/Homebrew/homebrew/issues/26273)
subversion: make python bindings build on 10.9. (https://github.com/Homebrew/homebrew/pull/26156)
My homebrew is up-to-date. brew doctor
gives many warnings but they all seem to be related to being on linux. Here's the output:
Warning: Your file-system on [["/"]] appears to be CaSe SeNsItIvE.
Homebrew is less tested with that - don't worry but please report issues.
Error: Failed to import: lsyncd
No such file or directory - sw_vers -productVersion
Warning: Suspicious git origin remote found.
With a non-standard origin, Homebrew won't pull updates from
the main repository. The current git origin is:
https://github.com/Homebrew/linuxbrew.git
Unless you have compelling reasons, consider setting the
origin remote to point at the main repository, located at:
https://github.com/Homebrew/homebrew.git
Warning: The version of libcurl provided with Mac OS X 0 has outdated
SSL certificates.
This can cause problems when running Homebrew commands that use Git to
fetch over HTTPS, e.g. `brew update` or installing formulae that perform
Git checkouts.
You can force Git to ignore these errors:
export GIT_SSL_NO_VERIFY=1
or
git config --global http.sslVerify false
Warning: Your Homebrew is not installed to /usr/local
You can install Homebrew anywhere you want, but some brews may only build
correctly if you install in /usr/local. Sorry!
Warning: Ruby version 1.9.3 is unsupported.
Homebrew is developed and tested on Ruby 1.8.x, and may not work correctly
on other Rubies. Patches are accepted as long as they don't break on 1.8.x.
Woops. I had an uncomitted patch for python. It's pushed now: 3ad2130b339b3d72764d1b5c11591bb22652495a.
Cool, thanks Shaun.
Cheers, Ben
On 14 Feb 2014, at 10:54 am, Shaun Jackman notifications@github.com wrote:
Woops. I had an uncomitted patch for python. It's pushed now: 3ad2130.
— Reply to this email directly or view it on GitHub.
Hi
brew install cmake
failed in a Ubuntu box due to a missing libcurl. Here is the full log:Installing libcurl4-openssl-dev fixed the problem. Maybe it should be added to the readme?
Thanks,