From b88zhou@... Wed Jul 08 22:20:17 2009
Return-Path: <b88zhou@...>
X-Sender: b88zhou@...
X-Apparently-To: nslu2-linux@yahoogroups.com
X-Received: (qmail 29686 invoked from network); 9 Jul 2009 05:20:17 -0000
X-Received: from unknown (98.137.34.46)
by m2.grp.sp2.yahoo.com with QMQP; 9 Jul 2009 05:20:17 -0000
X-Received: from unknown (HELO n46b.bullet.mail.sp1.yahoo.com) (66.163.168.160)
by mta3.grp.sp2.yahoo.com with SMTP; 9 Jul 2009 05:20:16 -0000
X-Received: from [69.147.65.148] by n46.bullet.mail.sp1.yahoo.com with NNFMP; 09 Jul 2009 05:20:16 -0000
X-Received: from [98.137.34.35] by t11.bullet.mail.sp1.yahoo.com with NNFMP; 09 Jul 2009 05:20:16 -0000
Date: Thu, 09 Jul 2009 05:20:16 -0000
To: nslu2-linux@yahoogroups.com
Message-ID: <h33umg+jcvb@eGroups.com>
In-Reply-To: <h2npm4+8rkj@eGroups.com>
User-Agent: eGroups-EW/0.82
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Yahoo Groups Message Poster
X-Yahoo-Newman-Property: groups-compose
X-Originating-IP: 66.163.168.160
X-eGroups-Msg-Info: 1:6:0:0:0
X-Yahoo-Post-IP: 70.137.137.202
From: "Brian Zhou" <b88zhou@...>
Subject: Re: Installing NSLU2 toolchain
X-Yahoo-Group-Post: member; u=194724246; y=N4gzBIF7vfYmge8cS5hXpecLgUaTg4zNrbsUCoXSoFSKn7LWag
X-Yahoo-Profile: brian_zhou
Not all optware feeds have native toolchain. The optware-devel is just a me=
ta package, it includes native toolchain if one is available. In the case o=
f optware/slugos5{be,le}, you should use /usr/bin/opkg to install native gc=
c ipk.
-Brian
--- In nslu2-linux@yahoogroups.com, "david90210david" <david@...> wrote:
>
>=20
> I am trying to install a native toolchain to my NSLU2 with SlugOS/BE
> installed. It is very frustrating; many of the instructions in the WIKI
> are outdated, and many of the external links do not work. I finally
> found one that seemed reasonable, at
> http://www.nslu2-linux.org/wiki/HowTo/NativelyCompileUnslungPackages
> <http://www.nslu2-linux.org/wiki/HowTo/NativelyCompileUnslungPackages> .
> Based on it, I tried "ipkg install optware-devel" and it merrily churned
> for several minutes before giving an error, something about wget-ssl not
> being compatible with wget. (I also tried it with "opkg", but no joy
> there at all. How do you know which to use?)
>=20
> I uninstalled wget and then manually installed wget-ssl, which seemed to
> work fine. Then I tried rerunning "ipkg install optware-devel", and it
> reported success almost immediately. But there's still no compiler. No
> gcc, no cc, no cl, nothing. I tried uninstalling the package using
> "ipkg -V 2 -force-removal-of-dependent-packages -recursive remove
> optware-devel", and various other combinations, which all reported
> success. However, when I repeat the "ipkg install optware-devel" (or
> even "ipkg -V 2 -force-reinstall install optware-devel"), it returns
> almost immediately and reports success, but there's still no compiler.
> Here's the output from that last incantation:
>=20
> # ipkg -V 2 -force-reinstall install optware-devel
> pkg_info_preinstall_check: updating arch priority for each package
> pkg_info_preinstall_check: update file owner list
> Reinstalling optware-devel (6.8-9) on root...
> Downloading
> http://ipkg.nslu2-linux.org/feeds/optware/slugos5be/cross/unstable/optwa\ > re-devel_6.8-9_armeb.ipk
> <http://ipkg.nslu2-linux.org/feeds/optware/slugos5be/cross/unstable/optw\ > are-devel_6.8-9_armeb.ipk>
> Running script //opt/lib/ipkg/info/optware-devel.preinst
> installing maintainer scripts
> installing data files
> extracting data files to /
> creating optware-devel.list file
> creating //opt/lib/ipkg/info/optware-devel.list file for pkg
> optware-devel
> resolving conf files
> cleanup temp files
> cleanup_temporary_files: pkg=3Doptware-devel
> local_filename=3D/opt/ipkg-aghnQ0/optware-devel_6.8-9_armeb.ipk
> tmp_dir=3D/opt/ipkg-aghnQ0
> Done.
> Configuring unpacked packages
> Configuring optware-devel
> Running script //opt/lib/ipkg/info/optware-devel.postinst
> writing status file
> pkg_write_changed_filelists: saving changed filelists
> creating optware-devel.list file
> creating //opt/lib/ipkg/info/optware-devel.list file for pkg
> optware-devel
> Successfully terminated.
>=20
> I've looked everywhere and can't seem to find an answer to this problem.
> All I'm trying to do is make an NSLU2 version of AVRDUDE. Can someone
> please answer this question: How do I install a toolchain to compile
> natively on the NSLU2?
>
I am trying to install a native toolchain to my NSLU2 with SlugOS/BE installed. It is very frustrating; many of the instructions in the WIKI are outdated, and...
... It seems that would be a bug in the meta-package, or in the way wget is packaged. ... ipkg installs "optware", opkg installs the native packages....
Not all optware feeds have native toolchain. The optware-devel is just a meta package, it includes native toolchain if one is available. In the case of...