maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Octave 3.2.3 and gnuplot 4.2.6 on the N900 (https://talk.maemo.org/showthread.php?t=41227)

antviro 2010-12-23 11:48

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
Finally, I have switch to extra-devel just for the installing of octave (and remove the extra-devel afterwards).

Thanks to developers, I think it is a pretty tool. By the way, I guess you realized the '=' symbol is slower to use than others that are directly in keyboard (at least in Pt and Spanish ones). There are 2 possibilities for users to solve that, modifying the layout when opening octave (through a shell script) or smarter to define a new operator equal to the '='. I don't remember what should i do for the last option. If somebody remember, please reply me, otherwise I will write it here when I found how it was as I guess it will be interesting for others.

I think this is a beautiful tool as it convert your cell into the "better" programmable calculator.

mdziaf 2011-01-12 04:29

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
Quote:

Originally Posted by jwshale (Post 848240)
Also, it would appear that octave packages can be installed by downloading from the internet (octave sourceforge) and the doing the following from within octave:
Code:

pkg install /foo/bar/downloadedpackage.tar.gz

Hi there, sorry to bring up an old thread, but could someone help me install an octave package. I'm getting the following:

Code:

configure: error: in `/var/tmp/oct-NBXuTf/odepkg-0.6.10/src':
configure: error: C compiler cannot create executables
See `config.log' for more details.
the configure script returned the following error: checking for gcc... gcc
checking whether the C compiler works... no
error: called from `pkg>configure_make' in file /opt/octave//share/octave/3.2.3/m/pkg/pkg.m near line 1240, column 2
error: called from:
error: /opt/octave//share/octave/3.2.3/m/pkg/pkg.m at line 714, column 5
error: /opt/octave//share/octave/3.2.3/m/pkg/pkg.m at line 287, column 7

any suggestions?

lardman 2011-01-12 08:46

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
Can gcc create a simple Hello World! app? Or is there some problem with its installation?

mdziaf 2011-01-12 10:34

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
Quote:

Originally Posted by lardman (Post 918467)
Can gcc create a simple Hello World! app? Or is there some problem with its installation?

Where abouts do i write the line of code for the Hello World app? within xterminal? Can you please show me.

antviro 2011-01-12 10:42

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
Do yo have a gcc installed on your maemo?

It seems to be in extras-devel or in SDK repositories:
http://talk.maemo.org/showthread.php...&highlight=gcc

You can check it by calling it from the xterm, for instance at my laptop:

$> gcc --version
gcc (Debian 4.4.5-8) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

mdziaf 2011-01-12 10:46

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
Quote:

Originally Posted by antviro (Post 918521)
Do yo have a gcc installed on your maemo?

It seems to be in extras-devel or in SDK repositories:
http://talk.maemo.org/showthread.php...&highlight=gcc

You can check it by calling it from the xterm, for instance at my laptop:

$> gcc --version
gcc (Debian 4.4.5-8) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ok just ran the
Code:

~$ gcc --version
an got
Code:

-sh: gcc: not found
so i guess i haven't installed it yet :P that must explain why it was giving me the error..will try downloading gcc and try installing a package.

mdziaf 2011-01-12 11:37

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
after writing pkg install symbolic-1.0.9.tar.gz, now I'm getting the following error:
Code:

configure: error: GINAC not found
the configure script returned the following error: checking for pkg-config... no
checking for GINAC...
error: called from 'pkg>configure_make' in file /opt/octave//share/octave/3.2.3/m/pkg/pkg.m near line 1240, column 2
error: called from:
error:    /opt/octave//share/octave/3.2.3/m/pkg/pkg.m at line 714, column 5
error:    /opt/octave//share/octave/3.2.3/m/pkg/pkg.m at line 287, column 7


antviro 2011-01-12 11:55

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
Can you check whether pkg-config is within any package of extra-devel?

mdziaf 2011-01-12 11:58

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
sorry but how do i do that?

lardman 2011-01-12 12:08

Re: Octave 3.2.3 and gnuplot 4.2.6 on the N900
 
I'm not so sure that building the packages ourselves on the device is the best way to go. It would be preferable in terms of installation space (no need for GCC and all the other Octave deps) as well as speed to be able to compile and then package these up using scratchbox.

Has anyone looked at whether this is possible/how awkward it would be?


All times are GMT. The time now is 18:17.

vBulletin® Version 3.8.8