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

in #go-etereum6 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)

Coin Marketplace

STEEM 0.17
TRX 0.14
JST 0.028
BTC 59471.57
ETH 2618.20
USDT 1.00
SBD 2.40