Search the web
Sign In
New User? Sign Up
nslu2-linux · NSLU2-Linux (http://www.nslu2-linux.org)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Installing NSLU2 toolchain   Message List  
Reply | Forward Message #23848 of 24102 |
Re: Installing NSLU2 toolchain

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
optware/slugos5{be,le}, you should use /usr/bin/opkg to install native gcc ipk.

-Brian

--- In nslu2-linux@yahoogroups.com, "david90210david" <david@...> wrote:
>
>
> 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?)
>
> 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:
>
> # 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=optware-devel
> local_filename=/opt/ipkg-aghnQ0/optware-devel_6.8-9_armeb.ipk
> tmp_dir=/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.
>
> 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?
>





Thu Jul 9, 2009 5:20 am

brian_zhou
Offline Offline
Send Email Send Email

Forward
Message #23848 of 24102 |
Expand Messages Author Sort by Date

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...
david90210david
slugchugger
Offline Send Email
Jul 4, 2009
2:42 pm

... 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....
Mike Westerhof (mwest...
mjwest61
Offline Send Email
Jul 8, 2009
3:04 pm

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...
Brian Zhou
brian_zhou
Offline Send Email
Jul 9, 2009
5:20 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help