Lost Password? No account yet? Sign up! Why bother?
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size

SmallNetBuilder - Small Network Help

  
Home arrow NAS arrow NAS How To arrow How To:Hacking the Linksys NSLU2 - Part 3 - Adding an iTunes server
How To:Hacking the Linksys NSLU2 - Part 3 - Adding an iTunes server Print E-mail
Jim Buzbee   
August 24, 2004

Easy builds first

It's important to build our packages in the right order. The most basic package seems like zlib since it shouldn't have any external dependencies. In the zlib directory enter the following command:

./configure --prefix=$BASE

The prefix argument tells Autoconf where to place the result of the build. When executing the script, you should get a few lines of output and should see your arm-gcc compiler referenced. Now that it's properly configured, just do a simple:

make install

After a number of files are compiled and a library created, the resultant files are copied into our base directory. That was surprisingly simple. One package down, three more to go.

We'll tackle the gdbm package next. It should also have no external dependencies, but we'll have to tell it a little more about how we want the package configured. In the gdbm directory execute the following command:

./configure --host=arm-linux --prefix=$BASE

This Autoconf setup requires us to tell it which architecture we are building for and the host argument is used for that. Executing this command causes a much longer configuration listing than our last one, but it should finish up in a few seconds. Next do the build by issuing the command:

make install

This build is a little bit ugly. You should see a long compilation, followed by ldconfig complaining about the resultant shared library because it doesn't understand arm binaries. We're not concerned with this because we're obviously not going to be using the libraries on this box. You may also see an error regarding changing the ownership of gdbm.h. This error is also harmless to our build.

Now on to libid3tag. From the libid3tag directory:

./configure --host=arm-linux --prefix=$BASE

This generates a long listing, then as before:

make install

This build will complete as before with a harmless complaint from ldconfig. Our libraries are now complete. This has been all too easy right? Well now it will get just a little more difficult as we move on to mt-daapd .



Tags: BYOD, Hacking, How To, Linksys, NAS, NSLU2,

Related Articles:

How To: Hacking the Linksys NSLU2 - Part 2 - Adding NFS
How To: Hacking the Linksys NSLU2 - Part 5- Moving to Unslung
How To: Hacking the Linksys NSLU2 - Part 4- Customizing the Flash
Hacking the Linksys NSLU2 Part VI - Installing a Media Server
How To: Hacking the Linksys NSLU2 - Part 1
 

Most Read

 
 

Over At The Forums

Are Cat6 and Cat5e not perfectly compatible?
So, I was rearranging some of my network today (notably moving my router to a different room) and I noticed something very odd. When I...

Captive portal for security
I've read about this in the previous Bed & Breakfast thread. Our company wants to get wireless going on one of the floors. There is only personal...

D-Link DNS-323 Mysteries
Hello folks. I'm having issues with my Nas and looking for some thoughts. 1. The 323 gets recognised by Vista as a network device but...

Gigabit Network Help!
I have a gigabit NAS (D-link 323) that I have connected to a D-Link DGS-1005D gigabit switch. I then have my desktop connected to...

Synology DS-209+ review up!!
Looks real good. Now Netgear needs to play catchup and dump that old Infrant CPU for something more modern and powerful!! http://www.trustedreviews.com/networ...ion-DS-209-/p1

Slideshows

NETGEAR ReadyNAS Pro Western Digital ShareSpace QNAP TS-509 Pro D-Link DNS-343 4-Bay Network Storage Enclosure Thecus N3200 RAID 5 NAS D-Link DIR-628 RangeBooster N Dual Band Router More

Win This!

Enter to Win!

You could win a Trendnet TEW-633GR Wireless N Gigabit Router and two TEW-621PC 300Mbps Wireless N-Draft PC Cards

Learn How!

 

Ldr:0.00183796882629, Rct:0.00605416297913, Sky:0.00780415534973, Tlink:0.2321870327, TopPG:0.232275009155, GQV:0.232429027557 seconds to load.