-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Python fails to build in Mountain Lion (OS X 10.8.3) #18671
Comments
Please follow those instructions and post the build logs it requests, thanks. |
Sorry about that... |
Never seen this error. I'd like to know which other formulae you have installed? (brew list). What is the output of |
I haven't seen it before either. As I mentioned in the original post, I have built this on other machines successfully, but not on my laptop. Brew doctor comes up totally empty. I am using the latest version of XCode and havent't installed any other compilers. I am trying to install eric4.4.5 and this is the first piece of doing that. When I just tried to install eric and let brew install all of the dependancies, it failed. I think it's due to it using the system python, so i pulled out all of the brews (and homebrew) and started all over from scratch... Porta-Puter:~ arana$ brew list |
What is |
It appears to be an Apple generated header file. See the opening piece below. I can only check one of the other machines right now, but that machine does NOT have either the file or the secure directory. One additional piece of information is the both of the other machines were upgrades to Mountain Lion, the MacBook Pro was a fresh install… I can post the entire file to Gist or forward it if you would like. I'll also check my iMac at home tonight and let you know about that machine as well… Thanks!!! Porta-Puter:secure arana$ cat _string.h
#ifndef STRING_H error "Never use <secure/_string.h> directly; include <string.h> instead."#endif #ifndef SECURE__STRING_H #include <sys/cdefs.h> #if _USE_FORTIFY_LEVEL > 0 On Mar 25, 2013, at 2:22 PM, Samuel John notifications@github.com wrote:
|
I'm currently on a fresh 10.8.3 install (<1 week). I haven't done much so I believe this is a default header file. $ ls /usr/include/secure My config: $ brew --config Hope this helps. |
Those are the ones same ones I have as well, but not on the upgraded machine… On Mar 26, 2013, at 12:26 PM, Lasko notifications@github.com wrote:
|
Ah yes, |
Arana On Mar 26, 2013, at 12:34 PM, Samuel John notifications@github.com wrote:
|
Does it make a difference if you |
I can't reproduce. I have tested on 10.8.3 with Xcode-only and with CLT-only. |
I am slowly running out of options ... |
This is a virgin Mac? |
Samuel,
Arana On Mar 26, 2013, at 1:01 PM, Samuel John notifications@github.com wrote:
|
The machine in my home office has the security folder but not the _string.h file (nor the other two on my laptop) On Mar 26, 2013, at 2:06 PM, Arana Fireheart aranafireheart@mac.com wrote:
|
|
It was quite long, so I added it to the end of the second gist. On Mar 26, 2013, at 8:25 PM, Samuel John notifications@github.com wrote:
|
Oh so many unbrewed stuff. Why does the doctor not complain about? This breaks numerous builds. Its known. You told this was "a reasonably new and clean Mac" :-) It doesn't look so. |
Samuel,
Arana Sent from my iPhone On Mar 27, 2013, at 2:26 AM, Samuel John notifications@github.com wrote:
|
Don't think so. At least not most stuff. Some perhaps. |
Samuel,
Arana On Mar 27, 2013, at 10:26 AM, Samuel John notifications@github.com wrote:
|
So glad! |
I get the following error when building on a reasonably new and clean MacBookPro. I have tried just about everything I can think of to try and come up empty handed! I have this successfully built on two iMacs, both running on Mountain Loin, but not on this machine...
Aaarggg!
==> ./configure --prefix=/usr/local/Cellar/python/2.7.3 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.3/share --datadir=/usr/local/Cellar/python/2.7.3/share --enabl
==> make
==> make install PYTHONAPPSDIR=/usr/local/Cellar/python/2.7.3
: __inline_strcpy_chk (dest, src))
^
5 errors generated.
make[1]: *** [pythonw] Error 1
make: *** [frameworkinstallapps] Error 2
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
These open issues may also help:
#16646
#17994
#18189
#18657
#18203
#18594
#16303
#17908
Porta-Puter:~ arana$ brew doctor
Your system is raring to brew.
Porta-Puter:~ arana$ brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 3563364
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.8.3-x86_64
Xcode: 4.6.1
CLT: 4.6.0.0.1.1362189000
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.7.4 => /opt/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
The text was updated successfully, but these errors were encountered: