Compiling stuffs on the ReadyNAS (5)


    July 21st, 2008 | Tags: , , ,

    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.


    Share it on del.icio.us




    5 responses

    1. 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?

       
    2. 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.

       
    3. Eric,

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

       
    4. 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?

       
    5. The Plaid Cow,

      try apt-get install libtag1

       

    RSS Feeds




    Treat shadowandy!


    Like to treat shadowandy a cup of Starbucks?

    Polls


    Which is your preferred SOHO networking brand?

    • D-Link (48%, 225 Votes)
    • Linksys (27%, 126 Votes)
    • Cisco (12%, 57 Votes)
    • Netgear (7%, 34 Votes)
    • Buffalo (2%, 9 Votes)
    • TRENDnet (1%, 6 Votes)
    • PCI (1%, 5 Votes)
    • Planex (2%, 3 Votes)

    Total Voters: 465

    Loading ... Loading ...

    Recent Comments



    Friend's Blog



    Interesting Links



    Previous Postings



    Copyright © 2005 - 2010 www.shadowandy.net  99 queries. 0.276 seconds.Go back up ↑