#379 Homebrew: prosody install with custom homebrew location: missing lua.h

Reporter michael.weibel
Owner Waqas
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Status-Fixed
  • Type-Defect
  1. michael.weibel on

    *What steps will reproduce the problem?* 1. Install homebrew to a custom location (e.g. /usr/local/homewbrew) 2. Try to install prosody with `brew install https://prosody.im/files/homebrew/prosody.rb` *What is the expected output? What do you see instead?* Prosody should install without problems, instead, it reports that "lua.h" is missing (in the configure step). *What version of the product are you using? On what operating system?* Prosody 0.9.1 on OSX 10.9.1 with Homebrew v0.9.5 See log: --------------------------------------------------------------------------- ==> ./configure --prefix=/usr/local/homebrew/Cellar/prosody/0.9.1 --ostype=macosx --with-lua-include=/usr/local/homebrew/Cellar/prosody/0.9.1/include Lua interpreter found: /usr/local/homebrew/opt/lua/bin/lua... -n Looking for Lua... -n Checking Lua includes... lua.h not found (looked in /usr/local/homebrew/Cellar/prosody/0.9.1/include/lua.h) You may want to use the flag --with-lua-include. See --help. ==> Formula Tap: path or URL Path: /Users/michael/code/prosody.rb ==> Configuration HOMEBREW_VERSION: 0.9.5 HEAD: 9ff3f40c04d8970aa369aa833f1c6f90a564ac11 HOMEBREW_PREFIX: /usr/local/homebrew CPU: dual-core 64-bit penryn OS X: 10.9.1-x86_64 Xcode: 5.0.2 CLT: 5.0.1.0.1.1382131676 X11: 2.7.4 => /opt/X11 ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j2 CMAKE_PREFIX_PATH: /usr/local/homebrew/opt/openssl:/usr/local/homebrew CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries PKG_CONFIG_PATH: /usr/local/homebrew/opt/lua/lib/pkgconfig:/usr/local/homebrew/opt/libidn/lib/pkgconfig:/usr/local/homebrew/opt/expat/lib/pkgconfig:/usr/local/homebrew/opt/libevent/lib/pkgconfig:/usr/local/homebrew/opt/openssl/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/homebrew/Library/ENV/pkgconfig/10.9 HOMEBREW_VERBOSE: 1 ACLOCAL_PATH: /usr/local/homebrew/share/aclocal PATH: /usr/local/homebrew/Library/ENV/4.3:/usr/local/homebrew/opt/lua/bin:/usr/local/homebrew/opt/luarocks/bin:/usr/local/homebrew/opt/libidn/bin:/usr/local/homebrew/opt/expat/bin:/usr/local/homebrew/opt/libevent/bin:/usr/local/homebrew/opt/openssl/bin:/usr/bin:/bin:/usr/sbin:/sbin Error: prosody did not build --------------------------------------------------------------------------- See attached patch file for a fix.

    Attachments
  2. MattJ on

    Hi, thanks for the report, and really sorry for the delay in processing it. The homebrew script was recently vastly improved, so I'm not sure if this is still a problem. If you happen to try it, and it is, feel free to re-open this issue. But for now, I'll close it in the hope you won't need to :) (Also adding Waqas as the owner of this report, so he gets notified - he's the new maintainer of the homebrew stuff).

    Changes
    • tags Status-Fixed
    • owner Waqas

New comment

Not published. Used for spam prevention and optional update notifications.