From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QMCla-0000N8-EF for garchives@archives.gentoo.org; Tue, 17 May 2011 05:24:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18C821C121; Tue, 17 May 2011 05:24:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E02471C121 for ; Tue, 17 May 2011 05:24:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 737011B400F for ; Tue, 17 May 2011 05:24:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.856 X-Spam-Level: X-Spam-Status: No, score=-2.856 required=5.5 tests=[AWL=-0.257, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8kG+dGye60bh for ; Tue, 17 May 2011 05:24:01 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 48A4E1B4027 for ; Tue, 17 May 2011 05:24:00 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QMClB-0005oh-VM for gentoo-devhelp@gentoo.org; Tue, 17 May 2011 07:23:57 +0200 Received: from athedsl-394644.home.otenet.gr ([79.131.93.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 May 2011 07:23:57 +0200 Received: from realnc by athedsl-394644.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 May 2011 07:23:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-devhelp@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? Date: Tue, 17 May 2011 08:23:47 +0300 Organization: Lucas Barks Message-ID: References: <20110517051428.GL31702@ohnopublishing.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Development-related help X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-394644.home.otenet.gr User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110430 Thunderbird/3.1.10 In-Reply-To: <20110517051428.GL31702@ohnopublishing.net> X-Archives-Salt: X-Archives-Hash: 3470b9de88eac081ecdc461bef2c537b On 05/17/2011 08:14 AM, Nathan Phillip Brink wrote: >> [...] >> OK, I have worse problems than just the above :-/ >> >> First: >> >> g++ -o .release_build/OcelotConfig -L/usr/lib64/llvm -lpthread -lffi >> -ldl -lm .release_build/ocelot/tools/OcelotConfig.o -L/usr/lib >> -L/usr/lib64/llvm -L. -locelot >> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: >> cannot find -locelot >> collect2: ld returned 1 exit status >> >> If I ignore the above error and proceed with "scons install" anyway: >> >> ACCESS DENIED open_wr: /usr/lib/libocelot.so >> scons: *** [/usr/lib/libocelot.so] /usr/lib/libocelot.so: Permission denied >> [...] > > Try replacing DESTDIR="${D}" with install_path="${D}"/usr perhaps? Unfortunately, it didn't help. Tried both "${D}" as well as "${D}"/usr: scons: *** Path for option install_path does not exist: /var/tmp/portage/dev-util/gpuocelot-9999/image