Author Topic: Csound on sl5500?  (Read 3367 times)

terrorphile

  • Newbie
  • *
  • Posts: 44
    • View Profile
Csound on sl5500?
« on: May 03, 2004, 07:42:28 am »
hi
   _forgive my knowedge in this matter i am certainly a newbie to this_
 
i would like to begin using Csound on my zaurus-sl5500  -i\'m using the latest Qtopia rom

and this is the package

csound_4.24.1_arm.ipk

it seems i saw somewhere that it may only work on openzaurus so that leads me to my 1st question, is this true?

it seems i\'ve dl\'d a number of the same file from diffent places
claiming that they work
but i always get the this same result while trying to install:
Quote
zcat: csound_4.24.1_arm.ipk: not in gzip format

zcat: stdin: unexpected end of file
ipkg_install_file: ERROR unpacking control.tar.gz from csound_4.24.1_arm.ipk


from what i can gather there is a problem with control.tar
but i dont know how to fix it, because when i try to extract_it_ my extractor says  
Quote
unknown archive format


it seems that i have run into these problems with a few other apps.....
and so i was also wondering if there was any solution ?

i do regret to say this but i use windows
90% of the time so i\'m not very adept w/ linux
i\'m hoping that by using my zaurus i\'ll learn to use linux
quicker so i can break away from the almighty ms

thank you for any time you could give me  
-rahn

terrorphile

  • Newbie
  • *
  • Posts: 44
    • View Profile
Csound on sl5500?
« Reply #1 on: May 13, 2004, 09:22:01 pm »
damn no help?

i spent a little time writing this as clear as possible
guess no one knows

well thanks for lookin i\'m sure eventually someone will know what to do

skoorb

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
    • http://
Csound on sl5500?
« Reply #2 on: May 13, 2004, 10:26:18 pm »
could be a bad install file.   Try to find the file elsewhere and try again

doc

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
Csound on sl5500?
« Reply #3 on: May 13, 2004, 10:29:39 pm »
Dude, keep your pants on... this is a great place for info but it takes time for people to read and reply.

ipk formats should be gzipped tar formats...

maybe rename it to csound_4.24.1_arm.tar.gz and then...

\"tar xzvf csound_4.24.1_arm.tar.gz\" or on windows use winzip (double-click) to extract/decompress it...

although, if there is a problem with it, unless you have a way to create gzipped tar files in windows you won\'t be able to fix it and pack it back up.

There should be 3 files in an ipk....
control.tar.gz
data.tar.gz
debian.binary

ignore the debian.binary file, but it must be there.

control.tar.gz unpacks into a single text file named control, most likely that is not where your problem is but check it out.

data.tar.gz unpacks to ./opt/QtPalmtop/bin/ (binaries) and /opt/QtPalmtop/pics/ (icons) and /opt/QtPalmtop/apps/ (desktop) file at the minimum.

Maybe the file got corrupted when you downloaded it?  Check that it has the same number of bytes as the file on the feed.  Make sure you used binary and not ASCII mode in ftp if you used ftp.
By your command...

Doc
Sharp SL-5500 PDA
Sharp 2.78 ROM
Viking 256MB SD
Socket LP-E CF Ethernet

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Csound on sl5500?
« Reply #4 on: May 14, 2004, 05:09:01 am »
Quote
ipk formats should be gzipped tar formats


Not true. The older format is a tar.gz, the newer is an ar archive (it\'s more efficient to not try to recompress compressed data). The point is that the Sharp ROM only supports the older format, despite the newer one having been in existance for ages (certainly since the newer machines and ROMs have come out).

Therefore it may be an ar format ipk.

There are lots of posts about this (well I think there are, but others have commented that we need a better faq..... ;-))

If you have it it might be worth running \'file csound_4.24.1_arm.ipk\' to see whether it\'s and ar or actually corrupt. To extract it you\'ll either need a desktop Linux box (which has ar), or you\'ll need to find ar for the Z. Debian feeds are an option.


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

doc

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
Csound on sl5500?
« Reply #5 on: May 14, 2004, 09:17:23 am »
Thanks for the info lardman.  The fact of the matter is that this particular csound_4.24.1_arm.ipk is a tar.gz file, so all you have to do to extract it is:

\"tar xzvf csound_4.24.1_arm.ipk\" on Linux, but on Windows I think you\'d have to rename it to csound_4.24.1_arm.tar.gz.

Inside are a control.tar.gz, data.tar.gz, and debian-binary file as expected.  Extracting the data.tar.gz gives:


drwxrwxr-x root/ben          0 2003-04-01 05:31:03 ./
drwxrwxr-x root/ben          0 2003-04-02 03:21:29 ./usr/
drwxr-xr-x root/ben          0 2003-04-02 03:21:52 ./usr/local/
drwxr-xr-x root/root         0 2003-04-01 10:05:19 ./usr/local/include/
drwxr-xr-x root/root         0 2003-04-01 14:36:24 ./usr/local/include/Csound/
-rw-r--r-- root/root       723 2003-02-25 22:24:01 ./usr/local/include/Csound/csdl.h
-rw-r--r-- root/root     54617 2003-02-25 22:24:01 ./usr/local/include/Csound/csound.h
-rw-r--r-- root/root     18758 2003-02-25 22:24:01 ./usr/local/include/Csound/csstruct.h
-rw-r--r-- root/root      6681 2003-02-25 22:24:01 ./usr/local/include/Csound/sysdep.h
drwxr-xr-x root/root         0 2003-04-02 03:26:02 ./usr/bin/
-r-sr-x--x root/root      5556 2003-04-01 14:35:30 ./usr/bin/csound32
-rwxr-xr-x root/root     11032 2003-04-01 14:35:32 ./usr/bin/sdif2ad
-rwxr-xr-x root/root     13360 2003-04-01 14:35:34 ./usr/bin/cs
-rwxr-xr-x root/root      6420 2003-04-01 14:35:35 ./usr/bin/csb64enc
-rwxr-xr-x root/root      9388 2003-04-01 14:35:36 ./usr/bin/makecsd
-rwxr-xr-x root/root      5004 2003-04-01 14:35:36 ./usr/bin/scot
-rwxr-xr-x root/root      4336 2003-04-01 14:35:37 ./usr/bin/scsort
-rwxr-xr-x root/root      4784 2003-04-01 14:35:37 ./usr/bin/extract
-rwxr-xr-x root/root      4720 2003-04-01 14:35:38 ./usr/bin/cvanal
-rwxr-xr-x root/root      4720 2003-04-01 14:35:38 ./usr/bin/dnoise
-rwxr-xr-x root/root      4720 2003-04-01 14:35:38 ./usr/bin/hetro
-rwxr-xr-x root/root      4720 2003-04-01 14:35:38 ./usr/bin/lpanal
-rwxr-xr-x root/root      4720 2003-04-01 14:35:38 ./usr/bin/pvanal
-rwxr-xr-x root/root      4720 2003-04-01 14:35:38 ./usr/bin/pvlook
-rwxr-xr-x root/root      4720 2003-04-01 14:35:38 ./usr/bin/sndinfo
-rwxr-xr-x root/root      7496 2003-04-01 14:35:39 ./usr/bin/envext
-rwxr-xr-x root/root      5152 2003-04-01 14:35:40 ./usr/bin/het_import
-rwxr-xr-x root/root      5260 2003-04-01 14:35:40 ./usr/bin/het_export
-rwxr-xr-x root/root      5468 2003-04-01 14:35:41 ./usr/bin/lpc_import
-rwxr-xr-x root/root      5380 2003-04-01 14:35:41 ./usr/bin/lpc_export
-rwxr-xr-x root/root      5676 2003-04-01 14:35:42 ./usr/bin/pv_import
-rwxr-xr-x root/root      5872 2003-04-01 14:35:42 ./usr/bin/pv_export
-rwxr-xr-x root/root     23188 2003-04-01 14:35:46 ./usr/bin/mixer
-rwxr-xr-x root/root     11716 2003-04-01 14:35:47 ./usr/bin/extractor
-rwxr-xr-x root/root     16804 2003-04-01 14:35:49 ./usr/bin/scale
-rwxr-xr-x root/root     22860 2003-04-01 14:35:52 ./usr/bin/srconv
lrwxrwxrwx root/root         0 2003-04-02 03:26:02 ./usr/bin/csound -> csound32
drwxr-xr-x root/root         0 2003-04-02 03:21:29 ./usr/lib/
-rwxr-xr-x root/root   1463084 2003-04-01 14:35:29 ./usr/lib/libcsound32.so
drwxr-xr-x root/root         0 2003-04-01 14:36:25 ./usr/lib/Csound/
-rwxr-xr-x root/root     54900 2003-04-01 14:36:03 ./usr/lib/Csound/stdopcod.so
-rwxr-xr-x root/root      5632 2003-04-01 14:36:03 ./usr/lib/Csound/rtlinux.so


I have installed and run this on my 5500, using the ipk I downloaded from http://www.killefiz.de/zaurus/showdetail.php?app=1114.  I would highly suggest that it is in fact a corrupt file he got ahold of.
By your command...

Doc
Sharp SL-5500 PDA
Sharp 2.78 ROM
Viking 256MB SD
Socket LP-E CF Ethernet

Teletubbie

  • Sr. Member
  • ****
  • Posts: 252
    • View Profile
    • http://
Csound on sl5500?
« Reply #6 on: May 14, 2004, 04:58:59 pm »
If you downloaded the ipk with a windows system, some windows versions just add a zip extension. You could set windows to see file extensions and then rename it to ipk, if windows has added a zip extension.
Just a possible cause for your problem, hope that helps.
Cheers,
Sam
SL-5500G
OZ 3.3.6-pre1
Opie 1.1.4

terrorphile

  • Newbie
  • *
  • Posts: 44
    • View Profile
Csound on sl5500?
« Reply #7 on: May 15, 2004, 07:54:16 pm »
wow i cant believe the respense i got

thank you all very much this has certainly been informative toward my struggle


and yes as it turns out i was using mozilla to dl the ipk
seems as if it and a few others i dl\'d were corupted because of something mozilla does


so i went in to ie (eh) and dl\'d it an it installed just fine
(very strange ie did something better than mozilla)


again thankyou all very much for your time you put into this

it is very much apreciated