public inbox for gentoo-devhelp@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@arcor.de>
To: gentoo-devhelp@lists.gentoo.org
Subject: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS?
Date: Tue, 17 May 2011 08:23:47 +0300	[thread overview]
Message-ID: <iqt0p3$hls$1@dough.gmane.org> (raw)
In-Reply-To: <20110517051428.GL31702@ohnopublishing.net>

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




  reply	other threads:[~2011-05-17  5:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17  3:48 [gentoo-devhelp] How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? Nikos Chantziaras
2011-05-17  4:49 ` [gentoo-devhelp] " Nikos Chantziaras
2011-05-17  5:14   ` Nathan Phillip Brink
2011-05-17  5:23     ` Nikos Chantziaras [this message]
2011-05-17  6:45       ` Peter Volkov
2011-05-17  7:18         ` Nikos Chantziaras
2011-05-17  8:57           ` Peter Volkov
2011-05-17 15:40             ` Nikos Chantziaras
2011-05-17 18:58               ` Peter Volkov
2011-05-17 19:12                 ` Nikos Chantziaras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='iqt0p3$hls$1@dough.gmane.org' \
    --to=realnc@arcor.de \
    --cc=gentoo-devhelp@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox