buildingenergy / bootstrap

Gettin' dev computers runnin'
0 stars 0 forks source link

Error running bootstrap command #6

Open mjohnson868 opened 11 years ago

mjohnson868 commented 11 years ago

a) I get an error when running the bootstrap code. Note that I had our old environment working on the same computer including vagrant.

Detected Mac OS 10.8.2. Checking for the developer tools or xCode... not found.

Please download and install the latest Mac OS X Command Line Tools (or XCode). Press any key to open the website for download...

I went ahead and re-downloaded and re-installed the latest Xcode and dev tools as it looks like there was a new version for Nov 1. Still, same error.

b) Here is outputs from commands Steven asked Mike to run:

Mikes-MacBook-Air:~ mikej$ gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

And

Mikes-MacBook-Air:~ mikej$ make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0

skoczen commented 11 years ago

Bootstrap was updated on Friday, and should fix the bug you were running. Please re-run the new bootstrap command (it's changed.)

For reference, it's:

curl -s https://raw.github.com/buildingenergy/bootstrap/master/bootstrap.sh > /tmp/be.sh; bash /tmp/be.sh

If that doesn't work, please paste that output here, and we'll get it fixed!

mjohnson868 commented 11 years ago

I get this now:

############################################################################## ############ Core Packages ############ ############################################################################## Checking for Python 2.7... not found. Installing Python 2.7... Error installing Python 2.7.

Please run 'brew install python' manually and fix any errors, then retry bootstrap. Sorry!

/tmp/be.sh: line 2: /Users/mikej/.flintrc: No such file or directory /tmp/be.sh: line 3: flint: command not found Mikes-MacBook-Air:~ mikej$

---> I ran brew install python and got: Mikes-MacBook-Air:~ mikej$ brew install python Error: python-2.7.3 already installed, it's just not linked

I did a quick search online to make the right link but figured I'd stop and ask... don't know if you want to programmatically fix that.

On Mon, Nov 5, 2012 at 9:30 AM, Steven Skoczen notifications@github.comwrote:

Bootstrap was updated on Friday, and should fix the bug you were running. Please re-run the new bootstrap command (it's changed.)

For reference, it's:

curl -s https://raw.github.com/buildingenergy/bootstrap/master/bootstrap.sh > /tmp/be.sh; bash /tmp/be.sh

If that doesn't work, please paste that output here, and we'll get it fixed!

— Reply to this email directly or view it on GitHubhttps://github.com/buildingenergy/bootstrap/issues/6#issuecomment-10079624.

Mike Johnson Director, Business and Product Development Building Energy ph 650-380-0043 www.buildingenergy.com mike.johnson@buildingenergy.com

skoczen commented 11 years ago

Hey Mike,

A few other folks who had previously installed pip had this same error. This should get you working:

brew link --force python

Then, try the bootstrap script again!

I'll open a new issue to handle the odd brew link case, since a couple people have had it.

mjohnson868 commented 11 years ago

Here's what I get:

Mikes-MacBook-Air:~ mikej$ brew link --force python Linking /usr/local/Cellar/python/2.7.3... Warning: Could not link python. Unlinking...

Error: Could not symlink file: /usr/local/Cellar/python/2.7.3/bin/pip-2.7 Target /usr/local/bin/pip-2.7 already exists. You may need to delete it. To force the link and delete this file, do: brew link --overwrite formula_name

To list all files that would be deleted: brew link --overwrite --dry-run formula_name Mikes-MacBook-Air:~ mikej$

On Mon, Nov 5, 2012 at 10:00 PM, Steven Skoczen notifications@github.comwrote:

Hey Mike,

A few other folks who had previously installed pip had this same error. This should get you working:

brew link --force python

Then, try the bootstrap script again!

I'll open a new issue to handle the odd brew link case, since a couple people have had it.

— Reply to this email directly or view it on GitHubhttps://github.com/buildingenergy/bootstrap/issues/6#issuecomment-10100141.

Mike Johnson Director, Business and Product Development Building Energy ph 650-380-0043 www.buildingenergy.com mike.johnson@buildingenergy.com

skoczen commented 11 years ago

That's the one, sorry. Run:

brew link --overwrite python
mjohnson868 commented 11 years ago

That did it, I'm ready to camp. Thanks.

On Tue, Nov 6, 2012 at 8:12 AM, Steven Skoczen notifications@github.comwrote:

That's the one, sorry. Run:

brew link --overwrite python

— Reply to this email directly or view it on GitHubhttps://github.com/buildingenergy/bootstrap/issues/6#issuecomment-10116333.

Mike Johnson Director, Business and Product Development Building Energy ph 650-380-0043 www.buildingenergy.com mike.johnson@buildingenergy.com