Closed ted-kapustin closed 5 years ago
Hi @ted-kapustin, I am quite unfamiliar with specifics but I do know that protobufs has been the difficult point of the project. From my five minutes of Googling, I stumbled upon something like https://askubuntu.com/questions/637014/gcc-error-trying-to-exec-cc1plus-execvp-no-such-file-or-directory. Does this help?
Hi Stephan, Thanks for you r prompt answer. I am new to Fedora (I used Ubuntu before). It turned out, I had gcc preinstalled via Chef on my work machine but C++ compiler was not installed. So I ran: dnf install gcc-c++ and everything worked after that.
I followed the installation instructions. I have Fedora 28 and gcc 8.2.1. I installed TensorFlow (v.1.12) and Bazel. Below is the output of 'bazel run //greeter_tensorboard -- --logdir=/tmp/greeter_demo" command:
INFO: Analysed target //greeter_tensorboard:greeter_tensorboard (0 packages loaded, 0 targets configured). INFO: Found 1 target... ERROR: /home//.cache/bazel/bazel/82fdb0e5296cafe943f036e454b1602b/external/com_google_protobuf/BUILD:70:1: C++ compilation of rule '@com_google_protobuf//:protobuf_lite' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG ... (remaining 43 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox gcc: error trying to exec 'cc1plus': execvp: No such file or directory Target //greeter_tensorboard:greeter_tensorboard failed to build Use --verbose_failures to see the command lines of failed build steps. INFO: Elapsed time: 0.339s, Critical Path: 0.07s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%] INFO: 0 processes. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully