OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Tron 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 (http://www.frantz.fi/software/gperiodic.php). 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...
-
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.
-
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...
-
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.)
-
You may try also compiling gelemental Or I may try it at some time
-
Thanks for the feedback. Although gelemental is based on gperiodic, I'll give it a try ;-)
-
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?
-
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.
-
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.
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...
-
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
-
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
-
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.
-
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?
-
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.
-
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).
-
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).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155658\"][{POST_SNAPBACK}][/a][/div]
The version is 1.3.3
Is there another link?
-
The version is 1.3.3
Is there another link?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=155692\"][{POST_SNAPBACK}][/a][/div]
So there is! I'll try it now.
-
The app seems to be broken. The interactive mode code is missing, but the docs still say interactive is supported. I'm guessing an earlier 2.x version may be needed. I can't find the older source though...
gelemental requires gtkmm and glibmm. This makes the requirements significantly more than what they would be under gperiodic.
I'm going to build them, just for fun.
-
The app seems to be broken.
Well, I can compile and run 2.0.8 fine on my linux box, so I'm not so sure about that. But you are right, the "-i" mode is missing there. I haven't found any usable documentation in the sources, though.