same issue on lion
On Wednesday, July 18, 2012 2:28:33 AM UTC+8, p51d78th wrote: > > I had the same thing happen to me and haven't had time to dig into it at > all. My initial guess (key word) was that it is having an issue with the > warning that was thrown above that. > > Warning: inreplace in 'acprep' failed > > I may be completely off in that guess but someone who knows the homebrew > formula function inreplace needs to verify that. > > > On Monday, July 16, 2012 11:55:43 PM UTC-4, Alejandro Gaviria wrote: >> >> Howdy all, I'm trying to install ledger3.0 via Homebrew using *brew >> install ledger --HEAD >> *However, it fails with the following: >> >> $ brew install ledger --HEAD >> [23:38:25] >> ==> Installing ledger >> ==> Cloning https://github.com/jwiegley/ledger.git >> Cloning into /Library/Caches/Homebrew/ledger--git... >> remote: Counting objects: 1774, done. >> remote: Compressing objects: 100% (1409/1409), done. >> remote: Total 1774 (delta 669), reused 985 (delta 318) >> Receiving objects: 100% (1774/1774), 19.84 MiB | 1.25 MiB/s, done. >> Resolving deltas: 100% (669/669), done. >> ==> Checking out branch next >> Submodule 'lib/utfcpp' (http://github.com/jwiegley/utfcpp.git) >> registered for path 'lib/utfcpp' >> Cloning into lib/utfcpp... >> remote: Counting objects: 37, done. >> remote: Compressing objects: 100% (28/28), done. >> remote: Total 37 (delta 10), reused 36 (delta 9) >> Unpacking objects: 100% (37/37), done. >> Submodule path 'lib/utfcpp': checked out >> '2233ec933f5661c7050b94d3b14f5f9f51ae3d55' >> Warning: inreplace in 'acprep' failed >> Expected replacement of ''-arch', 'i386', ' with '' >> ==> ./acprep -j4 opt make -- --prefix=/usr/local/Cellar/ledger/HEAD >> acprep: ERROR: Unknown build phase: >> >> ==> Build Environment >> CPU: quad-core 64-bit sandybridge >> MacOS: 10.7.4-x86_64 >> Xcode: 4.3.3 >> CC: /usr/bin/clang >> CXX: /usr/bin/clang++ => /usr/bin/clang >> LD: /usr/bin/clang >> CFLAGS: -Os -w -pipe -march=native -Qunused-arguments >> CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments >> CPPFLAGS: -I/usr/local/Cellar/gettext/0.18.1.1/include >> LDFLAGS: -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib >> MAKEFLAGS: -j4 >> Error: Failed executing: ./acprep -j4 opt make -- >> --prefix=/usr/local/Cellar/ledger/HEAD (ledger.rb:31) >> If `brew doctor' does not help diagnose the issue, please report the bug: >> https://github.com/mxcl/homebrew/wiki/reporting-bugs >> >> >> Can someone please be kind enough to give me some direction on how I can >> build ledger3.0 on OSX via brew or git? I try to avoid using macports >> whenever possible. >> >
