Author Topic: Periodic Table (gperiodic) For Pdaxii13  (Read 5414 times)

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« on: February 18, 2007, 12:43:59 pm »
Hello all,

I'm looking for a periodic table of the elements for pdaxrom (well, xpaxii13, actually) and want to use my favorite linux application, gperiodic. As it is a gtk+-Application, I did expect it to work. It compiles fine on the Zaurus (C3100 with gcc 3.4.6), but when I try to run the executable all I get is 100% CPU load.

Maybe someone came across the same problem or one of the experts here has the time to take a quick look...
YT,
Tron

Ling

  • Sr. Member
  • ****
  • Posts: 350
    • View Profile
    • http://
Periodic Table (gperiodic) For Pdaxii13
« Reply #1 on: February 18, 2007, 12:56:27 pm »
If you look at the Want Compiled thread, Meanie posted earlier today that the standard gcc on the Z (w/ pdaXii13) will not work. I think that he said version 2.5.9 is needed, but not sure, check it out.
SL-C3200 w/ pdaXii13 5.3
SL-C860 w/ OZ GPE 3.4.1
Accessories: 4GB Microdrive, 4GB Transcend SD, Linksys WFC12 CF 802.11b, Ambicom CF Modem, Socket Bluetooth

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Periodic Table (gperiodic) For Pdaxii13
« Reply #2 on: February 18, 2007, 10:41:08 pm »
Quote
If you look at the Want Compiled thread, Meanie posted earlier today that the standard gcc on the Z (w/ pdaXii13) will not work. I think that he said version 2.5.9 is needed, but not sure, check it out.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154606\"][{POST_SNAPBACK}][/a][/div]

I didn't say that at all. the gcc compiler on the Z is fine for compiling apps, but not for compiling kernel modules because we are still using an older kernel which needs an older compiler...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #3 on: February 19, 2007, 07:55:01 pm »
Quote
I didn't say that at all. the gcc compiler on the Z is fine for compiling apps, but not for compiling kernel modules because we are still using an older kernel which needs an older compiler...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154627\"][{POST_SNAPBACK}][/a][/div]
That's great news!  I have to say that I miss my period table app from my old PDA.  It was surprising how many times we'd be in the backyard drinking beer by the moonlight when suddenly the course of the conversation would turn and we'd desperately need to know the melting point of tin or the atomic weight of uranium or some other ridiculous item.  (I'm being serious... I don't understand it, either.)
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #4 on: February 20, 2007, 12:57:15 am »
You may try also compiling gelemental  Or I may try it at some time
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

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #5 on: February 21, 2007, 04:30:44 am »
Thanks for the feedback. Although gelemental is based on gperiodic, I'll give it a try ;-)
YT,
Tron

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #6 on: February 21, 2007, 04:12:42 pm »
It seems, I'm not smart enough for cross-compiling (on the Zaurus I ran out of memory).
On my linux box I get:

/usr/lib/libglibmm-2.4.so: could not read symbols: File in wrong format

Compiling for x86 gives me a functional executable - I've got no idea what might be wrong here. The library in question is installed correctly. Any ideas?
YT,
Tron

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #7 on: February 21, 2007, 05:37:01 pm »
It's trying to link to x86 library, but it has to be arm library.

On zaurus you can setup swap file/partition (256mb/512mb) and you won't run out of memory.
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

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #8 on: February 22, 2007, 02:41:35 am »
Quote
It's trying to link to x86 library, but it has to be arm library.
Ah, so I need to get the missing library for the arm architecture from somewhere and integrate it into my cross-compile environment.

Quote
On zaurus you can setup swap file/partition (256mb/512mb) and you won't run out of memory.
Yes, I thought about that already - I guess I'll dump the OZ that's still on hd anyway and use one partition as swap. Using a file as swap never occurred to me, does not sound bad either.

But compiling on the Zaurus probably takes ages - the compile took up ~200MB of memory and needed around 10min on my P4 desktop box...
YT,
Tron

kkazakov13

  • Sr. Member
  • ****
  • Posts: 408
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #9 on: February 22, 2007, 05:14:19 am »
Quote
But compiling on the Zaurus probably takes ages - the compile took up ~200MB of memory and needed around 10min on my P4 desktop box...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=154950\"][{POST_SNAPBACK}][/a][/div]

Really ??? For a periodic table program ? wow  
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

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #10 on: February 23, 2007, 02:38:28 am »
Quote
Really ??? For a periodic table program ? wow 

Yup, I'm not really sure why.

I got it running on my linux box (really nice program, I have to say), just not on the Z. Cross-compiling I'm still missing a few arm-libraries (I wonder what gelemental needs those for anyway) and if I compile directly on the Z with a swapfile enabled I finally get an "internal compiler error" and am told to submit a bug report - great  
YT,
Tron

T3_slider

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #11 on: February 23, 2007, 01:50:33 pm »
I took a (brief) try at compiling gelemental on my C3200 (beta 3) but it looks like it needs  gtkmm which is not included in Meanie's zgcc 3.4.6 and I can't find it for the Z (and I don't think I really want to compile that for the Z, but we'll see).

So unless someone better at this than me gives it a shot (which is most people), it looks like too big of a job for a periodic table program.
Conics SL-C3200 running pdaXrom beta3 and XFCE with a Planex WiFi CF card.

Slackware rules!

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #12 on: March 06, 2007, 03:17:29 pm »
Quote
but it looks like it needs  gtkmm which is not included in Meanie's zgcc 3.4.6 and I can't find it for the Z
Well, yes, that's the point where I get stuck, too.

Does anyone know where to get that or has compiled it for the Zaurus?
YT,
Tron

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #13 on: March 06, 2007, 08:56:01 pm »
Check the app in interactive mode:

# gperiodic -i

I compiled on Tosa today, and trying to run the gui does seem to hang.  I'm going to look in the code if I get a chance later tonight.

For now, it does run in interactive mode, which is ok I guess.

I'll post my results and ipks (gperiodic and termcap-devel) later.
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

Tron

  • Newbie
  • *
  • Posts: 47
    • View Profile
Periodic Table (gperiodic) For Pdaxii13
« Reply #14 on: March 07, 2007, 08:49:35 am »
Did you compile version 2.0.8? The one I did does not recognize the "-i" option, just "-v" (does nothing), "-D" (dumps the periodic table as text, this one works) and "-c <temp>" (different coloration according to phase).
YT,
Tron