Author Topic: R For Pdaxrom?  (Read 7657 times)

DReymann

  • Newbie
  • *
  • Posts: 34
    • View Profile
R For Pdaxrom?
« on: December 21, 2005, 02:24:49 pm »
Hello,

I just definitely switched to pdaxrom. The last program I am missing is the statistic package R. On cacko-Rom it was running quite nice. If I take the binaries from cacko Rom first I get the undefined __udivsi3 errror. After issuing export LD_PRELOAD=/lib/libgcc_s.so I get rid of this message but inside R I get an error:

Error in NaN:NaN argument
Error in attach(NULL, name = "Autoloads") :
        attach: pos must be an integer


Does anybody have a working R for pdaxrom or does have a hint?
I do not find anything on the web  

Thanks in advance

Detlev

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
R For Pdaxrom?
« Reply #1 on: December 21, 2005, 03:04:49 pm »
I'll compile it for you.  Looks like it will take a while to download here...

If the final IPK is small enough, I'll post it here.
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

DReymann

  • Newbie
  • *
  • Posts: 34
    • View Profile
R For Pdaxrom?
« Reply #2 on: December 22, 2005, 04:36:52 pm »
Quote
I'll compile it for you.  Looks like it will take a while to download here...
That is a real christmas gift. Thanks a lot in advance.
Quote
If the final IPK is small enough, I'll post it here.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107972\"][{POST_SNAPBACK}][/a][/div]

Because I am starting a week of holidays this night, you don't have to hurry.

Detlev
 

Hakkikkt

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
R For Pdaxrom?
« Reply #3 on: December 26, 2005, 07:08:53 am »
Hoi,
a working recent version of R would be quite nice.
I tried to compile the latest version today, but failed already during ./configure with problems related to crosscompiling gcc/g77 stuff   . I may have another look at the problem next week.
Have fun, Georg

DReymann

  • Newbie
  • *
  • Posts: 34
    • View Profile
R For Pdaxrom?
« Reply #4 on: January 09, 2006, 03:18:29 pm »
Quote
I'll compile it for you.  Looks like it will take a while to download here...

If the final IPK is small enough, I'll post it here.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107972\"][{POST_SNAPBACK}][/a][/div]

Hi,
any news?

Btw. I could provide webspace to host the ipk if available.

Detlev

Hakkikkt

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
R For Pdaxrom?
« Reply #5 on: January 10, 2006, 09:51:29 am »
Hoi,
I tried (without success) to cross-compile R. Unfortunately this is not straightforward, because the compiled R binary is used during compiling (of course that does not work with an arm-binary on X86). Lardman tried the same for openembedded (already a while ago), but he was also not successfull until now.  
I might try a native build, but I have to get a working native fortran compiler first.

Have fun, Georg

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
R For Pdaxrom?
« Reply #6 on: January 10, 2006, 10:29:37 am »
My build for openembedded produced the binary, however I didn't get round to hacking the build system to make the packages (which are required to do just about anything) or the docs.

http://people.bath.ac.uk/enpsgp/Zaurus/r_in_oe/


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

Hakkikkt

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
R For Pdaxrom?
« Reply #7 on: January 10, 2006, 01:20:08 pm »
Thanks lardman.
I see you were nearly successfull.
At the moment I try to get a native fortran compiler. I might try a native build and hope that solves the problem with the packages...
have fun, Georg

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
R For Pdaxrom?
« Reply #8 on: January 21, 2007, 03:33:54 pm »
Up unitl lately, I've been using the debian-arm versions, and those are too slow for regular use.  I mostly want to port a bunch of MATLAB programs to R or Octave or both.

Any news on this?  No one's compiled  g77 natively for pdaXrom yet?  It would be really nice to update the entire gcc suite.  Has anyone managed to do this yet?  Any tips?  I'd really like more up to date versions of R and octave.
« Last Edit: January 21, 2007, 03:36:39 pm by radiochickenwax »
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
R For Pdaxrom?
« Reply #9 on: January 22, 2007, 04:32:35 am »
This requires F77 or F2C to compile ... any idea from where to get them?
SL-C3200 ** FOR SALE :( **
https://www.oesf.org/forum/index.php?showtopic=25969

Canon K30225 CF wireless card
Taxan iTax-LAN10 wired card
My packages for customized pdaXrom beta 3

Hakkikkt

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
R For Pdaxrom?
« Reply #10 on: January 22, 2007, 06:22:58 am »
Hoi,
I have R (and additional packages like gstat) running under Opie/Gpe. See here:
https://www.oesf.org/forums/index.php?showtopic=21938&hl=

It should be possible to do it in a similar way with pdaxrom too (using qemu for performance/memory reasons ...).
Have fun, Georg

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
R For Pdaxrom?
« Reply #11 on: January 22, 2007, 03:52:10 pm »
Quote
This requires F77 or F2C to compile ... any idea from where to get them?

I compiled "F2C" from http://www.netlib.org/f2c/.  It's pretty awkward to use (and build), but it seems to work.

G77 should be a reasonable replacement for F77.  There's supposedly a version bundled with the cross-sdk, but I can't figure out how to use it yet.  I've tried to cross-compile the whole GCC suite (which would include G77 by default,) but it seems to fail upon certain assembly routines.  

I ran out of memory today, but I'll try again with F2C.
« Last Edit: January 22, 2007, 03:53:25 pm by radiochickenwax »
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
R For Pdaxrom?
« Reply #12 on: January 22, 2007, 05:58:39 pm »
Building with f2c always used to fail for me, eventually I had to find/build a cross toolchain with f77/g77.

With that said, I've not got round to doing anything more on it (there is/was a segfault in the f77/g77 compiler iirc).

I must have another go now that I have broadband  (late starter  )


Si
« Last Edit: January 22, 2007, 05:59:08 pm by lardman »
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

Hakkikkt

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
R For Pdaxrom?
« Reply #13 on: January 23, 2007, 08:10:59 am »
I used the g77 version in the native version (native sdk kit) about a year ago. Compiling simple fortran code worked, but I had trouble linking mixed fortran/c objects (which was necessary for R).
It may be easier to do a native compilation of a recent gcc version and use that version ....

Georg

radiochickenwax

  • Full Member
  • ***
  • Posts: 158
    • View Profile
R For Pdaxrom?
« Reply #14 on: January 25, 2007, 09:08:03 pm »
Quote
Posted Jan 23 2007, 01:10 PM
     I used the g77 version in the native version (native sdk kit) about a year ago.


Which version of the native sdk was this?  Is it still available?  I've been trying to rebuild gcc3.4.5, but I'm having lots of problems doing so.
ZAURII:    sl-6000 : (temporarily) bricked pdaxrom b1   ||   sl-c3200 : yonggun/Debian-EABI
OTHERS:  htc-excalibur,  axim x5,  ipaq 4355, (still trying to find useable linux setups)
thinking about gumstix to replace/augment zaurus