![]() |
DS101.BuildOptwarePackagesOnUbuntuBreezy HistoryHide minor edits - Show changes to markup February 23, 2008, at 04:54 AM
by -- touch of reformatting of my last edit
Added line 95:
February 23, 2008, at 04:35 AM
by -- Addendums seem incorrect
Changed lines 92-95 from:
$ make setup-optware to:
$ make setup-optware Edit Feb 22 08, Tyler Colbert Doesn't seem to need the above change as it uses subversion now instead of cvs and I can't even find the line. Seemed to work, but havent finished trying it yet. You might need to install subversion before running "make setup-optware". I already had it installed so I'm unsure. May 18, 2006, at 11:42 AM
by --
Changed line 79 from:
Edit May 18th, Jakob Nielsen: to:
Edit May 18th, Jakob Nielsen (jakob (at) jn-net.dk): Changed line 91 from:
3. now you can run: to:
3. Now you can run: May 18, 2006, at 11:31 AM
by -- Sourceforge cvs has changed cvs architecture
Changed lines 77-92 from:
to:
Edit May 18th, Jakob Nielsen: Sourceforge cvs has changed cvs architecture, therefore you have to edit the Makefile before executing: $ make setup-optware 1. Edit the Makefile, you can use Gedit: $ gedit Makefile 2. Under "setup-optware" (line 328) the following line: ( cvs -q -d :pserver:anonymous@nslu.cvs.sf.net:/cvsroot/nslu co -d optware unslung ) should be changed to this: cvs -q -d :pserver:anonymous@nslu.cvs.sourceforge.net:/cvsroot/nslu co -d optware unslung 3. now you can run: $ make setup-optware January 28, 2006, at 01:01 PM
by --
Changed lines 71-79 from:
1) Download the 0.25 source : wget http://venge.net/monotone/downloads/monotone-0.25.tar.gz 2) tar -zxvf monotone-0.25.tar.gz 3) cd monotone-0.25 4) dpkg-buildpackage -rfakeroot -uc -b 5) The above WILL create an error because of missing packages. Install the missing packages with sudo apt-get install <missing package names> 6) cd .. 7) sudo dpkg -i monotone_0.25-0.1_i386.deb to:
January 28, 2006, at 12:59 PM
by --
Changed lines 67-79 from:
michael (at) mcdonnell.dk to:
michael (at) mcdonnell.dk Edit jan 28, David Holm: Apparently the makefile has changed and now requires monotone-0.25 which cannot be installed with apt-get so: 1) Download the 0.25 source : wget http://venge.net/monotone/downloads/monotone-0.25.tar.gz 2) tar -zxvf monotone-0.25.tar.gz 3) cd monotone-0.25 4) dpkg-buildpackage -rfakeroot -uc -b 5) The above WILL create an error because of missing packages. Install the missing packages with sudo apt-get install <missing package names> 6) cd .. 7) sudo dpkg -i monotone_0.25-0.1_i386.deb December 12, 2005, at 10:42 AM
by -- A tmp directory is required before doing make ipkg-utils
Added lines 46-49:
You should then create a directory called tmp inside the optware directory: optware$ mkdir tmp November 17, 2005, at 11:01 AM
by --
Changed lines 21-22 from:
and delete the "#" at the start of the line "# deb http://archive.ubuntu.com/ubuntu breezy universe". to:
and delete the "#" at the start of the line # deb http://archive.ubuntu.com/ubuntu breezy universe November 17, 2005, at 10:59 AM
by --
Changed lines 17-18 from:
You might need to add the universe repository if it can't find monotone. Make sure that the line containg universe is uncommented. Do to:
You might need to add the universe repository if it can't find monotone. Make sure that the line containing universe is uncommented. Do November 17, 2005, at 10:52 AM
by --
Changed lines 55-56 from:
$ ipkg install name_of_the_packag.ipk to:
$ ipkg install name_of_the_package.ipk November 17, 2005, at 10:52 AM
by --
Changed lines 55-56 from:
$ ipkg install name_of_the_packag.ipkg to:
$ ipkg install name_of_the_packag.ipk November 17, 2005, at 10:51 AM
by --
Changed lines 17-18 from:
Make a directory to keep the stuff your going to download to:
You might need to add the universe repository if it can't find monotone. Make sure that the line containg universe is uncommented. Do $ sudo gedit /etc/apt/sources.list and delete the "#" at the start of the line "# deb http://archive.ubuntu.com/ubuntu breezy universe". Now we are ready to make a directory to keep the stuff your going to download Added lines 44-47:
Now the last step you need in order to build packages, is to build the package system. optware$ make ipkg-utils November 11, 2005, at 07:58 AM
by --
Added line 4:
Added lines 17-21:
Make a directory to keep the stuff your going to download $ mkdir unslung $ cd unslung November 11, 2005, at 07:07 AM
by --
Changed lines 39-40 from:
$ ipkg -i name_of_the_packag.ipkg to:
$ ipkg install name_of_the_packag.ipkg November 11, 2005, at 07:01 AM
by --
Changed lines 43-44 from:
Michael Mc Donnell to:
Michael Mc Donnell November 11, 2005, at 07:00 AM
by --
Changed lines 34-37 from:
optware$ make name_of_the_package If all goes well you will end up with a .ipkg file which you copy to your DS-101g+ and install issuing to:
optware$ make name_of_the_package-ipk If all goes well you will end up with a file name_of_the_package.ipk file in the directory optware/builds Now copy the file your DS-101g+ and install it by issuing the command(on your DS-101g+) November 11, 2005, at 06:45 AM
by -- Guide on how to set up your Ubuntu Breezy installation to make your own ipkg files for optware.
Added lines 1-43:
This is a guide on how to set up your Ubuntu Breezy installation, so that you can make your own ipkg files for optware. First you need to install the following packages:
This is easily done with the command $ sudo apt-get install build-essential automake1.9 bison monotone cvs flex libtool Then get the master makefile from www.nslu2-linux.org $ wget http://www.nslu2-linux.org/Makefile The next step will take some time. The makefile fetches all the things you need, in order to compile packages for your system. $ make setup-optware Enter the directory optware when it's done. You need to edit Makefile so that it compiles packages for the ds101g instead of the nslu2. Replace the line OPTWARE_TARGET ?= nslu2 with OPTWARE_TARGET ?= ds101g Now you are ready to build a package for your DS-101g+. The sub-directory /optware/make contains the makefiles of the packages you can build. Now issue the following command to build a package optware$ make name_of_the_package If all goes well you will end up with a .ipkg file which you copy to your DS-101g+ and install issuing $ ipkg -i name_of_the_packag.ipkg Hopefully this will work. Please edit and/or email me for corrections Michael Mc Donnell michael (at) mcdonnell.dk
view ·
edit ·
print ·
history ·
Last edited by Tyler Colbert.
Based on work by Tyler Colbert, Jakob Nielsen, David Holm, Morten Nielsen, and Michael Mc Donnell. Originally by Michael Mc Donnell. Page last modified on February 23, 2008, at 04:54 AM
|