Author Topic: Problems On Installing Packages Oz3.5.3/opie  (Read 3802 times)

buz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Problems On Installing Packages Oz3.5.3/opie
« on: December 31, 2005, 04:07:52 pm »
hi,
first of all: sorry for my bad english.

i have a SL5500G with 512MB/SD-card and a 128MB/CF-card. for now im using zaurus>USBcradle>winxp>inet to connect.
i can flash OZ3.5.3/3.5.2/3.5.1 and opie without problems. the zImage is *32-32*.

but i cannot install any packages no matter wich OZ-version - most of the time the Z hangs up at the installprocess, and if not, im having troubles with the dependencies (isnt ipkg responsible for deps.?)
i manually changed and entered all the package-links without exception, so it finds all available packages.

first of all i want to install a media player (tryed xmms opiemplayer) and a vnc server for comfort while getting ill with this kind of problems. i also tryed to install some other tiny apps just for testing if its a package-problem --> also failed.

can someone help me out, before i hurt my Z, please?

do i have to change the distri/zImage/card/ etc...?

thanks in advance.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems On Installing Packages Oz3.5.3/opie
« Reply #1 on: January 01, 2006, 08:03:37 am »
Are you using ipkg from the command line? If not, do so.

Once you've done that, can you post some output from ipkg.

Cheers,


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

buz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Problems On Installing Packages Oz3.5.3/opie
« Reply #2 on: January 02, 2006, 05:04:43 pm »
hi!

i tryed to install mplayer on ram.
the installprocess seems to be succesfully but as you see i cant load the mplayer-binary.

ill try to install some other packages in the meantime to get a little closer to my problem, because for now i dont understand nothing.



Code: [Select]
root@collie:/mnt# ipkg -d ram install mplayer
Installing mplayer (1.0pre6a-r0) to ram...
Downloading http://oz.hentges.net/mirror/oz3.5.3/feed/opie/mplayer_1.0pre6a-r0_arm.ipk
package ncurses suggests installing ncurses-terminfo
Installing libmad0 (0.15.0b-r0) to ram...
Downloading http://oz.hentges.net/mirror/oz3.5.3/feed/libs/libmad0_0.15.0b-r0_arm.ipk
Installing libvorbis (1.0.1-r0) to ram...
Downloading http://oz.hentges.net/mirror/oz3.5.3/feed/libs/libvorbis_1.0.1-r0_arm.ipk
Installing libogg0 (1.1-r1) to ram...
Downloading http://oz.hentges.net/mirror/oz3.5.3/feed/libs/libogg0_1.1-r1_arm.ipk
Installing ncurses (5.4-r7) to ram...
Downloading http://oz.hentges.net/mirror/oz3.5.3/feed/libs/ncurses_5.4-r7_arm.ipk
Installing libpostproc0 (1.0pre6a-r0) to ram...
Downloading http://oz.hentges.net/mirror/oz3.5.3/feed/opie/libpostproc0_1.0pre6a-r0_arm.ipk
Configuring libmad0
Configuring libogg0
Configuring libpostproc0
Configuring libvorbis
Configuring mplayer
Configuring ncurses



root@collie:/mnt# ipkg-link add mplayer
*** Command: add
*** Locating package
*** Found package on /media/ram/packages
*** Adding mplayer
*** Done.



root@collie:/mnt# mplayer
mplayer: error while loading shared libraries: libmad.so.0: cannot open shared object file: No such file or directory

thanks!
« Last Edit: January 02, 2006, 05:07:37 pm by buz »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems On Installing Packages Oz3.5.3/opie
« Reply #3 on: January 02, 2006, 06:32:41 pm »
Try:

'ipkg-link mount /media/ram/packages'

(if that doesn't work, try 'ipkg-link mount /media/ram')

The way you ran ipkg-link you only linked one package, mplayer. Using 'ipkg-link mount ...' will link all of the packages under a given mount point.


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

buz

  • Newbie
  • *
  • Posts: 5
    • View Profile
Problems On Installing Packages Oz3.5.3/opie
« Reply #4 on: January 03, 2006, 04:27:23 am »
he,
thanks man, this was working!  
i can finally install packages, yeah.

i installed opie-mediaplayer2 and it have still a little problem:

for testing i downloaded some pocketmovies in mpg1 in low resolution.
i can hear the sound but dont see anything (just black).
i did read that it could be the ram, so i created temporarly a 8MB swapfile to see if this works. didnt.

where can i see how much ram (the random one) is used?

i ran following commands for the swap:

Code: [Select]
root@collie:~# dd if=/dev/zero of=/home/root/swapfile bs=1024 count=8192
dd: /home/root/swapfile: No space left on device
root@collie:~# dd if=/dev/zero of=/media/card/swapfile bs=1024 count=8192
8192+0 records in
8192+0 records out
root@collie:~# mkswap /media/card/swapfile
Setting up swapspace version 1, size = 8384512 bytes
root@collie:~# swapon /media/card/swapfile
root@collie:~# free
              total         used         free       shared      buffers
  Mem:        30160        29392          768            0          160
 Swap:         8184            0         8184
Total:        38344        29392         8952

could the problem be the space, or something else?

thanks in advance
« Last Edit: January 03, 2006, 04:29:46 am by buz »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Problems On Installing Packages Oz3.5.3/opie
« Reply #5 on: January 03, 2006, 12:31:39 pm »
Not sure, but you should start a new thread otherwise people will never find any info in this one about you possible memory issues (because of the title).

In your new thread, post the output when you start opie-mediaplayer2 from the command line and try to play the file.


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