[Nut-upsuser] cross-compiling nut

nut at johnea.net nut at johnea.net
Fri Jul 22 01:09:34 UTC 2011

On 07/21/2011 01:31 PM, Tilman Glotzner wrote:
> That worked, and nut compiles and builds.

> Now I need to install nut in the image to be downloaded to the embeeded board. How can I set installation path ? Will the --prefix option for the configure script do the trick ?

You might consider packaging and installing with something like opkg.

I use archlinux (which is now available on certain arm architectures) for this 
configuration (--prefix=/usr) the package list is attached below.

How much of this you install on your embedded system will depend on what 
functionality you expect the system to have. For instance you almost certainly 
don't need the man pages.

There's also a pretty good tutorial on building packages into the buildroot image:
that, or opkg or pacman, might be a better long term solution.

Good Luck!


~~~~~~~~~~~~~~~~~~~~~ package list file attached ~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nut-filelist.txt
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110721/05ab9e1e/attachment.txt>

More information about the Nut-upsuser mailing list