Buildenvironment for compiling packages on the NAS
free alternative firmware for the DLink DNS-320/320L/321/323/325/327L
Brought to you by:
jcard
Is it possible to create a build environment which can be run from the NAS so we can compile packages on the NAS? I am thinking of the buildenvironment that is available for the fun-plug. See this link for a description: http://nas-tweaks.net/106/compiling-software-for-the-fonz-fun_plug/
I think this would help increasing the number of available packages and keeping them up to date. Since you don't need to have cross-compilation tools on a PC.
My first tough was Won't-do-it. Too many dependencies, patches, maintaining it... NO.
But then -- hey -- the box is linux! why not use the normal build? The fact that we will not be cross-compiling is irrelevant.
So, install dev-bundle, svn, make, bash... checkout RC4, and follow the RC4 build instructions for the 'dns323' "board" and report the missing packages -- from my build log bison will be needed -- what else?
And bison should be easily built after building autotools, which should be easy to build and have almost no dependencies.
So I return the challenge to you: try it and report back.
Building all packages, the 'pkgs' "board" in the build instruction, takes one hour on a i5@3GHz (excluding source packages download time), almost a day on a P4M@1.6GHz, so it shall take one to two weeks to build on the box :-O
Last edit: João Cardoso 2014-07-29
Hmmm... two weeks of compiling, that doesn't sound like a good solution. I think I will start and see if I can install an compiling environment on one of my Windows boxes. Thanks for your reply.
Yes.
I compiled a few required packages in the box and confirmed that the box is about 10x slower that a 12 years old Pentium M. So the ETA is 5 to 10 days to compile all packages.
There is no justification for that, so closing.