Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Duo basic tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-28
01:56 PM
2012-11-28
01:56 PM
Duo basic tutorial
I'm looking to start compiling addons for my Duo. I'm familiar with C & C++, but I'm a Java guy by day so be gentle 🙂
The snag is that there seems to be no tutorials regarding building an opensource app so that it can be used on a Duo.
What are the pitfalls to expect. I've read that an dist-upgrade is a very bad idea, does anyone know why?
- What is not available for tinkering to updating due to being closed source
- using the pre built dev environment posted in the forum...
-- If I were to checkout a git / svn snapshot, what do I need to know before I can build a .bin that will work on the duo?
Is there a more recent repository for the Sparc Duo?
The snag is that there seems to be no tutorials regarding building an opensource app so that it can be used on a Duo.
What are the pitfalls to expect. I've read that an dist-upgrade is a very bad idea, does anyone know why?
- What is not available for tinkering to updating due to being closed source
- using the pre built dev environment posted in the forum...
-- If I were to checkout a git / svn snapshot, what do I need to know before I can build a .bin that will work on the duo?
Is there a more recent repository for the Sparc Duo?
Message 1 of 7
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-29
03:07 AM
2012-11-29
03:07 AM
Re: Duo basic tutorial
abickerton wrote: I'm looking to start compiling addons for my Duo. I'm familiar with C & C++, but I'm a Java guy by day so be gentle 🙂
I'm afraid to tell you that java will not work on a sparc. The machine is to slow to work with java applications. Maybe you can use optimized or lite java framework that will work on small java applications.
The snag is that there seems to be no tutorials regarding building an opensource app so that it can be used on a Duo.
You have to keep in mind that the duov1 is running a sparc cpu so you have to add the following parameter to your config --build=sparc-linux or maybe --host=sparc-linux
Also check http://www.readynas.com/?p=145 Maybe you want also check this video tutorial http://youtu.be/1sU_jnjp3rs?t=18m58s
What are the pitfalls to expect. I've read that an dist-upgrade is a very bad idea, does anyone know why?
I think the main problem is, that if you do a dist-upgrade the configurations files will be changed which will break the frontview. Also a dist-upgrade will remove the ssh service when you try to fix the broken packages with apt-get -f. I'm not sure whether this problem exists or not, because my last try to do a dist-upgrade is too long ago.
-- If I were to checkout a git / svn snapshot, what do I need to know before I can build a .bin that will work on the duo?
If you mean how you can create a .bin for your addon look here http://www.readynas.com/?p=346
Message 2 of 7
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-29
03:12 AM
2012-11-29
03:12 AM
Re: Duo basic tutorial
If you update libc6 it will break Frontview.
Message 3 of 7
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-29
03:29 AM
2012-11-29
03:29 AM
Re: Duo basic tutorial
mdgm wrote: If you update libc6 it will break Frontview.
What does break the frontview exactly? If you upgrade all libaries which run with the new libc (for example apache, perl libaries) it should work?
Message 4 of 7
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-11-29
04:16 AM
2012-11-29
04:16 AM
Re: Duo basic tutorial
There are perl scripts that would be broken by a perl upgrade too, I think. Best not to experiment on a production system
Message 5 of 7
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-03-09
02:18 PM
2013-03-09
02:18 PM
Re: Duo basic tutorial
It's been a while since I was here. Perhaps, it'd be a good idea to document exactly what breaks so that we can at least fix the dis upgrade problem.
Message 6 of 7
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-03-10
05:58 AM
2013-03-10
05:58 AM
Re: Duo basic tutorial
I would recommend the following stuff to fix the debian installation:
Does anybody else know some helpfull stuff for the readynas duov1?
[EDIT]
You can also create a symlink for /etc/apache/httpd.conf -> /etc/frontview/apache/httpd.conf
apt-get update
#fix perl installation (some files are missing)
apt-get install --reinstall perl
#will fix an error when using checkinstall
apt-get install less
ln -s /usr/bin/less /usr/bin/sensible-pager
#update-alternatives --config pager
apt-get install nano
#http://www.shellperson.net/change-sensible-editor/ update-alternatives --config editor
#install service
apt-get install sysvconfig
#execute long operations in a screen mode
apt-get install screen
#create debian packages
apt-get install checkinstall
apt-get install equivs
apt-get install gettext
#mysql stuff
apt-get install libmysqlclient15-dev
Does anybody else know some helpfull stuff for the readynas duov1?
[EDIT]
You can also create a symlink for /etc/apache/httpd.conf -> /etc/frontview/apache/httpd.conf
Message 7 of 7