Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Jan 2009
#1
I remember reading a while ago about someone who had installed Octave 3.0 and was running it on Debian on the n800 (albeit very slowly). However when I try to install Octave 3.0 with the Synaptic Package Manager, it initiates installation but fails after recording errors in various packages. I'm a complete noob to Debian, and am not sure if I'm doing something wrong, or if there is another way to get octave running, or if it simply will not run. Octave on the tablet would be awesome and any help is appreciated.
Thanks
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#2
I had it compiled, though I seem to have forgotten where I put the binaries.

It's a really easy thing to compile (after removing from the control file some of the pretty random libraries that debian wants to link it against), is Qwerty about and does he fancy doing a build for extras?
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#3
Ok, I take it back, although it should be easy to compile, Debian's build deps make it a bit of a pita. E.g. slice is needed and I'm not sure the Debian build system likes the thought of f2c rather than g77/gfortran.

I did coerce scratchbox into building and using slice and also f2c, but I've since removed that particular incarnation of scratchbox I'm afraid.

You could of course compile it manually (i.e. configure && make stylee) and then package it yourself, note you will need f2c.

I'll add it to my todo list, but realistically it's very near the bottom.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#4
I don't have a lot of information to go on here; I assume this is Easy Debian? If it is, and you've just installed Easy Debian, make sure you do a "Reload Package Information" in Synaptic before attempting to install. If you have done that already, then perhaps you could post some of the specific errors you are getting?

I couldn't find the post you were referring to, however...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 4 | Thanked: 0 times | Joined on Jan 2009
#5
qole-

Yes, I'm running Easy Debian and have cleared out sufficient space. I have also Reloaded Package Information. Every time I attempt to install Octave 3.0 it gets about 30% installed and I receive the following errors:
E: /var/cache/apt/archives/texinfo_4.11.dfsg.1-4_armel.deb: error creating directory `./usr/share/doc/texinfo'
E: /var/cache/apt/archives/libgd2-noxpm_2.0.36~rc1~dfsg-3_armel.deb: error creating directory `./usr/share/doc/libgd2-noxpm'
E: /var/cache/apt/archives/gnuplot-nox_4.2.2-1.2_armel.deb: unable to create `./usr/share/menu/gnuplot-nox'
E: /var/cache/apt/archives/libwxbase2.6-0_2.6.3.2.2-3_armel.deb: error creating directory `./usr/share/doc/libwxbase2.6-0'
E: /var/cache/apt/archives/libglu1-mesa_7.0.3-7_armel.deb: error creating directory `./usr/share/doc/libglu1-mesa'
E: /var/cache/apt/archives/libwxgtk2.6-0_2.6.3.2.2-3_armel.deb: error creating directory `./usr/share/doc/libwxgtk2.6-0'
E: /var/cache/apt/archives/gnuplot-x11_4.2.2-1.2_armel.deb: subprocess pre-installation script returned error exit status 2
E: /var/cache/apt/archives/gnuplot_4.2.2-1.2_all.deb: error creating symbolic link `./usr/share/doc/gnuplot'
E: /var/cache/apt/archives/libcurl3-gnutls_7.18.2-8_armel.deb: error creating directory `./usr/share/doc/libcurl3-gnutls'
E: /var/cache/apt/archives/libfftw3-3_3.1.2-3.1_armel.deb: error creating directory `./usr/share/doc/libfftw3-3'
E: /var/cache/apt/archives/libltdl3_1.5.26-4_armel.deb: error creating directory `./usr/share/doc/libltdl3'
E: /var/cache/apt/archives/libglpk0_4.29-2_armel.deb: error creating directory `./usr/share/doc/libglpk0'
E: /var/cache/apt/archives/libhdf5-serial-1.6.6-0_1.6.6-4_armel.deb: error creating directory `./usr/share/doc/libhdf5-serial-1.6.6-0'
E: /var/cache/apt/archives/libqhull5_2003.1-9lenny1_armel.deb: error creating directory `./usr/share/doc/libqhull5'
E: /var/cache/apt/archives/octave3.0_1%3a3.0.1-6lenny1_armel.deb: error creating directory `./usr/share/man/man1'

Also the post I was referring to was
Originally Posted by XTC View Post
Octave is avaliable for OS2006 although I didn't try it on maemo.
On "easy debian" (thank You quole) I installed Octave3.0 and looks like it works.
Worth mentioning - Octave itself is quite resource hungry application, starting it on my desktop at work WinXP@P4 3.0GHz takes about 11 seconds to get the final prompt so don't panic if You'll start it on NIT and forget about what You've done
For example
graphing step response like:
step(tf([1 2],[2 10 5]))
takes about 10secs on my P4.
On the tablet - it was I think more than a minute - but worked.
From http://www.internettablettalk.com/fo...ghlight=octave


Thanks for replying.
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#6
You are trying to install as root? As you can see, the errors are for symlinks and directories which can't be created.

That is a nasty dep chain which octave brings with it - libglu1-mesa, texinfo, libwxbase2.6, etc.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#7
Those errors look like there's something seriously wrong with your Easy Debian image file; are you sure you've got enough space? If you start the Debian Chroot menu icon and type,
Code:
df -h
do you have any space free? What does it say under "Avail"?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#8
Trying to be helpful: octave 3.0 installs ok
Code:
[root@Debian: /]apt-get install octave
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Lettura informazioni sullo stato... Fatto
Il pacchetto octave � un pacchetto virtuale fornito da:
  octave3.0 1:3.0.1-6lenny1
  octave2.1 1:2.1.73-19
Bisogna esplicitamente sceglierne uno da installare.
E: Il pacchetto octave non ha candidati da installare
[root@Debian: /]apt-get install octave3.0
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti verranno inoltre installati:
  gnuplot libfftw3-3 libglpk0 libhdf5-serial-1.6.6-0 libltdl3 libqhull5 texinfo
Pacchetti suggeriti:
  gnuplot-doc libfftw3-dev libiodbc2-dev libmysqlclient15-dev octave3.0-info octave3.0-doc
  octave3.0-htmldoc octave3.0-headers octave3.0-emacsen texinfo-doc-nonfree texlive-base
  texlive-generic-recommended texlive-latex-base
Pacchetti raccomandati:
  libatlas3gf-base
I seguenti pacchetti NUOVI (NEW) saranno installati:
  gnuplot libfftw3-3 libglpk0 libhdf5-serial-1.6.6-0 libltdl3 libqhull5 octave3.0 texinfo
0 aggiornati, 8 installati, 0 da rimuovere e 4 non aggiornati.
� necessario prendere 10,4MB di archivi.
Dopo quest'operazione, verranno occupati 33,6MB di spazio su disco.
Continuare [S/n]? s
Get:1 http://http.us.debian.org unstable/main texinfo 4.11.dfsg.1-4 [716kB]
Get:2 http://http.us.debian.org lenny/main gnuplot 4.2.2-1.2 [1416B]
Get:3 http://http.us.debian.org unstable/main libfftw3-3 3.1.2-3.1 [889kB]
Get:4 http://http.us.debian.org unstable/main libltdl3 1.5.26-4 [178kB]
Get:5 http://http.us.debian.org unstable/main libglpk0 4.29-2 [387kB]
Get:6 http://http.us.debian.org unstable/main libhdf5-serial-1.6.6-0 1.6.6-4 [656kB]
Get:7 http://http.us.debian.org lenny/main libqhull5 2003.1-9lenny1 [167kB]
Get:8 http://http.us.debian.org unstable/main octave3.0 1:3.0.1-6lenny1 [7392kB]
Scaricato 10,4MB in 1min21s (127kB/s)
Selezionato il pacchetto texinfo, che non lo era.
(Lettura del database ... 49701 file e directory attualmente installati.)
Spacchetto texinfo (da .../texinfo_4.11.dfsg.1-4_armel.deb) ...
Selezionato il pacchetto gnuplot, che non lo era.
Spacchetto gnuplot (da .../gnuplot_4.2.2-1.2_all.deb) ...
Selezionato il pacchetto libfftw3-3, che non lo era.
Spacchetto libfftw3-3 (da .../libfftw3-3_3.1.2-3.1_armel.deb) ...
Selezionato il pacchetto libltdl3, che non lo era.
Spacchetto libltdl3 (da .../libltdl3_1.5.26-4_armel.deb) ...
Selezionato il pacchetto libglpk0, che non lo era.
Spacchetto libglpk0 (da .../libglpk0_4.29-2_armel.deb) ...
Selezionato il pacchetto libhdf5-serial-1.6.6-0, che non lo era.
Spacchetto libhdf5-serial-1.6.6-0 (da .../libhdf5-serial-1.6.6-0_1.6.6-4_armel.deb) ...
Selezionato il pacchetto libqhull5, che non lo era.
Spacchetto libqhull5 (da .../libqhull5_2003.1-9lenny1_armel.deb) ...
Selezionato il pacchetto octave3.0, che non lo era.
Spacchetto octave3.0 (da .../octave3.0_1%3a3.0.1-6lenny1_armel.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Configuro texinfo (4.11.dfsg.1-4) ...
Configuro gnuplot (4.2.2-1.2) ...
Configuro libfftw3-3 (3.1.2-3.1) ...
Configuro libltdl3 (1.5.26-4) ...
Configuro libglpk0 (4.29-2) ...
Configuro libhdf5-serial-1.6.6-0 (1.6.6-4) ...
Configuro libqhull5 (2003.1-9lenny1) ...
Configuro octave3.0 (1:3.0.1-6lenny1) ...
Processing triggers for menu ...
localepurge: Disk space freed in /usr/share/locale: 1064K
It also starts without segfaulting or the so.
I was also able to compute 2+3 and its square root.
For more complex stuff: dunno - only know some commands for derive.

So, most likely qole is right and your rootfs is borked :-)
 

The Following 3 Users Say Thank You to debernardis For This Useful Post:
Posts: 4 | Thanked: 0 times | Joined on Jan 2009
#9
Thanks guys,
I re-flashed my n800 and reinstalled easy debian. After clearing out space, I was able to successfully download and install octave3.0 with out any issues.

Qole- Thanks so much for your work on creating an easy way to install debian, it makes the tablet much more powerful.

On a side note, I'm not sure what happened to my last install, it had plenty of free space when I typed df -h. I had sliderotate installed and think that it was causing some stability issues, maybe related, but I'm not sure.

Thanks again and keep up the good work.

Last edited by scottydoesntknow; 2009-01-15 at 01:51.
 
Posts: 25 | Thanked: 8 times | Joined on Feb 2009 @ Venezia
#10
sorry guys but i'm wondering why you are trying to install octave under the easydev environment when it's ported to maemo already, together with gnuplot.
by the way, i find it to be pretty responsive: executing "step(tf([1 2],[2 10 5]))" takes just a few seconds, not minutes as mentioned a few post above...
 

The Following User Says Thank You to fabbro For This Useful Post:
Reply

Tags
debian


 
Forum Jump


All times are GMT. The time now is 12:36.