Compiling stuffs on the ReadyNAS

The ReadyNAS is just like a regular computer system. The APT addon on ReadyNAS’s community allows end users to install or remove packages easily using the apt-get command.

Basically, you can get your compiling environment up and running by installing the following addons – APT,  ToggleSSH, EnableRootSSH. Following that, ssh to your ReadyNAS and install the following packages for compiling.

# apt-get update
# apt-get install libc6-dev gcc gdb libtag1-dev uuid-dev

Select Yes for those additional packages the system suggests.

Hurray! Time to compile transmission on the ReadyNAS.

 

Treat shadowandy!

If these step-by-step guides have been very helpful to you and saved you a lot of time, please consider treating shadowandy to a cup of Starbucks.  

5 thoughts on “Compiling stuffs on the ReadyNAS

  • August 3, 2008 at 12:41 pm
    Permalink

    Hmm, this caused my ReadyNAS to crash. Specifically:

    # apt-get update
    […]

    # apt-get install libc6-dev gcc gdb libtag1-dev uuid-dev
    […]
    dpkg: error processing gcc (–configure):
    subprocess post-installation script killed by signal (Illegal instruction)
    Setting up gdb (6.3-6) …
    dpkg: error processing gdb (–configure):
    subprocess post-installation script killed by signal (Illegal instruction)
    Setting up linux-kernel-headers (2.6.17.8ReadyNAS.netgear1) …
    Setting up libc6-dev (2.3.2.ds1-22sarge6.infrant1) …
    Setting up libtag1-dev (1.4-2bpo2.netgear1) …
    Setting up uuid-dev (1.2-1.40.2-1.netgear2) …
    Errors were encountered while processing:
    gcc
    gdb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    nas:/c/home/rico99# ls
    Illegal instruction

    I had to reinstall from flash. Any ideas?

  • August 3, 2008 at 1:15 pm
    Permalink

    Solution described here: http://www.readynas.com/forum/viewtopic.php?p=78726

    Sure enough I had messed around with ‘apt’ on my own about a year ago.
    The following fixed it:
    # cd /lib
    # rm *2.3.6*

    Then the apt-get install commands worked without breaking things.

  • August 3, 2008 at 9:09 pm
    Permalink

    Eric,

    Thanks for sharing. I would include your findings in the entry so that others could benefit as well. Thanks!

  • September 16, 2008 at 11:46 am
    Permalink

    When I tried to install these on the ReadyNAS, I get an error:

    libtag1-dev: Depends: libtag1 (= 1.4-2bpo2.netgear1) but 1.4-2bpo2.netgear2 is to be installed

    Any thoughts on this issue?

  • September 18, 2008 at 10:00 am
    Permalink

    The Plaid Cow,

    try apt-get install libtag1

Comments are closed.