On Sat, 12 Jan 2013, Neil Williams wrote: > On Sun, 06 Jan 2013 00:01:21 -0000 > "Jess Robinson" <castaway@desert-island.me.uk> wrote: > >>>> My branch now has a Configure which builds a miniperl (and >>>> generate_uudmap) when cross compiling, and stores the path to them as >>>> "hostperl" and "hostgenerate" in the config.sh. The Makefile.SH then >>>> uses >>>> them if set, instead of building, by symlinking. > > OK, I've now completed a targethost build on armel - it was a bit > complex because I had to set up sshd_config to push the ssh login into > a chroot to get the correct build dependencies. (I'll document that via > my blog later.) > > The configure-for-cross branch fails: > Checking how long a character is (in bits)... > What is the length of a character (in bits)? [Ok] > Your system has an unsigned character size of Ok bits, which > is rather unusual (normally it is 8 bits). Perl likely will not work > correctly on your system, with subtle bugs in various places. > Do you really want to continue? [n] Darn, yup, I just fixed that locally for doing it for raspberry pi, I'd already done it in the androidy variant, but that doesn't use ssh .. > What turns out to be happening here is that the tests are not copying > the test executable each time and it appears to be down to the > targetrun operation: > > if $test ! -f \$exe.xok; then > $to \$exe > $touch \$exe.xok > fi > $targetrun -l $targetuser $targethost "cd \$cwd && ./\$exe \$@" > > That test works once but then fails - I can't find where \$exe.ok would > be removed. I'm not sure why it's necessary, the simpler: I alsso couldn't see what the point was, and as it builds a number of test programs with the same name.. it's a bit useless. > $to \$exe > $targetrun -l $targetuser $targethost "cd \$cwd && ./\$exe \$@" > > works for me. Ditto. > http://linux.codehelp.co.uk/emdebian/perl-cross-debian/upstream-imx53.log > > My additional arguments were: > LINE=" ${LINE} -Dtargetuser=root -Dtargethost=192.168.0.20" Great stuff, thanks! JessThread Previous | Thread Next