-
Notifications
You must be signed in to change notification settings - Fork 297
brew install svn failed #21
Comments
I don't see the actual error message in the text that you've included, which is the standard boiler-plate text for a keg-only install. |
Can you provide the full logs in a gist? svn is not keg-only - @sjackman, do you know why that would print? |
I believe if symlinking fails, that message will print. |
For example, if SVN is already installed in /usr/local outside of Homebrew. |
That text comes from libtool, not Homebrew. |
Ah, thanks for clearing that up, Jack. |
For
Which can be fixed by diff --git a/Library/Formula/serf.rb b/Library/Formula/serf.rb
index 2eea834..3d9bfc1 100644
--- a/Library/Formula/serf.rb
+++ b/Library/Formula/serf.rb
@@ -10,8 +10,13 @@ class Serf < Formula
depends_on :libtool
depends_on 'sqlite'
+ if not MACOS
+ depends_on 'apr'
+ depends_on 'apr-util'
+ end
+
def apr_bin
- superbin or "/usr/bin"
+ superbin or Formula.factory('apr').opt_prefix
end
def install Another problem is fixed here Homebrew/legacy-homebrew@db1f06f#Library/Formula/subversion.rb Then problem is
which is fixed by diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb
index 53020a2..acaa8d1 100644
--- a/Library/Formula/subversion.rb
+++ b/Library/Formula/subversion.rb
@@ -53,7 +53,7 @@ class Subversion < Formula
end if (build.include? 'perl') or (build.include? 'ruby')
def apr_bin
- superbin or "/usr/bin"
+ superbin or Formula.factory('apr').opt_prefix
end
def install |
Dependencies that are included with Mac OS X are not listed as dependencies in Homebrew formulae. It'd be great if they were, but we'd need to sort with the mxcl/homebrew folk how to best go about that. In the mean time, I suggest installing APR with your native package manager (apt-get or yum). Cheers, |
Hi, I ran into exactly the same issue originally reported. The gist log is here https://gist.github.com/anonymous/dff6ff729d44d1a85534 Thanks, |
https://gist.github.com/anonymous/dff6ff729d44d1a85534#file-05-make-L128-L133
|
Libraries have been installed in:
/home/huahang/.linuxbrew/Cellar/subversion/1.8.1/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
during execution
during linking
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: f4e8491
HOMEBREW_PREFIX: /home/huahang/.linuxbrew
CPU: quad-core 64-bit dunno
OS X: 0-x86_64
X11: N/A
==> ENV
CC: /usr/bin/gcc => /usr/bin/gcc-4.6
CXX: /usr/bin/g++ => /usr/bin/g++-4.6
CFLAGS: -Os -w -pipe -march=core2 -msse4
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
CPPFLAGS: -I/home/huahang/.linuxbrew/opt/sqlite/include -I/home/huahang/.linuxbrew/opt/readline/include -isystem /home/huahang/.linuxbrew/include
LDFLAGS: -L/home/huahang/.linuxbrew/opt/sqlite/lib -L/home/huahang/.linuxbrew/opt/readline/lib -L/home/huahang/.linuxbrew/lib
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /home/huahang/.linuxbrew/opt/sqlite:/home/huahang/.linuxbrew/opt/readline:/home/huahang/.linuxbrew
PKG_CONFIG_PATH: /home/huahang/.linuxbrew/opt/sqlite/lib/pkgconfig
PKG_CONFIG_LIBDIR: /home/huahang/.linuxbrew/lib/pkgconfig:/usr/lib/pkgconfig
ACLOCAL_PATH: /home/huahang/.linuxbrew/share/aclocal
OBJC: /usr/bin/gcc
PATH: /home/huahang/.linuxbrew/opt/sqlite/bin:/home/huahang/.jenv/bin:/home/huahang/.linuxbrew/bin:/home/huahang/Applications/pidcat:/home/huahang/Applications/android-ndk-r8e:/home/huahang/Applications/android-sdk/platform-tools:/home/huahang/Applications/android-sdk/tools:/home/huahang/Applications/phabricator/arcanist/bin:/home/huahang/Applications/hadoop-2.0.0-mdh1.2.0-SNAPSHOT/bin:/zfs/Applications/jdk1.6.0_45/bin:/home/huahang/bin:/home/huahang/.jenv/bin:/home/huahang/.jenv/candidates/scala/current/bin:/home/huahang/.jenv/candidates/sbt/current/bin:/home/huahang/.jenv/candidates/maven/current/bin:/home/huahang/.jenv/candidates/java/current/bin:/home/huahang/.jenv/candidates/gradle/current/bin:/home/huahang/Applications/pidcat:/home/huahang/Applications/android-ndk-r8e:/home/huahang/Applications/android-sdk/platform-tools:/home/huahang/Applications/android-sdk/tools:/home/huahang/Applications/phabricator/arcanist/bin:/home/huahang/Applications/hadoop-2.0.0-mdh1.2.0-SNAPSHOT/bin:/zfs/Applications/jdk1.6.0_45/bin:/home/huahang/bin:/home/huahang/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/huahang/.linuxbrew/Library/Contributions/cmd
The text was updated successfully, but these errors were encountered: