You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm new in GO.
I have decide to use your implementation of Thrift for Go.
After reading your manual installation instruction steps I have
downloaded last Thrift 0.9.0 from git and start building process:
My build script is follow:
#!/bin/bash
export THRIFT=$(pwd)/thrift
export THRIFT4GO=$(pwd)/thrift4go
export GOROOT="/usr/lib/go"
export GOBIN="/usr/bin"
export GOPATH="/home/user/projects/go"
bash $THRIFT4GO/scripts/merge_and_build.sh -b
cd $THRIFT
#./cleanup.sh
#Thrift from git trunk doesn't have configure and it should be created first
./bootstrap.sh
./configure --with-go --without-python --without-csharp
make
if "$?" == "1"; then
ln -s $THRIFT/lib/go/src/thrift $GOPATH/src/thrift
go install thrift
fi
But make doesn't work well for GO, whereis the problem ?
I have correct installed GO with exported GOPATH variable in bash, "go install" worked for other projects.
I can't understand why in your sources GO can't find package.
=== RUN TestReadWriteSimpleJSONStruct
--- PASS: TestReadWriteSimpleJSONStruct (0.00 seconds)
tsimple_json_protocol_test.go:646: Memory buffer contents: {"num1":25,"num2":102,"op":1,"comment":"Add: 25 + 102"}
tsimple_json_protocol_test.go:649: Read struct value: &thrift.Work{TStruct:(*thrift.tStruct)(0xf8401f9580), _:interface {}(nil), Num1:25, Num2:102, Op:1, Comment:"Add: 25 + 102"}
=== RUN TestReadWriteSimpleJSONProtocol
--- PASS: TestReadWriteSimpleJSONProtocol (0.01 seconds)
PASS
ok thrift 0.034s
make[3]: Leaving directory `/home/user/projects/delkon/thrift/lib/go'
make[3]: Entering directory `/home/user/projects/delkon/thrift/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/user/projects/delkon/thrift/lib'
make[2]: Leaving directory `/home/user/projects/delkon/thrift/lib'
Making all in tutorial
make[2]: Entering directory `/home/user/projects/delkon/thrift/tutorial'
make[2]: *** No rule to make target `all'. Stop.
make[2]: Leaving directory `/home/user/projects/delkon/thrift/tutorial'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/projects/delkon/thrift'
make: *** [all] Error 2
Thank you for any input
p.s
Arch linux (X86, 64)
The text was updated successfully, but these errors were encountered:
Hello,
I'm new in GO.
I have decide to use your implementation of Thrift for Go.
After reading your manual installation instruction steps I have
downloaded last Thrift 0.9.0 from git and start building process:
My build script is follow:
But make doesn't work well for GO, whereis the problem ?
I have correct installed GO with exported GOPATH variable in bash, "go install" worked for other projects.
I can't understand why in your sources GO can't find package.
Thank you for any input
p.s
Arch linux (X86, 64)
The text was updated successfully, but these errors were encountered: