Comments (10)
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.
from legacy-linuxbrew.
Can you provide the full logs in a gist?
svn is not keg-only - @sjackman, do you know why that would print?
from legacy-linuxbrew.
I believe if symlinking fails, that message will print.
from legacy-linuxbrew.
For example, if SVN is already installed in /usr/local outside of Homebrew.
from legacy-linuxbrew.
That text comes from libtool, not Homebrew.
from legacy-linuxbrew.
Ah, thanks for clearing that up, Jack.
from legacy-linuxbrew.
For brew install svn
at first I get this error
==> Installing subversion dependency: serf
==> Downloading http://serf.googlecode.com/files/serf-1.2.1.tar.bz2
######################################################################## 100,0%
==> ./configure --prefix=/home/vv/linuxbrew/Cellar/serf/1.2.1 --with-apr=/usr/bin
checking target system type... i686-pc-linux-gnu
Configuring Apache Portable Runtime library...
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
These open issues may also help:
https://github.com/mxcl/homebrew/pull/21427
https://github.com/mxcl/homebrew/pull/21449
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
==> ./configure --prefix=/home/vv/linuxbrew/Cellar/subversion/1.8.0 --with-apr=/usr/bin --with-zlib=/usr --with- sqlite=/home/vv/linuxbrew/opt/sqlite --with-serf=/home/vv/linuxbrew/opt/serf --di
checking for egrep... /bin/grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
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
from legacy-linuxbrew.
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,
Shaun
from legacy-linuxbrew.
Hi,
I ran into exactly the same issue originally reported.
I didn't see anything related to keg-only in the formular.
And the library and binary do not existing in Cellar directory.
The gist log is here https://gist.github.com/anonymous/dff6ff729d44d1a85534
Thanks,
from legacy-linuxbrew.
https://gist.github.com/anonymous/dff6ff729d44d1a85534#file-05-make-L128-L133
libtool: warning: relinking 'libsvn_delta-1.la'
libtool: install: (cd /tmp/subversion-JCJW8L/subversion-1.8.11/subversion/libsvn_delta; /bin/bash "/tmp/subversion-JCJW8L/subversion-1.8.11/libtool" --tag CC --silent --mode=relink /home/yu/.linuxbrew/bin/gcc-4.9 -Os -w -pipe -march=core2 -pthread -DNDEBUG -L/home/yu/.linuxbrew/lib -Wl,-rpath,/home/yu/.linuxbrew/lib -L/home/yu/.linuxbrew/Cellar/subversion/1.8.11/libexec/serf/lib -rpath /home/yu/.linuxbrew/Cellar/subversion/1.8.11/lib -version-info 0 -Wl,--no-undefined -o libsvn_delta-1.la cancel.lo compat.lo compose_delta.lo debug_editor.lo default_editor.lo deprecated.lo depth_filter_editor.lo editor.lo path_driver.lo svndiff.lo text_delta.lo version.lo xdelta.lo ../../subversion/libsvn_subr/libsvn_subr-1.la -L/home/yu/.linuxbrew/Cellar/apr-util/1.5.4/libexec/lib -laprutil-1 -L/home/yu/.linuxbrew/Cellar/apr/1.5.1/libexec/lib -lapr-1 -lz )
/usr/bin/ld: cannot find -lsvn_delta-1
collect2: error: ld returned 1 exit status
libtool: error: error: relink 'libsvn_ra_serf-1.la' with the above command before installing it
make: *** [install-serf-lib] Error 1
from legacy-linuxbrew.
Related Issues (20)
- vim not getting build HOT 4
- `cairo` fails on Linux Mint 17.3 Rosa XFCE x64 HOT 3
- CEGMA 2.5 ? HOT 1
- where is the file .bashrc or .zshrc? HOT 8
- 'brew install llvm --with-lldb' fails HOT 1
- Error: SHA256 mismatch
- -e:1:in `flock': Function not implemented (Errno::ENOSYS) HOT 1
- Advantage of Linuxbrew over Chromebrew? HOT 2
- cannot execute binary file: Exec format error HOT 3
- Error: undefined method `rebuild' HOT 6
- util-linux: Conflicts with bash-completions HOT 25
- Error: Unsupported special dependency :perl HOT 1
- libxcb install but not exist HOT 2
- Support installation with out git installed HOT 4
- brew instal mpd HOT 1
- node: Error: Unsupported special dependency :perl HOT 1
- Unsupported special dependency: Perl HOT 1
- troubleshooting link is not working HOT 2
- gcc bad configured after fresh installation HOT 15
- homebrew upgrade error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legacy-linuxbrew.