Giter VIP home page Giter VIP logo

Comments (6)

sjackman avatar sjackman commented on May 23, 2024

Thanks for the tip, Cesar.

from legacy-linuxbrew.

benswift avatar benswift commented on May 23, 2024

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?

from legacy-linuxbrew.

sjackman avatar sjackman commented on May 23, 2024

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?

from legacy-linuxbrew.

benswift avatar benswift commented on May 23, 2024

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.

from legacy-linuxbrew.

sjackman avatar sjackman commented on May 23, 2024

Woops. I had an uncomitted patch for python. It's pushed now: 3ad2130.

from legacy-linuxbrew.

benswift avatar benswift commented on May 23, 2024

Cool, thanks Shaun.

Cheers,
Ben

On 14 Feb 2014, at 10:54 am, Shaun Jackman [email protected] wrote:

Woops. I had an uncomitted patch for python. It's pushed now: 3ad2130.


Reply to this email directly or view it on GitHub.

from legacy-linuxbrew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.