Code Monkey home page Code Monkey logo

homebrew's People

Contributors

0xffea avatar adamv avatar afh avatar anarchivist avatar asaph avatar brettkoonce avatar camillol avatar casallas avatar chrmoritz avatar dholm avatar eagleflo avatar fsouza avatar jacknagel avatar jaimemf avatar jezdez avatar lovebug356 avatar manphiz avatar mikemcquaid avatar mindtooth avatar mislav avatar mistydemeo avatar mkhl avatar mnaberez avatar mxcl avatar noctem avatar rpavlik avatar samueljohn avatar sferik avatar sharpie avatar trevor avatar

Stargazers

 avatar

Watchers

 avatar

homebrew's Issues

bullet: install with --build-demo fails

$ brew install -dv bullet --build-demo\
...
Linking CXX executable AppAllBulletDemos
ld: library not found for -lGLUI

Maybe adding ENV.deparallelize() may fix this when installing demos

[linux] autotools-based formulae not generating shared libraries

The problem starts when doing ./configure, for example, libyaml at some point it says:

...
checking whether the /usr/bin/gcc linker (/usr/bin/gcc -m elf_x86_64) supports shared libraries... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
...

And at the end I only get libyaml.a and not libyaml.so.

Interestingly if I try to install the library "manually" (without brew) I do get shared libraries. I guess this is a problem with brew's ENV flags. I've played with them (change -O3 to -O2, remove -m64, etc.. ) but still nothing... (I've also tried updating binutils, libtool, autotools and m4 without any success)

bash-3.2$ cat /etc/*-release
Red Hat Enterprise Linux Client release 5.7 (Tikanga)
bash-3.2$ libtool --features
host: x86_64-redhat-linux-gnu
enable shared libraries
enable static libraries

std_qmake_spec

Should probably go in Library/Homebrew/formula.rb, as std_cmake_parameters
It should choose the QMAKESPEC (see /usr/local/Cellar/qt/4.7.4/mkspecs) according to the active compiler, e.g. --use-llvm should generate -spec macx-llvm, --use-gcc should generate -spec macx-g++ and --use-clang should generate some warning, since clang isn't currently a supported makespec.

[linux] nonfatal error when doing 'brew info x'

It stills shows the formula information but shows an annoying message, e.g. with vrjuggler:

$ brew info vrjuggler
vrjuggler 3.0.0-1
http://code.google.com/p/vrjuggler/
Depends on: boost, cppdom, gmtl, flagpoll, freealut, vrpn, omniorb
Not installed
Error: undefined method `basename' for "/home/users/casallas/homebrew/Library/Formula/vrjuggler.rb":String
Please follow the instructions to report this bug at: 
https://github.com/rubiojr/homebrew/wiki/new-issue
/home/users/casallas/homebrew/Library/Homebrew/brew.h.rb:204:in `github_info'
/home/users/casallas/homebrew/Library/Homebrew/brew.h.rb:246:in `info'
/home/users/casallas/homebrew/bin/brew:258:in `block in <main>'
/home/users/casallas/homebrew/bin/brew:258:in `each'
/home/users/casallas/homebrew/bin/brew:258:in `<main>'

update wv to 1.2.9

the last wv I built was 1.2.5
apparently rpavlik got 1.2.7 built, which has the same build system as 1.2.9, ask him

[linux] not applicable brew doctor warning concerning pkg-config

Because in linux-land /usr/X11 doesn't exist, it doesn't need to be verified...

Your pkg-config is not checking "/usr/X11/lib/pkgconfig" for packages.
Earlier versions of the pkg-config formula did not add this path
to the search path, which means that other formula may not be able
to find certain dependencies.

[linux] collada-dom install not working

There seems to be a problem with the local boost...

==> Downloading http://downloads.sourceforge.net/project/collada-dom/Collada%20DOM/Collada%20DOM%202.3/collada_dom-2.3.1
File already downloaded and cached to /home/users/casallas/.homebrew/cache
==> Downloading patches
==> Patching
patching file CMakeLists.txt
==> cmake -DCMAKE_INSTALL_PREFIX='/home/users/casallas/homebrew/Cellar/collada-dom/2.3.1' -DCMAKE_BUILD_TYPE=None -Wno-d
-- The C compiler identification is GNU 4.4.6
-- The CXX compiler identification is GNU 4.4.6
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Compiling Collada DOM Version 2.3.1
-- Using cmake version 2.8
-- installing to /home/users/casallas/homebrew/Cellar/collada-dom/2.3.1
-- Found PkgConfig: /home/users/casallas/homebrew/bin/pkg-config (found version "0.27.1") 
CMake Error at /usr/lib64/boost_old/BoostConfig.cmake:28 (include):
  include could not find load file:

    /usr/lib64/boost/Boost.cmake
Call Stack (most recent call first):
  /home/users/casallas/homebrew/Cellar/cmake/2.8.9/share/cmake/Modules/FindBoost.cmake:284 (find_package)
  CMakeLists.txt:127 (find_package)


Boost  found.
Found Boost components:
   filesystem;system
-- found boost version: 1.41.0
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.3") 
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.7.6") 
-- libxml2 found
-- checking for module 'minizip'
--   package 'minizip' not found
-- compiling minizip from sources and linking statically
-- checking for module 'libpcrecpp'
--   found libpcrecpp, version 8.31
-- Looking for C++ include pcrecpp.h
-- Looking for C++ include pcrecpp.h - found
-- Configuring incomplete, errors occurred!
Exit status: 1

http://github.com/mxcl/homebrew/blob/master/Library/Formula/.rb#L

==> Environment
HOMEBREW_VERSION: 0.7.1
HEAD: c5fbeb9bfd05407fc7220b2e79352427a8ce7d0a
HOMEBREW_PREFIX: /home/users/casallas/homebrew
HOMEBREW_CELLAR: /home/users/casallas/homebrew/Cellar
HOMEBREW_REPOSITORY: /home/users/casallas/homebrew
HOMEBREW_LIBRARY_PATH: /home/users/casallas/homebrew/Library/Homebrew
Hardware: 32-core 32-bit dunno
PLATFORM: x86_64-linux
Kernel Architecture: x86_64
Ruby: 1.9.3-194
/usr/bin/ruby => /home/users/casallas/homebrew/Cellar/ruby/1.9.3-p194/bin/ruby
Xcode: ?
GCC-4.0: build 5664 
GCC-4.2: build 5664 
LLVM: N/A 
MacPorts or Fink? false
X11 installed? true

==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc
CXX: /usr/bin/c++
CFLAGS: -O3 -mfpmath=sse -w -pipe
CXXFLAGS: -O3 -mfpmath=sse -w -pipe
CPPFLAGS: -isystem /home/users/casallas/homebrew/include
LDFLAGS: -L/home/users/casallas/homebrew/lib
MAKEFLAGS: -j32
Error: Failure while executing: cmake -DCMAKE_INSTALL_PREFIX='/home/users/casallas/homebrew/Cellar/collada-dom/2.3.1' -DCMAKE_BUILD_TYPE=None -Wno-dev . 
Please follow the instructions to report this bug at: 
https://github.com/jscasallas/homebrew/wiki/new-issue

Also try:
  `brew doctor` to check your setup for common problems.
  `brew missing` to check installed packages for missing deps.

[linux] brew info not working

Below the output for libyaml, but it is equivalent for all other formulae:

bash-3.2$ brew info libyaml
libyaml 0.1.4
http://pyyaml.org/wiki/LibYAML
/home/users/casallas/local/Cellar/libyaml/0.1.4 (5 files, 288K)
Error: undefined method `basename' for "/home/users/casallas/local/Library/Formula/libyaml.rb":String
Please follow the instructions to report this bug at: 
https://github.com/rubiojr/homebrew/wiki/new-issue
/home/users/casallas/local/Library/Homebrew/brew.h.rb:204:in `github_info'
/home/users/casallas/local/Library/Homebrew/brew.h.rb:246:in `info'
/home/users/casallas/local/bin/brew:258:in `block in <main>'
/home/users/casallas/local/bin/brew:258:in `each'
/home/users/casallas/local/bin/brew:258:in `<main>'

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.