-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX 10.12 build issues #18
Comments
I just try on 10.12.1 and build successfully.
|
@pkieltyka , does it work for you? |
@fengli79 no, it still doesn't work on a very clean 10.12.1 with clean clone of grpc-web I am using zsh btw, so perhaps that makes a difference. I still need to add It's been quite painful getting this to build. |
another error Im receiving is: I am sure I could mess around with all this tooling and fix it, but I'm just reporting that the default bootstrapping needs some work. |
I have no plan to support zsh, you should use the default bash instead. |
Lame. You should support Posix shells, it's very little extra effort and it doesn't solve the issue of protobuf submodule is missing it seems. But it's your choice.
Enjoy
… On Nov 30, 2016, at 5:43 PM, Feng Li ***@***.***> wrote:
I have no plan to support zsh, you should use the default bash instead.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
We don't need protobuf in third_party/protobuf any more, it will be replaced with the one comes from third_party/grpc submodule. ./darwin_x86_64.sh: line 3: cd: third_party/protobuf: No such file or directory is trivial and can be ignored safely, I'm going to fix it soon, and probably together with the additional ./ needed for zsh. |
thanks @fengli79 -- I keep trying to figure it out and make it work but unfortunately failing. I tried to remove protobuf from my local system, then continue with ./darwin_x86_64.sh (with bash), no luck. Then I tried to clone protobuf head to third_party/protobuf and run ./darwin_x86_64.sh again, and unfortunately it failed again. I'll remain patient as other tickets close and try again in a few weeks. Im looking forward to the project! |
Can you post the error you get with bash?
A clean system without protobuf installed should work, I just try it on my
machine. Sync protobuf from head doesn't help since grpc build script will
try to find any protobuf installation first.
…On Wed, Nov 30, 2016 at 6:04 PM Peter Kieltyka ***@***.***> wrote:
thanks @fengli79 <https://github.com/fengli79> -- I keep trying to figure
it out and make it work but unfortunately failing. I tried to removed
protobuf from my local system, then continue with ./darwin_x86_64.sh (with
bash), no luck. Then I tried to clone protobuf head to third_party/protobuf
and run ./darwin_x86_64.sh again, and unfortunately it failed again.
I'll remain patient as other tickets close and try again in a few weeks.
Im looking forward to the project!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AT1vmzpL4SzxJSonMlwpq5cqH3bMvM_nks5rDisvgaJpZM4KvVxY>
.
|
Here it is .. I deleted the directory again, cloned and did it all over again: https://gist.github.com/pkieltyka/db71562f4ce81a72384549e2f733c9f0 |
Looks like you missed some prerequisites.
|
@fengli79 I had them all installed at time of running..
... Im not sure how you're getting it to run on your machine. Can you try to clone grpc-web to another folder on your system, hopefully have no other protobuf in your system paths, and see if that works. |
I just tried it by git clone to a new folder, it works fine on my mac. |
@fengli79 we're getting warmer. After I unset the CDPATH, the build progressed much further to building grpc with protobuf within third_party/grpc/third_party/protobuf btw, my CDPATH was set to /Users/peter/Dev/go/src and I am on xcode 8.1 (latest stable) its surprising that anything would match the CDPATH, but I guess a simple unset CDPATH in the script can help for others too. the failure output: https://gist.github.com/pkieltyka/f24cff2b5a5e694f633de2cb7bcb0cfb |
Yes, you get that error with xcode 8.1, protobuf already fixed it on their head, but grpc builds its protobuf submodule with different CPPFLAGS. It also need to be fixed by GRPC. You can either apply the workaround by change the CPPFLAGS, or switch back to xcode 7.3.1. |
I'm closing this issue, since it has been verified by other people in #7. |
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.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.
The text was updated successfully, but these errors were encountered: