![]() |
Octave 3.2.3 and gnuplot 4.2.6 on the N900
3 Attachment(s)
Hello,
I compiled Octave and gnuplot on the SDK according to the instructions on the wiki http://wiki.maemo.org/How_to_Install_Octave. I changed the configure options to install everything to /opt. Then I created a tar.gz file and moved it to the N900, unpacked it (to /opt) and both gnuplot and octave work fine. I only had to add the paths to /home/user/.profile and create a couple of symlinks for the gnuplot executables. I also had to install "less" from fremantle/tools to access the help files. (Help does not work too well , because it also seems to need "makeinfo".) Anyway, now how do I go about creating .deb packages? Some screenshots below: Attachment 5992 Attachment 5993 Attachment 5994 |
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Ah, I just uploaded Octave to extras-devel actually.
Not sure if it will work (I've manually optified by targetting /opt/octave/ as the installation dir, then symlinked the binaries and libs back to /usr/*/ |
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Well I tried to upload it, but forgot it has a dep on blas (which I'd yet to upload) and that has just failed in the x86 build. Feel free to take a look, otherwise I'll see what's wrong with it this evening. Links here:
https://garage.maemo.org/builder/fremantle/blas_1.2-2/ https://garage.maemo.org/builder/fre..._3.2.3-maemo0/ |
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Quote:
Eager to see octave there. |
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Quote:
Where should I start in order to learn how to create .deb packages from source code? I couldn't find any step-by-step guides in the wiki. All I found were references to the Ubuntu Packaging Guide. I'm also interested in porting aspell (http://aspell.net/) to use as my spell-checker for vim. |
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Best bet is to download the debian package (i.e. .tar.gz + .dsc + .diff.gz) which contains the debian directory, then patch as appropriate and try to build with "dpkg-buildpackage -rfakeroot"
|
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Quote:
There is a very detailed guide here that will walk step by very long step on package creation from source. Including how to check for dependencies and such with a autoconf-like source. |
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Quote:
Looking for the stable debian package for aspell, I found the .tar.gz, .dsc, and diff.gz. files you mentioned here: http://packages.debian.org/source/stable/aspell . Will running "dpkg-buildpackage -rfakeroot" build a .deb file that will install on the N900. How do I make sure that the files get installed to /opt ? Forgive my ignorance, but what do you mean by "patch as appropriate"? Can you point me to some documentation that explains all the steps to build the package? Thanks, |
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Quote:
Quote:
Quote:
|
Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
Hi, I just thought I'd let you know how I got aspell installed and
working in my N900. I got aspell_0.60.6-1_armel.deb from http://danielsz.freeshell.org/code/mine/emacs-for-maemo and did dpkg -i aspell_0.60.6-1_armel.deb Then, to install the dictionaries I needed, I copied over all the /usr/lib/aspell-0.60/en* files from a Fedora-12 installation to /usr/lib/aspell-0.60/. on the phone. That's it, easy. And now flyspell works in emacs too, which is great! |
| All times are GMT. The time now is 18:17. |
vBulletin® Version 3.8.8