On Fri, 2008-07-04 at 14:53 -0700, Ali Khan wrote: > Neil Williams wrote: > I poked around a little and found the problem with: > > akhan@stonehenge:/home/proj/em-debian$ sudo > /usr/lib/emdebian-tools/embootstrap > > the line causing the error is: > ARCH=`perl -e 'use Debian::DpkgCross; \ > &read_config(); \ > my $arch = &get_architecture(); \ > echo (qq/No default architecture.\n/) if (!$arch); \ > print $arch;';` > > Running it stand alone yields: > akhan@stonehenge:/home/proj/em-debian$ perl -e 'use > Debian::DpkgCross;&read_config(); echo (qq/No default architecture.\n/) > if (!$arch);' > Undefined subroutine &main::echo called at -e line 1. Ugh. OK, I'll fix that in the next release. > How can I set my target arch (presumably to avoid this error?) $ sudo emsandbox -a arm (Just for this operation) or $ sudo dpkg-reconfigure dpkg-cross and select arm in the debconf question. (for all subsequent operations) or $ cp /etc/dpkg-cross/cross-compile ~/.apt-cross/cross-compile $ editor ~/.apt-cross/cross-compile and set the default_arch there. (just for a single user) (Only ARM packages are available for emsandbox currently.) -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
Attachment:
signature.asc
Description: This is a digitally signed message part