1 |
On 05/17/2011 06:48 AM, Nikos Chantziaras wrote: |
2 |
> But it ignores the CFLAGS/CXXFLAGS/LDFLAGS set in make.conf, and |
3 |
> append-cflags and append-cxxflags does nothing (-Wno-error is not used |
4 |
> in the resulting build.) |
5 |
|
6 |
OK, I have worse problems than just the above :-/ |
7 |
|
8 |
First: |
9 |
|
10 |
g++ -o .release_build/OcelotConfig -L/usr/lib64/llvm -lpthread -lffi |
11 |
-ldl -lm .release_build/ocelot/tools/OcelotConfig.o -L/usr/lib |
12 |
-L/usr/lib64/llvm -L. -locelot |
13 |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: |
14 |
cannot find -locelot |
15 |
collect2: ld returned 1 exit status |
16 |
|
17 |
If I ignore the above error and proceed with "scons install" anyway: |
18 |
|
19 |
ACCESS DENIED open_wr: /usr/lib/libocelot.so |
20 |
scons: *** [/usr/lib/libocelot.so] /usr/lib/libocelot.so: Permission denied |
21 |
|
22 |
SCons does not seem to play nicely with the package sandboxing that |
23 |
Gentoo uses. It tries to access /usr directly. |
24 |
|
25 |
What should I do here? |