Author Topic: Makecompat & Ipkg Questions A Plenty (oz 3.5.3)  (Read 3016 times)

chayimkirshen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Makecompat & Ipkg Questions A Plenty (oz 3.5.3)
« on: June 01, 2005, 12:01:44 am »
Folks,

I've read through most of these posts, and gone mailing list hunting.  I'm pretty confused.  I've got the latest 3.5.3 running on my SL-5000d, and have a series of wierd problems.  The first is that all my ipkgs are installing into a packages tree on the media.  For example, installing opie-irc onto sd puts everything in /mnt/card/packages/opt/...  Strange!

ipkg-link always fails because everything is in packages/... and *not* /mnt/card/....  I can't get sharp-compat-libs' makecompat to work at all.  It starts, says it's doing something to each library I'm working on, then it deletes the binary it was working on.

Any help would be awesome!

--chayim

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Makecompat & Ipkg Questions A Plenty (oz 3.5.3)
« Reply #1 on: June 01, 2005, 05:02:31 am »
Quote
puts everything in /mnt/card/packages/opt/... Strange!

This has been done to make the structire on the storage cards cleaner - otherwise you end up with millions (well lots anyway) of dirs on the card which you might not want.

Use ipkg-link like so:

ipkg-link mount /media/card/packages

Do you have problems when you try to use 'ipkg-link add <packagename>'? If so please report it as a bug (it means that one line in the script needs to be changed).


Quote
I can't get sharp-compat-libs' makecompat to work at all. It starts, says it's doing something to each library I'm working on, then it deletes the binary it was working on

Can you give some more specifics, what you tried to run it on, command line output, etc.?

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

chayimkirshen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Makecompat & Ipkg Questions A Plenty (oz 3.5.3)
« Reply #2 on: June 01, 2005, 07:44:20 am »
I figured about the ipkg-link bit (and in fact was doing just that).  I'll go report the bug on ipkg-link (add doesn't work).

As for what I was running... /mnt/card/packages/opt/QtPalmtop.compat/bin/makecompat.  I got this from the sharp-libs-common package.  First off, I can't launch it from the opie gui (doesn't find the path).

But when running makecompat, it moves my application from /mnt/card/packages/... (insert location here) to /opt/QtPalmtop/... (insert location here), which is broken to me.

Is there a smarter way I should be doing this?  Also, where do I report the bugs?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Makecompat & Ipkg Questions A Plenty (oz 3.5.3)
« Reply #3 on: June 01, 2005, 09:53:59 am »
Quote
I figured about the ipkg-link bit (and in fact was doing just that). I'll go report the bug on ipkg-link (add doesn't work).

See if adding/removing the trailing / on the dest entry in /etc/ipkg.conf makes any difference.

Quote
As for what I was running... /mnt/card/packages/opt/QtPalmtop.compat/bin/makecompat.

Why are you running it from /mnt/card? Run ipkg-link on the package (the the mount point), then try it.

Quote
it moves my application from /mnt/card/packages/... (insert location here) to /opt/QtPalmtop/... (insert location here), which is broken to me.

Why is this broken?

I've not used this in a while, but it used to move the binary then create a symlink to a script iirc. I think you should try running make compat on the symlink which ipkg-link creates, rather than the file on the 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

chayimkirshen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Makecompat & Ipkg Questions A Plenty (oz 3.5.3)
« Reply #4 on: June 01, 2005, 10:20:20 am »
Quote
See if adding/removing the trailing / on the dest entry in /etc/ipkg.conf makes any difference.

Okay, I'll try this when I get home.  And here I was thinking of testing out henteges =)

Quote
As for what I was running... /mnt/card/packages/opt/QtPalmtop.compat/bin/makecompat.

Quote
Why are you running it from /mnt/card? Run ipkg-link on the package (the the mount point), then try it.,

I had done ipkg-link on the mount point, but then makecompat wasn't actually in my default path b/c it's in QtPalmtop.compat/bin instead of QtPalmtop/bin.  This is also the reason that the opie icon failed to launch the application.

Quote
it moves my application from /mnt/card/packages/... (insert location here) to /opt/QtPalmtop/... (insert location here), which is broken to me.

Quote
Why is this broken?

I've not used this in a while, but it used to move the binary then create a symlink to a script iirc. I think you should try running make compat on the symlink which ipkg-link creates, rather than the file on the mount point.

Without docs on how to run the thing, I just figured that I'd point it at the installed application rather than the symlink.  Neither one has seemed to work yet.  So if I've got package foo installed to /mnt/card/packages/opt/QtPalmtop/bin/foo and ipkg-linked to the root partition, I should run:

Code: [Select]
makecompat /opt/QtPalmtop/bin/foo
thnx,

--chayim