Author Topic: Povray 3.6.1 + Linstanpump 0.2  (Read 4815 times)

propofol

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://www.ingogo.net
Povray 3.6.1 + Linstanpump 0.2
« on: December 19, 2005, 01:30:34 am »
I have compiled Povray 3.6.1 & linstanpump 0.2 (linux port of the DOS program stanpump) for the Zaurus. If anyone is interested in trying either program:

http://www.ingogo.net/Zaurus/index_.htm
or
http://www.killefiz.de/zaurus/

Regards,
Stefan
« Last Edit: December 19, 2005, 01:31:16 am by propofol »

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Povray 3.6.1 + Linstanpump 0.2
« Reply #1 on: March 20, 2006, 06:47:41 am »
i download http://www.ingogo.net/Zaurus/linstanpump_0.2_arm.tar.gz

but cant figure what to do next, it is not ipk format what can i do ??
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
Povray 3.6.1 + Linstanpump 0.2
« Reply #2 on: March 20, 2006, 07:41:09 am »
You should be able to:

gzip -d linstanpump_0.2_arm.tar.gz
tar xvf linstanpump_0.2_arm.tar

propofol

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://www.ingogo.net
Povray 3.6.1 + Linstanpump 0.2
« Reply #3 on: March 21, 2006, 02:06:58 am »
linstanpump needs to be run from the commandline:

Unzip it using the Terminal or Konsole as described above.

If you have copied linstanpump_0.2_arm.tar.gz to your CF card:
cd /mnt/cf
tar xzvf linstanpump_0.2_arm.tar.gz
make sure it is executable if it is on a ext2 filesystem: chmod a+rx linstanpump
run with: ./linstanpump

You can also copy it to /usr/bin or /mnt/card/usr/bin (provided that you have added these to the PATH environment variable).

Regards,
Stefan



Quote
i download http://www.ingogo.net/Zaurus/linstanpump_0.2_arm.tar.gz

but cant figure what to do next, it is not ipk format what can i do ??
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119358\"][{POST_SNAPBACK}][/a][/div]

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Povray 3.6.1 + Linstanpump 0.2
« Reply #4 on: March 22, 2006, 08:39:10 pm »
i apploogize for being so quick to post my question without looking into it... thought it had to be in ipk format...

so actually got it "installed" without checking back here to read this, but am having problems running it:

from the terminal it says:

linstanpump: error while loading shar
ries: libncurses.so.5: cannot load shar
t file: No such file or dirctory

the missing word bits i guess are somehwere of the screen,

?? i guess i need the libncurses pack ?? but can someone find a working link for it and how to install it ??

i did try: libncurses_5.0_arm.ipk from  http://www.dasgehtdichnichtsan.de/zaurus/l...ses_5.0_arm.ipk

but it didnt help,

and ive seen mentioned  libncurses5_5.0-6.0potato1_arm.ipk , but im still looking for a dl source, but i also got pre-emtive and tried to do the rrw remount of the drive as it says you need to , to install it but i get operation not permitted (even though in su)
« Last Edit: March 22, 2006, 08:46:55 pm by telemetric_au »
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Povray 3.6.1 + Linstanpump 0.2
« Reply #5 on: March 22, 2006, 08:56:28 pm »
i just found this:

Quote
Try doing this as root instead of installing libncurses5


CODE
ln -s /lib/libncurses.so.4.2 /usr/lib/libncurses.so.5



Hope it works

from here:

https://www.oesf.org/forums/index.php?showt...1_arm\.ipk

so i uninstalled the pack i said i tried, and then did the symlink...

well it seems to work i got further in, but now i get error:

***************ERROR******************
Your screen is too small for stanpump to run on.
Please resize window to allow at least:
80 characters wide x 25 lines tall




any ideas ???
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

propofol

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://www.ingogo.net
Povray 3.6.1 + Linstanpump 0.2
« Reply #6 on: April 02, 2006, 04:33:34 pm »
I use QKonsole:

Under "Fonts", I have selected Fixed->12. This is still does not allow for enough space, so select "View->Full Screen".

You could select "Fonts->fixed->7" however it is barely readable.

Regards,
Stefan




Quote
well it seems to work i got further in, but now i get error:

***************ERROR******************
Your screen is too small for stanpump to run on.
Please resize window to allow at least:
80 characters wide x 25 lines tall




any ideas ???

propofol

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://www.ingogo.net
Povray 3.6.1 + Linstanpump 0.2
« Reply #7 on: April 02, 2006, 04:38:29 pm »
BTW I have a C860. I am not sure if there is any way to run linstanpump on a 5500 Zaurus. It may be possible to enable a larger screen than what the screen size would allow.



Quote
I use QKonsole:

Under "Fonts", I have selected Fixed->12. This is still does not allow for enough space, so select "View->Full Screen".

You could select "Fonts->fixed->7" however it is barely readable.

Regards,
Stefan




Quote

well it seems to work i got further in, but now i get error:

***************ERROR******************
Your screen is too small for stanpump to run on.
Please resize window to allow at least:
80 characters wide x 25 lines tall




any ideas ???
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121492\"][{POST_SNAPBACK}][/a][/div]

telemetric_au

  • Sr. Member
  • ****
  • Posts: 327
    • View Profile
    • http://www.tyrannozaurus.com/feed/contribs/telemetric/index.htm
Povray 3.6.1 + Linstanpump 0.2
« Reply #8 on: April 02, 2006, 07:47:16 pm »
no good, still same problem... but i noticed the dimensions would be possible if the screen was rotated 90 deg.

so soon im going to try some other roms and let you know....
Collie w/ pdaxrom & Puppy OS w/ cross-sdk
Hawking HCF686TX 10/100, Ambicom 802.11b (WL1100C-CF), Xircom 56K Global CF
Kingston CF Elite Pro & SD 1Gb & 128mb for flashing
$2 screen protector, collie.pdaxrom.feed : my collie pdaxrom site

propofol

  • Newbie
  • *
  • Posts: 31
    • View Profile
    • http://www.ingogo.net
Povray 3.6.1 + Linstanpump 0.2
« Reply #9 on: August 18, 2006, 02:38:51 am »
Not sure if anyone is interested however I have made a script which uses gnuplot to generate an image (png) of the data generated by linstanpump. It remove all the extra files and creates a ".dat" file which gnuplot can use.

========================================================
#!/bin/bash
#graph.sh
#Generate gnuplot script which will plot the data to a png image
#usage "./graph.sh filename"    (note: don't add extention)

if [ -r "${1}.gra" ]
then
   echo "${1}.gra found"
else
   echo "File not found"
   exit
fi

rm -f "${1}.pk" "${1}.err" "${1}.drg" "${1}.cmm" "${1}.dat"


awk -F,  '{ printf ("%f %f %f\n", $1, $3, $4) ; }' ${1}.gra > ${1}.dat

echo "set terminal png medium color" > plot.gnu
echo "set output \"${1}.png\"" >> plot.gnu

echo "set title \"Drug concentration\"" >> plot.gnu
echo "set xlabel \"Time (min)\"" >> plot.gnu
echo "set ylabel \"Concentration\"" >> plot.gnu
echo "plot '${1}.dat' using 1:2 title 'Plasma' with lines, \\" >> plot.gnu
echo "     '${1}.dat' using 1:3 title 'Effect site' with lines" >> plot.gnu
#echo "pause -1" >> plot.gnu
 
gnuplot plot.gnu
======================================================

Usage:
copy "graph.sh" to a directory ie on CF card (/mnt/cf/data)
cd /mnt/cf/data
chmod a+x graph.sh
run linstanpump - this will generate a list of files ie fent.gra, fent.err, fent.dat etc
./graph.sh fent     (note : no extension)
the resulting image will be fent.png

I have added an example image of the blood & brain concentration after giving fentanyl bolusses IV.


Regards,
Stefan
« Last Edit: August 18, 2006, 02:39:35 am by propofol »