Skip to content

Instantly share code, notes, and snippets.

View ankitsablok89's full-sized avatar

Ankit Sablok ankitsablok89

View GitHub Profile
@ankitsablok89
ankitsablok89 / gist:d42243e560227e26196bb815fe988e17
Last active May 7, 2017 23:51
Gist-5 : Peloton "Installing JDK-8" on Ubuntu Machine
1) sudo add-apt-repository ppa:webupd8team/java
2) sudo apt update
3) sudo apt install oracle-java8-installer
4) sudo apt install oracle-java8-set-default (To set Java environment variables automatically)
After executing all the above commands you should be able to see the output of "javac -version" as "javac 1.8.0_131"
5) sudo apt-get install eclipse eclipse-cdt (Install the Eclipse CDT Plugin)
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
[ 0%] Built target peloton-proto
[ 97%] Built target peloton
[100%] Built target peloton-bin
[100%] Original libpg makefile target
[100%] Built target libpg_query
Install the project...
-- Install configuration: "Release"
-- Installing: /home/ankitsablok89/Desktop/Projects/CMU-Peloton-DBMS/peloton_build/install/share/Peloton/PelotonConfig.cmake
@ankitsablok89
ankitsablok89 / gist:50e866b8bd253f4c3bb6568460ebfce7
Last active May 7, 2017 23:31
Gist-2 : Peloton "make -j 4" output
Scanning dependencies of target libpg_query
[ 0%] Running C++/Python protocol buffer compiler on /home/ankitsablok89/Desktop/Projects/CMU-Peloton-DBMS/peloton/src/proto/logging_service.proto
[ 0%] Running C++/Python protocol buffer compiler on /home/ankitsablok89/Desktop/Projects/CMU-Peloton-DBMS/peloton/src/proto/abstract_service.proto
[ 0%] Original libpg makefile target
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
compiling src/pg_query.c
Scanning dependencies of target peloton-proto
[ 0%] Building CXX object src/CMakeFiles/peloton-proto.dir/__/include/peloton/proto/abstract_service.pb.cc.o
[ 0%] Building CXX object src/CMakeFiles/peloton-proto.dir/__/include/peloton/proto/logging_service.pb.cc.o
compiling src/pg_query_normalize.c
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works