kskp

Results comments of kskp

@meteorcloudy Thanks for the reply. I get the following errors when I run ./compile.sh: [sree@ds1 bazel]$ ./compile.sh INFO: You can skip this first step by providing a path to the...

Oops, that was a typo. I have the following error now: ERROR: /home/sree/bazel/src/main/cpp/util/BUILD:4:1: C++ compilation of rule '//src/main/cpp/util:util' failed: gcc failed: error executing command (cd /tmp/bazel.0iZWhHCy/out/bazel && \ exec env...

This is the entire log: ``` [sree@ds1 bazel]$ ./compile.sh INFO: You can skip this first step by providing a path to the bazel binary as second argument: INFO: ./compile.sh compile...

Sorry for the delay. Here is the output: src/main/cpp/util/file.cc: In function ‘std::string blaze_util::Which(const std::string&)’: src/main/cpp/util/file.cc:84: error: expected initializer before ‘:’ token src/main/cpp/util/file.cc:100: error: expected primary-expression at end of input src/main/cpp/util/file.cc:100:...

@kchodorow Hi, my GCC version is 4.8.4. I originally had 4.4.7 but I tried upgrading it to 4.8 uisng a tutorial given in: http://superuser.com/questions/381160/how-to-install-gcc-4-7-x-4-8-x-on-centos. FYI: [sree@ds1 ~]$ gcc -v Using...

Looks like you are right. This does shows the old version: gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) How and where do I change the path?

@kchodorow I created a link sudo ln -s /opt/centos/devtoolset-1.1/root/usr/bin/ /usr/bin/gcc to point it to the newer gcc. Now when I run ./compile.sh, i get the following: **ERROR: /home/sree/bazel/src/main/cpp/util/BUILD:4:1: C++ compilation...

Sorry for my ignorance, but could you be more clear? DO you want me to move the /opt/centos/devtoolset-2/root/usr/bin/gcc to /usr/bin/?? and move usr/bin/gcc to somewhere else??

Thanks. Now for some reason, my gcc version has changed to 4.7.2. Will that still work or do I have to upgrade again? And ./compile.sh gives: INFO: You can skip...

@kchodorow Yes, I figured it out myself. I have bazel running now. Thanks for the support. Really appreciate.