<div class="gmail_extra">No pb ...</div><div class="gmail_extra">This morning I went back to the problem and still have a problem (see below)</div><div class="gmail_extra">First it seems there is a chown problem ... which might lead later to more problems.</div>
<div class="gmail_extra">Is that an homebrew problem.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I want to point out that I use Xcode CLI and not the full version (see <a href="http://kennethreitz.com/xcode-gcc-and-homebrew.html">http://kennethreitz.com/xcode-gcc-and-homebrew.html</a>)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Best Regards</div><div class="gmail_extra">Guillaume</div><div class="gmail_extra">...</div><div class="gmail_extra"><div class="gmail_extra">==> Installing juju dependency: zookeeper</div>
<div class="gmail_extra">==> Downloading <a href="http://www.apache.org/dyn/closer.cgi?path=zookeeper/zookeeper-3.4.3/zookeeper-3.4.3.tar.gz">http://www.apache.org/dyn/closer.cgi?path=zookeeper/zookeeper-3.4.3/zookeeper-3.4.3.tar.gz</a></div>
<div class="gmail_extra">Already downloaded: /Library/Caches/Homebrew/zookeeper-3.4.3.tar.gz</div><div class="gmail_extra">/usr/local/Cellar/zookeeper/3.4.3: 191 files, 11M, built in 2 seconds</div><div class="gmail_extra">
==> Installing juju</div><div class="gmail_extra">==> Cloning lp:juju</div><div class="gmail_extra">Updating /Library/Caches/Homebrew/juju--bzr</div><div class="gmail_extra">Tree is up to date at revision 532 of branch <a href="http://bazaar.launchpad.net/~juju/juju/trunk">http://bazaar.launchpad.net/~juju/juju/trunk</a>                                                                                    </div>
<div class="gmail_extra">==> sudo chown -R $USER:staff /usr/local</div><div class="gmail_extra">Password:</div><div class="gmail_extra">chown: $USER: Invalid argument</div><div class="gmail_extra">==> Build Environment</div>
<div class="gmail_extra">CPU: 8-core 64-bit sandybridge</div><div class="gmail_extra">MacOS: 10.7.3-x86_64</div><div class="gmail_extra">Xcode: 4.3</div><div class="gmail_extra">CC: /usr/bin/clang</div><div class="gmail_extra">
CXX: /usr/bin/clang++ => /usr/bin/clang</div><div class="gmail_extra">LD: /usr/bin/clang</div><div class="gmail_extra">CFLAGS: -w -pipe</div><div class="gmail_extra">CXXFLAGS: -w -pipe</div><div class="gmail_extra">Error: Failed executing: sudo chown -R $USER:staff /usr/local (juju.rb:26)</div>
<div class="gmail_extra">If `brew doctor' does not help diagnose the issue, please report the bug:</div><div class="gmail_extra">    <a href="https://github.com/jujutools/homebrew-juju/issues/new">https://github.com/jujutools/homebrew-juju/issues/new</a></div>
<div class="gmail_extra">bash-3.2$ brew doctor</div><div class="gmail_extra"><br></div><div class="gmail_extra">Warning: "config" scripts exist outside your system or Homebrew directories.</div><div class="gmail_extra">
`./configure` scripts often look for *-config scripts to determine if</div><div class="gmail_extra">software packages are installed, and what additional flags to use when</div><div class="gmail_extra">compiling and linking.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Having additional scripts in your path can confuse software installed via</div><div class="gmail_extra">Homebrew if the config script overrides a system or Homebrew provided</div>
<div class="gmail_extra">script of the same name. We found the following "config" scripts:</div><div class="gmail_extra"><br></div><div class="gmail_extra">    /Applications/ec2-api-tools-1.5.3.0/bin/as-create-launch-config</div>
<div class="gmail_extra">    /Applications/ec2-api-tools-1.5.3.0/bin/as-delete-launch-config</div><div class="gmail_extra">Warning: /usr/bin occurs before /usr/local/bin</div><div class="gmail_extra">This means that system-provided programs will be used instead of those</div>
<div class="gmail_extra">provided by Homebrew. The following tools exist at both paths:</div><div class="gmail_extra"><br></div><div class="gmail_extra">    easy_install</div><div class="gmail_extra">    easy_install-2.7</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Consider amending your PATH so that /usr/local/bin</div><div class="gmail_extra">is ahead of /usr/bin in your PATH.</div><div class="gmail_extra">Warning: Homebrew's sbin was not found in your path.</div>
<div class="gmail_extra">Consider amending your PATH variable so it contains:</div><div class="gmail_extra">  /usr/local/sbin</div><div class="gmail_extra">Warning: Your Xcode is configured with an invalid path.</div><div class="gmail_extra">
You should change it to the correct path. Please note that there is no correct</div><div class="gmail_extra">path at this time if you have *only* installed the Command Line Tools for Xcode.</div><div class="gmail_extra">If your Xcode is pre-4.3 or you installed the whole of Xcode 4.3 then one of</div>
<div class="gmail_extra">these is (probably) what you want:</div><div class="gmail_extra"><br></div><div class="gmail_extra">    sudo xcode-select -switch /Developer</div><div class="gmail_extra">    sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">DO NOT SET / OR EVERYTHING BREAKS!</div><div class="gmail_extra">bash-3.2$ </div><div><br></div><br><div class="gmail_quote">On Sun, Apr 29, 2012 at 5:22 AM, Brandon Holtsclaw <span dir="ltr"><<a href="mailto:me@brandonholtsclaw.com" target="_blank">me@brandonholtsclaw.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Apologies for not getting back to you and the list earlier, but juju should now be installable once again. I'll be making a blog post about it later as well so the wider community will be aware if they had tried to update or install the past day or so it likely had failed. Also if you have more problems feel free to catch me on IRC as well in #juju on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> or file a bug on Launchpad and if your using OS X, please include that in the description or add a bug tag of osx . :)<div>

<br></div><div><div>To pickup where you left off just "brew update && brew install juju" (no quotes)</div><div> </div><div>Please do NOT use sudo with those commands as you may be used to with apt-get et al., brew installed things into the user writeable /usr/local file hierarchy and if you use sudo not only will it possibly create permissions problems in /usr/local/* in the future but brew will fail, and very loudly at that to do anything as root.</div>

<div><br></div><div>Cheers!<div class="im"><br clear="all">-- <br>Brandon Holtsclaw<br>Web <a href="http://brandonholtsclaw.com" target="_blank">http://brandonholtsclaw.com</a><br>Voice/SMS Tel:816-974-6106<br><br>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Sat, Apr 28, 2012 at 9:26 AM, tog <span dir="ltr"><<a href="mailto:guillaume.alleon@gmail.com" target="_blank">guillaume.alleon@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra">Thanks for this quick answer. Will wait for the brew update.</div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 28, 2012 at 7:52 PM, Brandon Holtsclaw <span dir="ltr"><<a href="mailto:me@brandonholtsclaw.com" target="_blank">me@brandonholtsclaw.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yup, there was an issue reported in the bug tracker about this a few hours ago, got a fix in the works and should be uploaded soon<div>


<br></div><div>If you like you can download the tarbal of juju and once unzipped you can run "sudo python setup.py install" and it will clear up and install from that point, the hard part of installing the other requirements has been completed by that point.</div>



<div><br></div><div>Brew should be updated by the end of the day though with a fix if you'd like to wait and for that.</div><div><br clear="all">-- <br>Brandon Holtsclaw<br>Web <a href="http://brandonholtsclaw.com" target="_blank">http://brandonholtsclaw.com</a><br>



Voice/SMS Tel:<a href="tel:816-974-6106" value="+18169746106" target="_blank">816-974-6106</a><br><br>
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sat, Apr 28, 2012 at 8:53 AM, tog <span dir="ltr"><<a href="mailto:guillaume.alleon@gmail.com" target="_blank">guillaume.alleon@gmail.com</a>></span> wrote:<br>



</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi,<div><br></div><div>I tried to install juju using brew. </div><div><br></div><div>
<div>togs-MacBook-Pro:~ tog$ brew install juju</div>
<div>==> Downloading <a href="https://launchpad.net/ubuntu/precise/+source/juju/0.5+bzr531-0ubuntu1/+files/juju_0.5+bzr531.orig.tar.gz" target="_blank">https://launchpad.net/ubuntu/precise/+source/juju/0.5+bzr531-0ubuntu1/+files/juju_0.5+bzr531.orig.tar.gz</a></div>




<div>Already downloaded: /Library/Caches/Homebrew/juju-0.5.531.tar.gz</div><div>==> sudo /usr/bin/easy_install txzookeeper PyYAML txaws pydot oauth</div><div>==> sudo /usr/bin/python ./setup.py install</div><div>Error: Permission denied - /tmp/homebrew-juju-0.5.531-qXpu/juju_0.5+bzr531.orig/build/bdist.macosx-10.7-intel</div>




<div>togs-MacBook-Pro:~ tog$ brew install juju</div><div>==> Downloading <a href="https://launchpad.net/ubuntu/precise/+source/juju/0.5+bzr531-0ubuntu1/+files/juju_0.5+bzr531.orig.tar.gz" target="_blank">https://launchpad.net/ubuntu/precise/+source/juju/0.5+bzr531-0ubuntu1/+files/juju_0.5+bzr531.orig.tar.gz</a></div>




<div>Already downloaded: /Library/Caches/Homebrew/juju-0.5.531.tar.gz</div><div>==> sudo /usr/bin/easy_install txzookeeper PyYAML txaws pydot oauth</div><div>Password:</div><div>==> sudo /usr/bin/python ./setup.py install</div>




<div>Error: Permission denied - /tmp/homebrew-juju-0.5.531-dSAC/juju_0.5+bzr531.orig/build/bdist.macosx-10.7-intel</div><div><br></div><div><br></div><div>Anyone having the same issue ?</div><div><br></div><div>Best Regards</div>




<div>Guillaume</div><span><font color="#888888"><div><br></div><div><br></div><div><br></div>-- <br>PGP KeyID: 2048R/EA31CFC9  <a href="http://subkeys.pgp.net" target="_blank">subkeys.pgp.net</a><br>
</font></span></div>
<br></div></div><span><font color="#888888">--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com" target="_blank">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
<br></font></span></blockquote></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>PGP KeyID: 2048R/EA31CFC9  <a href="http://subkeys.pgp.net" target="_blank">subkeys.pgp.net</a><br>
</div>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>PGP KeyID: 2048R/EA31CFC9  <a href="http://subkeys.pgp.net" target="_blank">subkeys.pgp.net</a><br>
</div>