gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] Cross-compiling doesn't find chrpath/g++


From: Tomalak Geret'kal
Subject: Re: [gpsd-users] Cross-compiling doesn't find chrpath/g++
Date: Fri, 17 Feb 2012 13:59:23 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1

On 17/02/2012 13:13, Tomalak Geret'kal wrote:
On 17/02/2012 12:57, Tomalak Geret'kal wrote:
Still trying to figure out why chrpath isn't being located.

I'd overwritten /usr/local/bin/chrpath with an ARM binary in
earlier attempts to cross-compile it. However, I've now
fixed that, and it's still not being found.

ls -l /usr/local/bin/chrpath
-rwxr-xr-x 1 root root 41427 2012-02-17 13:09
/usr/local/bin/chrpath

chrpath -v
chrpath version 0.14

 From what I can tell, SConstruct does the same thing via
config.CheckExecutable('$CHRPATH -v', 'chrpath'). I can't
work out why this would fail.

Tom


OK, I got it built.

I reversed my earlier change to let g++ be detected, because the build went on to attempt invoking g++ rather than arm-none-linux-gnueabi-g++. I don't really need the C++ wrapper anyway.

There is something wrong with the check on chrpath, though. The logic looks ok to me, and `chkpath -v` does return a good code. But switching its executable bit and doing `scons --config=force` doesn't change anything... the test just never succeeds.

So for now I hacked out the check on SConstruct:393; the build goes on to succeed.

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]