Skip to content
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

C++ compilation of rule ‘//tensorflow_serving/model_servers:http_rest_api_handler_test’ failed (Exit 1) tensorflow_serving/model_servers/http_rest_api_handler_test.cc:380:36: error: unterminated raw string #2918

Closed
nachorubio opened this issue Dec 25, 2018 · 5 comments
Assignees

Comments

@nachorubio
Copy link

Hi,

I’m having a problem during Tensorflow Model Server compilation, seems i have a problem with my gcc version (4.5.8) and the TF version, i’m getting this error:

C++ compilation of rule ‘//tensorflow_serving/model_servers:http_rest_api_handler_test’ failed (Exit 1) tensorflow_serving/model_servers/http_rest_api_handler_test.cc:380:36: error: unterminated raw string

I have a conflict between my gcc version but i’ve tried to update it but seems for my SUSE 12 SP2 is the highest version possible, also my bazel version is 0.21.0 because the 0.11.0 was giving me errors during TFMS compilation, these are tickets that i’ve checked related with the issue:

tensorflow/serving#905

tensorflow/serving#1001

Let me know if you need more details.

Thanks a lot.

Best Regards.

@adadouche
Copy link
Contributor

Hi,

I'm checking now the all installation tutorial steps to make sure I'm not missing something.

Can you confirm that you are using gcc version 4.5.8? This is a rather very old version which is pulled when you install SLES 12SP3. On my side with SP3, I got:

hxeadm@hxehost:/usr/sap/HXE/HDB90>gcc --version
gcc (SUSE Linux) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I also realized that the documentation mentions that only TF 1.5 is supported, but the git clone command I reference will pull the latest release (1.12) which is probably why it requires bazel 0.21.0.

I'll check that as well.

@nachorubio
Copy link
Author

Hi,
Sorry you're right i mistype the gcc version, the version i'm using is the same as you, maybe i should skip the unit testing files during compilation to avoid that error but seems is a bad idea( and i don't know how to do it from the bazel build command ) or also i should try to compile an older TF version, in any case i'll wait until your recommendation to solve/avoid the issue.
Thanks a lot for your time.

Best Regards.
gcc_version

@adadouche
Copy link
Contributor

Hi @nachorubio

I just refreshed the tutorials.

I decided to move away from full compilation, and I use now the docker container provided by Google instead.

Can you have a try and let me know?

Thanks

@nachorubio
Copy link
Author

Hi @adadouche

I've completed the TMS installation without problems using the Docker Container, the connection is working and i'm on the next step deploying the Irish classifier :), from my side we can close the issue.

Best Regards.

Thanks a lot for your time and effort.

@adadouche
Copy link
Contributor

Hi @nachorubio

Cool!! Hope you found this approach easier than the compilation one.

Have fun!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants