Can't run the compilation script
#1
Just got a fancy new pi 2. I know that gcc-4.8 and g++-4.8 are needed in orger to compile correctly, so i ran
Code:
sudo apt-get install g++-4.8 gcc-4.8 clang git cmake make
which should fulfill the requirements. However, running the compilation script tells me that i need to install gcc and g++. Installing those allows me to continue to cloning repos and compiling causes compilation to fail at about 12%, probably because apt-get install gcc installs 4.6.3, not 4.8. I then removed gcc-4.6 and g++-4.6 and created aliases from gcc-4.8 to gcc and g++-4.8 to g++. After starting a new session, gcc --version returns
Quote:gcc-4.8 (Raspbian 4.8.2-21~rpi3rpi1) 4.8.2
Copyright © 2013 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.

But the script still says that I need to install gcc and g++ again. Any way to fix this or do I need to just use a precompiled build? Huh
Reply
Thanks given by:


Messages In This Thread
Can't run the compilation script - by DaPorkchop - 12-26-2015, 05:42 AM
RE: Can't run the compilation script - by bearbin - 12-26-2015, 07:50 AM



Users browsing this thread: 2 Guest(s)