install of weekly exhibits root_darwin.go:10:43: error: CoreFoundation/CoreFoundation.h: No such file or directory

689 views
Skip to first unread message

ROuNIN

unread,
Feb 17, 2012, 2:46:21 PM2/17/12
to golang-nuts
Hello,
Not sure what has happened - I have had to upgrade from 10.7.2 to
10.7.3 to
installed Xcode Version 4.3 (4E109) and GCC-10.7-v2.pkg

ROuNINs-MacBook-Pro:src rounin$ hg identify
43cf9b39b647 weekly/weekly.2012-02-14
ROuNINs-MacBook-Pro:src rounin$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.7.3
BuildVersion: 11D50b
ROuNINs-MacBook-Pro:src rounin$ uname -a
Darwin ROuNINs-MacBook-Pro.local 11.3.0 Darwin Kernel Version 11.3.0:
Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64
x86_64
ROuNINs-MacBook-Pro:src rounin$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2335.15.00)
Copyright (C) 2007 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.

ROuNINs-MacBook-Pro:src rounin$


ROuNINs-MacBook-Pro:src rounin$ ./all.bash
# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, darwin/amd64.
lib9
libbio
libmach
misc/pprof
cmd/cov
cmd/nm
cmd/pack
cmd/prof
cmd/cc
cmd/gc
cmd/6l
cmd/6a
cmd/6c
cmd/6g
pkg/runtime
pkg/errors
pkg/sync/atomic
pkg/sync
pkg/io
pkg/unicode
pkg/unicode/utf8
pkg/unicode/utf16
pkg/bytes
pkg/math
pkg/strings
pkg/strconv
pkg/bufio
pkg/sort
pkg/container/heap
pkg/encoding/base64
pkg/syscall
pkg/time
pkg/os
pkg/reflect
pkg/fmt
pkg/encoding/json
pkg/flag
pkg/path/filepath
pkg/path
pkg/io/ioutil
pkg/log
pkg/regexp/syntax
pkg/regexp
pkg/go/token
pkg/go/scanner
pkg/go/ast
pkg/go/parser
pkg/go/build
pkg/os/exec
pkg/net/url
pkg/text/template/parse
pkg/text/template
cmd/go

# Building packages and commands for darwin/amd64.
runtime
errors
sync/atomic
unicode
math
crypto/subtle
container/list
container/ring
image/color
sync
io
syscall
hash
crypto/cipher
exp/terminal
crypto
hash/crc32
crypto/hmac
crypto/md5
crypto/sha1
hash/adler32
crypto/sha256
crypto/sha512
hash/crc64
hash/fnv
unicode/utf8
unicode/utf16
bytes
strings
exp/norm
exp/utf8string
time
path
bufio
text/tabwriter
html
old/regexp
os
strconv
sort
math/rand
math/cmplx
os/signal
path/filepath
container/heap
compress/bzip2
reflect
io/ioutil
regexp/syntax
net/url
os/exec
encoding/base64
crypto/aes
crypto/rc4
encoding/pem
archive/tar
encoding/ascii85
encoding/base32
image
regexp
image/draw
image/jpeg
fmt
encoding/binary
debug/dwarf
crypto/des
index/suffixarray
flag
go/token
log
text/template/parse
encoding/json
compress/flate
debug/elf
debug/macho
go/scanner
debug/pe
go/ast
math/big
mime
text/template
runtime/debug
encoding/gob
encoding/xml
runtime/pprof
text/scanner
go/parser
go/printer
cmd/yacc
compress/lzw
database/sql/driver
crypto/rand
crypto/elliptic
crypto/rsa
go/build
crypto/dsa
go/doc
cmd/cgo
cmd/fix
compress/gzip
encoding/asn1
archive/zip
cmd/gofmt
cmd/api
cmd/vet
compress/zlib
crypto/ecdsa
crypto/x509/pkix
database/sql
debug/gosym
crypto/x509
encoding/csv
encoding/hex
exp/ebnf
exp/types
exp/ebnflint
exp/html
html/template
image/gif
exp/gotype
image/png
old/template
runtime/cgo
testing
testing/iotest
testing/quick
net
os/user
crypto/tls
net/textproto
exp/proxy
log/syslog
old/netchan
# crypto/tls
root_darwin.go:10:43: error: CoreFoundation/CoreFoundation.h: No such
file or directory
root_darwin.go:11:31: error: Security/Security.h: No such file or
directory
mime/multipart
net/mail


ROuNIN

Mikkel Krautz

unread,
Feb 17, 2012, 3:18:35 PM2/17/12
to ROuNIN, golang-nuts
Works here.

I think you need to install the command line tools from within Xcode
(Preferences -> Downloads) to get the correct headers in place in your
system frameworks.

My Headers symlinks in /System/Library/Frameworks/*.framework have a
timestamp that matches the time when I installed the command line
tools, at least.

Mikkel

ROuNIN

unread,
Feb 17, 2012, 3:46:57 PM2/17/12
to golang-nuts
Thank you! That is what was wrong - I was missing the commas line
tools from within Xcode.
ROuNIN
Reply all
Reply to author
Forward
0 new messages