Gentoo Archives: gentoo-devhelp

From: Nikos Chantziaras <realnc@×××××.de>
To: gentoo-devhelp@l.g.o
Subject: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Date: Tue, 17 May 2011 05:24:22
Message-Id: iqt0p3$hls$1@dough.gmane.org
In Reply to: Re: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? by Nathan Phillip Brink
1 On 05/17/2011 08:14 AM, Nathan Phillip Brink wrote:
2 >> [...]
3 >> OK, I have worse problems than just the above :-/
4 >>
5 >> First:
6 >>
7 >> g++ -o .release_build/OcelotConfig -L/usr/lib64/llvm -lpthread -lffi
8 >> -ldl -lm .release_build/ocelot/tools/OcelotConfig.o -L/usr/lib
9 >> -L/usr/lib64/llvm -L. -locelot
10 >> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld:
11 >> cannot find -locelot
12 >> collect2: ld returned 1 exit status
13 >>
14 >> If I ignore the above error and proceed with "scons install" anyway:
15 >>
16 >> ACCESS DENIED open_wr: /usr/lib/libocelot.so
17 >> scons: *** [/usr/lib/libocelot.so] /usr/lib/libocelot.so: Permission denied
18 >> [...]
19 >
20 > Try replacing DESTDIR="${D}" with install_path="${D}"/usr perhaps?
21
22 Unfortunately, it didn't help. Tried both "${D}" as well as "${D}"/usr:
23
24 scons: *** Path for option install_path does not exist:
25 /var/tmp/portage/dev-util/gpuocelot-9999/image

Replies