Skip to content

OSX 10.12 build issues #18

Closed
Closed
@pkieltyka

Description

@pkieltyka

Hey guys,

I tried the new build scripts for 10.12, that is just ./darwin_x86_64.sh and its certainly gotten better but I had a few issues. For one, I needed to prefix ./ before each path.. as so in this diff.

diff --git a/darwin_x86_64.sh b/darwin_x86_64.sh
index 98c2dd7..b7b469b 100755
--- a/darwin_x86_64.sh
+++ b/darwin_x86_64.sh
@@ -1,6 +1,6 @@
 ./init_submodules.sh
 make clean
-cd third_party/protobuf && ./autogen.sh && ./configure && make && cd ../..
-cd third_party/grpc && make && cd ../..
+cd ./third_party/protobuf && ./autogen.sh && ./configure && make && cd ../..
+cd ./third_party/grpc && make && cd ../..
 export KERNEL_BITS=64
 make
diff --git a/init_submodules.sh b/init_submodules.sh
index 4fc9728..cf8651a 100755
--- a/init_submodules.sh
+++ b/init_submodules.sh
@@ -1,5 +1,5 @@
 git submodule update --init
-cd third_party/closure-library && git checkout tags/v20160911 -f && cd ../..
-cd third_party/openssl && git checkout tags/OpenSSL_1_0_2h -f && cd ../..
-cd third_party/protobuf && git checkout tags/v3.0.2 -f && cd ../..
-cd third_party/grpc && git checkout tags/v1.0.1 -f && git submodule update --init && cd ../..
+cd ./third_party/closure-library && git checkout tags/v20160911 -f && cd ../..
+cd ./third_party/openssl && git checkout tags/OpenSSL_1_0_2h -f && cd ../..
+cd ./third_party/protobuf && git checkout tags/v3.0.2 -f && cd ../..
+cd ./third_party/grpc && git checkout tags/v1.0.1 -f && git submodule update --init && cd ../..

however, as this ran, during the make of grpc I ran into the following errors:

https://gist.github.com/pkieltyka/c0886b58de3c58af771693b45c61e163

one thing that is strange, is that its using my system protoc instead of the third_party/protobuf that was just built. I just wanted to show you the current results in the current state.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions