Author Topic: Anyone Got Octave Working On Rc8?  (Read 2057 times)

jubbathehat

  • Newbie
  • *
  • Posts: 6
    • View Profile
Anyone Got Octave Working On Rc8?
« on: January 07, 2005, 06:26:57 am »
Anyone any hints on what to do to run Octave on RC8. looked back through lots of post but can't find definitive answer or even better an ipk.

Jubbathehat.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Anyone Got Octave Working On Rc8?
« Reply #1 on: January 07, 2005, 07:48:18 am »
Build it with the pdaXrom cross toolchain. It's very easy and doesn't require any patches (when built with OE at least):

./configure --host=arm-linux
make

You may want to pass more options to configure so that you can run 'make install' to install to a temp dir before creating an ipk.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Anyone Got Octave Working On Rc8?
« Reply #2 on: January 07, 2005, 04:48:29 pm »
Quote
Build it with the pdaXrom cross toolchain. It's very easy and doesn't require any patches (when built with OE at least):

./configure --host=arm-linux
make
...
_It's_not_working_. Why is that nobody came up with an ipk so far, after those long treads?

Althought some of us cried about the g77 support for the SDK, it's still not in the RC8.

Code: [Select]
sh-3.00# ./configure --host=arm-linux
...
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking for f2c... no
configure: WARNING: in order to build octave, you must have a compatible
configure: WARNING: Fortran compiler or f2c installed and in your path.
configure: error: See the file INSTALL for more information.
I compiled f2c but it's just not working, it compiles wrong code. And I don't want to recompile gcc.

I got octave working with a chrooted Debian. This is the only thing what I need from Debian and now it uses 120 megabyte. And it would be much faster if it were compiled with VFP. So, as you see I really want to have octave compiled and packed in a nice ipk, but I can't do it.

Any help would be appreciated.
Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Anyone Got Octave Working On Rc8?
« Reply #3 on: January 07, 2005, 05:13:37 pm »
In my experience f2c won't work.

Quote
Why is that nobody came up with an ipk so far, after those long treads?

It builds fine using OE and there's (therefore) one in the OZ feed ;-)

Quote
Althought some of us cried about the g77 support  for the SDK, it's still not in the RC8.

Talk to your toolchain providers, I don't blame you for not wanting to have to re-compile. Once you have g77 working it's an easy matter to build it.

You could (probably) use the OE/OZ version by tricking LD_LIBRARY_PATH...


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva