OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: grog on February 12, 2005, 09:53:53 pm
-
Hi all. I've got the following setup working undet OZ-OPIE 3.5.2
root@grond:/usr/local# grep mmcda /etc/fstab
/dev/mmcda1 /mnt/card auto defaults,sync,noauto,noatime,umask=000 0 0
/dev/mmcda2 /usr/local auto defaults,sync,noauto,noatime,umask=000 0 0
The first partition is formated vfat & the second ext2 & I hacked /etc/sdcontrol so they'd both automount. But I'm having problems installing packages to the second partition.
I added the following:
root@grond:/usr/local# grep local /etc/ipkg.conf
dest local /usr/local/
And installed all of the pisync packages thusly:
# ipkg -d local korganizer_2.0.2_for_OZ_gcc3xx_arm.ipk
and so forth, ending up with lovely trees of opt & usr directories under /usr/local (not quite what I expected).
So I then downloaded the new ipkg-link from here (http://dev.worldguard.com.au/ipkg-link) and ran the following:
root@grond:/usr/local# ipkg-link mount /usr/local
*** Command: add
*** Locating package
*** Found package on /usr/local/
*** Adding korganizer
*** Done.
(...etc)
which repored all the packages found & linked. But nothing shows up, not even after a reboot, and if I try to run kopi from the command line I get:
root@grond:~# /usr/local/opt/QtPalmtop/bin/kopi
/usr/local/opt/QtPalmtop/bin/kopi: error while loading shared libraries: libmicrokdepim.so.2: cannot open shared object file: No such file or directory
The library it's looking for is installed under /usr/local, so what else do I need to do or what do I need to do differently to get everything working? thks
-
This isn't the way to do it.
If you want to mount a staorage card at /usr/local and have packages (which normally install themselves there - like octave) install there, then don't use ipkg-link. Just ignore it, use the normal 'ipkg install -d root octave.ipkg' (etc.) and if a file is to be written to /usr/local it will end up on your card.
However I don't think this is what you want is it?
I'd create a new mount point /mnt/card2 for example, then use the new ipkg and ipkg-link to install and mount packages there (I'd steer clear of trying to make these kind of mount points under /usr/local as it may already be in the PATH, and some packages which you install to root will end up on it too by accident).
which repored all the packages found & linked. But nothing shows up, not even after a reboot
You don't want to reboot, just re-start opie (rebooting probably removes the symlinks when the card is umounted...?)
Si
-
I'd create a new mount point /mnt/card2 for example, then use the new ipkg and ipkg-link to install and mount packages there (I'd steer clear of trying to make these kind of mount points under /usr/local as it may already be in the PATH, and some packages which you install to root will end up on it too by accident).[div align=\"right\"][a href=\"index.php?act=findpost&pid=66820\"][{POST_SNAPBACK}][/a][/div]
Ah. I thought it worked like installing a package in a distro like Debian & all the paths would be set by specifying the mount point.
So I changed my ext2 slice to mount under /mnt/card1 & had to reboot to get it remount (don't know why) and it shows up fine now. I removed everything I had put there before & reinstalled all of the pisync packages, but when I run ipkg-link, I get the following errors:
root@grond:~# ipkg-link mount /mnt/card1
*** Command: mount
*** Command: add
*** Locating package
Package "kaddressbook" not found.
*** Command: add
*** Locating package
Package "kmicrokdelibs" not found.
*** Command: add
*** Locating package
Package "kmobilephoneaccess" not found.
*** Command: add
*** Locating package
Package "kopiemail" not found.
*** Command: add
*** Locating package
Package "korganizer-alarm" not found.
*** Command: add
*** Locating package
Package "korganizer" not found.
*** Command: add
*** Locating package
Package "pimTABicon" not found.
*** Command: add
*** Locating package
Package "pwmanager" not found.
*** Done.
What am I doing wrong now? It seems to recognize that the packages are there 'cause how else would it know the names. Curious.
which repored all the packages found & linked. But nothing shows up, not even after a reboot
You don't want to reboot, just re-start opie (rebooting probably removes the symlinks when the card is umounted...?)
You mean I'll have to re-run ipkg-link everytime I have to reboot? That doesn't seem to make sense if they're just symbolic links, shouldn't they persist?
-
Update: I had to reboot again for something else & decided to try ipkg-link again. This time it reported that it found & linked all the packages, but they don't show up even after restarting opie.
-
You mean I'll have to re-run ipkg-link everytime I have to reboot? That doesn't seem to make sense if they're just symbolic links, shouldn't they persist?
You're probably right.
If they are all found, perhaps check to see whether the symlinks exist for any of the files which were supposed to be linked (ipkg files <packagename>), then go from there.
Otherwise I don't know, sorry,
Si
-
I managed to figure out the problem I was having with linking. I started another topic on it here (https://www.oesf.org/forums/index.php?showtopic=10785).
Thanks for your help, lardman.