-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
SIP and Mountain Lion - not building (Xcode 4.5 DP 2) #13937
Comments
|
my cc++ is located in /usr/bin. However, I click the file, I got this: "The operation can’t be completed because the original item for “c++” This is after I reinstalled Command Line Tools. I just got 4.5 DP2 preview, so I use it. Is c++ symbolic link to what file? Can I symbolic link c++ to g++? Thanks. On 8/5/12, 2bits
|
I fixed this error in Mountain Lion. deleted c++ in /usr/bin And did a symbolic link. sudo ln /usr/bin/g++ /usr/bin/c++ On 8/5/12, Noli Sicad [email protected] wrote:
|
|
It seems that there is no "clang++' but 'clang' in my /usr/bin/ Where is it located? Should I link 'c++' into 'clang' instead of 'g++'? On 8/5/12, Charlie Sharpsteen
|
|
This is reason why my c++ fails because I don't have clang++ which Thanks. On 8/5/12, 2bits
|
Yes. It's strange though. That link should have been created during CLT install. |
Nolis-MacBook-Pro:bin nsicad$ brew install sip
==> Downloading http://www.riverbankcomputing.co.uk/hg/sip/archive/4.13.3.tar.gz
################################################################## 100.0%
==> Patching
patching file build.py
Hunk #1 succeeded at 185 (offset 6 lines).
Hunk #2 succeeded at 198 (offset 6 lines).
patching file siputils.py
Hunk #1 succeeded at 1485 (offset 51 lines).
==> python build.py prepare
==> python configure.py --destdir=/usr/local/Cellar/sip/4.13.3/lib/python2.7/sit
==> make install
cc -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o main.o main.c
cc -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o transform.o transform.c
cc -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o gencode.o gencode.c
cc -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o extracts.o extracts.c
cc -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o export.o export.c
cc -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o heap.o heap.c
cc -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o parser.o parser.c
cc -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -Os -w -DNDEBUG -I. -o lexer.o lexer.c
c++ -L/usr/local/lib -o sip main.o transform.o gencode.o extracts.o export.o heap.o parser.o lexer.o
make[1]: c++: No such file or directory
make[1]: *** [sip] Error 1
make: *** [install] Error 2
==> Build Environment
CPU: 8-core 64-bit dunno
OS X: 10.8-x86_64
Xcode: 4.5 => /Applications/Xcode45-DP2.app/Contents/Developer
X11: 2.7.2 @ /opt/X11
CC: /usr/bin/clang
CXX: /Applications/Xcode45-DP2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ => /Applications/Xcode45-DP2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
MAKEFLAGS: -j8
Error: Failed executing: make install (sip.rb:41)
These existing issues may help you:
#12388
#12491
Otherwise, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
The text was updated successfully, but these errors were encountered: