From: Phil/La P. W. of P. <ph...@la...> - 2014-05-25 19:09:53
|
Le dimanche 25 mai 2014 à 20:33 +0200, Ulrich-Lorenz Schlüter a écrit : > Hi there, > Hi Ulrich-Lorenz, > I'm a bit consternated, my system is an up to date sabayon (gentoo > based), I am root and for sure have a recent gcc on board and I get this > when compiling ffado from source: > > # scons > scons: Reading SConscript files ... > sh: cache/conftest_0: Permission denied > Checking for a working C-compiler no > > It seems as if your system isn't even able to compile any > C-/C++-programs. Probably you don't have gcc and g++ installed. > Compiling a package from source without a working compiler is very hard > to do, please install the needed packages. > Hint: on *ubuntu you need both gcc- and g++-packages installed, easiest > solution is to install build-essential which depends on gcc and g++. > > Is it the first time you compile ffado from source ? If not and if you have changed something in your config, you have to remove the .sconsign.dblite and cache/* files at first: $ rm -rf .scons.dblite cache/* As usual, you do not need to be root to run scons itself. Only when you run scons install (if you install in the /usr - or /usr/local but this is not recommended if you have a yet installed version of ffado), you will need to be root. > ffado-svn # cat cache/config.log > file /tmp/ffado-svn/SConstruct,line 183: > Configure(confdir = cache) > scons: Configure: Checking for a working C-compiler > cache/conftest_0.c <- > | > |#include <stdio.h> > | > |int main() { > | printf( "Hello World!" ); > | return 0; > |} > gcc -o cache/conftest_0.o -c cache/conftest_0.c > gcc -o cache/conftest_0 cache/conftest_0.o > cache/conftest_0 > cache/conftest_0.out > scons: Configure: no > > muziek ffado-svn # which g++ > /usr/bin/g++ > muziek ffado-svn # which gcc > /usr/bin/gcc > > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. > Get unparalleled scalability from the best Selenium testing platform available > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > FFADO-user mailing list > FFA...@li... > https://lists.sourceforge.net/lists/listinfo/ffado-user -- Phil/La Page Web of Phil <ph...@la...> |