go-ethereum install(설치) macOS High Sierra version 10.13.3

in go-etereum •  7 years ago 

go-ethereum 설치가 macOS High Sierra version 10.13.3에서 정상적으로 빌드되지 않는 버그가 있다.

공식 홈페이지의 설치 방법은 아래와 같다.
링크 : https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Mac

  • terminal 실행.
  1. git clone https://github.com/ethereum/go-ethereum
  2. brew install go
  3. cd go-ethereum
  4. make geth
    : 여기서 에러 작렬...

주석 처리 : //var source = C.CFRunLoopSourceCreate(refZero, 0, &C.CFRunLoopSourceContext{
변경 : var source = C.CFRunLoopSourceCreate(nil, 0, &C.CFRunLoopSourceContext{

주석 처리 :
// p := C.CFStringCreateWithCStringNoCopy(refZero, C.CString(s.path), C.kCFStringEncodingUTF8, refZero)
// path := C.CFArrayCreate(refZero, (unsafe.Pointer)(unsafe.Pointer(&p)), 1, nil)
변경 :
p := C.CFStringCreateWithCStringNoCopy(nil, C.CString(s.path), C.kCFStringEncodingUTF8, nil)
path := C.CFArrayCreate(nil, (
unsafe.Pointer)(unsafe.Pointer(&p)), 1, nil)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!