juju Mac OS Lion

tog guillaume.alleon at gmail.com
Sun Apr 29 08:46:29 UTC 2012


No pb ...
This morning I went back to the problem and still have a problem (see below)
First it seems there is a chown problem ... which might lead later to more
problems.
Is that an homebrew problem.

I want to point out that I use Xcode CLI and not the full version (see
http://kennethreitz.com/xcode-gcc-and-homebrew.html)

Best Regards
Guillaume
...
==> Installing juju dependency: zookeeper
==> Downloading
http://www.apache.org/dyn/closer.cgi?path=zookeeper/zookeeper-3.4.3/zookeeper-3.4.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/zookeeper-3.4.3.tar.gz
/usr/local/Cellar/zookeeper/3.4.3: 191 files, 11M, built in 2 seconds
==> Installing juju
==> Cloning lp:juju
Updating /Library/Caches/Homebrew/juju--bzr
Tree is up to date at revision 532 of branch
http://bazaar.launchpad.net/~juju/juju/trunk

==> sudo chown -R $USER:staff /usr/local
Password:
chown: $USER: Invalid argument
==> Build Environment
CPU: 8-core 64-bit sandybridge
MacOS: 10.7.3-x86_64
Xcode: 4.3
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -w -pipe
CXXFLAGS: -w -pipe
Error: Failed executing: sudo chown -R $USER:staff /usr/local (juju.rb:26)
If `brew doctor' does not help diagnose the issue, please report the bug:
    https://github.com/jujutools/homebrew-juju/issues/new
bash-3.2$ brew doctor

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:

    /Applications/ec2-api-tools-1.5.3.0/bin/as-create-launch-config
    /Applications/ec2-api-tools-1.5.3.0/bin/as-delete-launch-config
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

    easy_install
    easy_install-2.7

Consider amending your PATH so that /usr/local/bin
is ahead of /usr/bin in your PATH.
Warning: Homebrew's sbin was not found in your path.
Consider amending your PATH variable so it contains:
  /usr/local/sbin
Warning: Your Xcode is configured with an invalid path.
You should change it to the correct path. Please note that there is no
correct
path at this time if you have *only* installed the Command Line Tools for
Xcode.
If your Xcode is pre-4.3 or you installed the whole of Xcode 4.3 then one of
these is (probably) what you want:

    sudo xcode-select -switch /Developer
    sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

DO NOT SET / OR EVERYTHING BREAKS!
bash-3.2$


On Sun, Apr 29, 2012 at 5:22 AM, Brandon Holtsclaw
<me at brandonholtsclaw.com>wrote:

> 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
> irc.freenode.net 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 . :)
>
> To pickup where you left off just "brew update && brew install juju" (no
> quotes)
>
> 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.
>
> Cheers!
>
> --
> Brandon Holtsclaw
> Web http://brandonholtsclaw.com
> Voice/SMS Tel:816-974-6106
>
>
>
> On Sat, Apr 28, 2012 at 9:26 AM, tog <guillaume.alleon at gmail.com> wrote:
>
>> Thanks for this quick answer. Will wait for the brew update.
>>
>>
>> On Sat, Apr 28, 2012 at 7:52 PM, Brandon Holtsclaw <
>> me at brandonholtsclaw.com> wrote:
>>
>>> 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
>>>
>>> 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.
>>>
>>> Brew should be updated by the end of the day though with a fix if you'd
>>> like to wait and for that.
>>>
>>> --
>>> Brandon Holtsclaw
>>> Web http://brandonholtsclaw.com
>>> Voice/SMS Tel:816-974-6106
>>>
>>>
>>>
>>> On Sat, Apr 28, 2012 at 8:53 AM, tog <guillaume.alleon at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I tried to install juju using brew.
>>>>
>>>> togs-MacBook-Pro:~ tog$ brew install juju
>>>> ==> Downloading
>>>> https://launchpad.net/ubuntu/precise/+source/juju/0.5+bzr531-0ubuntu1/+files/juju_0.5+bzr531.orig.tar.gz
>>>> Already downloaded: /Library/Caches/Homebrew/juju-0.5.531.tar.gz
>>>> ==> sudo /usr/bin/easy_install txzookeeper PyYAML txaws pydot oauth
>>>> ==> sudo /usr/bin/python ./setup.py install
>>>> Error: Permission denied -
>>>> /tmp/homebrew-juju-0.5.531-qXpu/juju_0.5+bzr531.orig/build/bdist.macosx-10.7-intel
>>>> togs-MacBook-Pro:~ tog$ brew install juju
>>>> ==> Downloading
>>>> https://launchpad.net/ubuntu/precise/+source/juju/0.5+bzr531-0ubuntu1/+files/juju_0.5+bzr531.orig.tar.gz
>>>> Already downloaded: /Library/Caches/Homebrew/juju-0.5.531.tar.gz
>>>> ==> sudo /usr/bin/easy_install txzookeeper PyYAML txaws pydot oauth
>>>> Password:
>>>> ==> sudo /usr/bin/python ./setup.py install
>>>> Error: Permission denied -
>>>> /tmp/homebrew-juju-0.5.531-dSAC/juju_0.5+bzr531.orig/build/bdist.macosx-10.7-intel
>>>>
>>>>
>>>> Anyone having the same issue ?
>>>>
>>>> Best Regards
>>>> Guillaume
>>>>
>>>>
>>>>
>>>> --
>>>> PGP KeyID: 2048R/EA31CFC9  subkeys.pgp.net
>>>>
>>>> --
>>>> Juju mailing list
>>>> Juju at lists.ubuntu.com
>>>> Modify settings or unsubscribe at:
>>>> https://lists.ubuntu.com/mailman/listinfo/juju
>>>>
>>>>
>>>
>>
>>
>> --
>> PGP KeyID: 2048R/EA31CFC9  subkeys.pgp.net
>>
>
>


-- 
PGP KeyID: 2048R/EA31CFC9  subkeys.pgp.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20120429/1754d34c/attachment.html>


More information about the Juju mailing list