OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: truxpin555 on March 26, 2004, 01:41:22 pm
-
Howdy,
I was wanting to install the hancom word app to OZ 3.3.5 when installing word from the command line I get, \"Package hancommobileword has no Architecture defined.\" This is the word from the ZUG downloads so it is version 1.5.0. And I am trying to install it to SD which is ext2.
Thanks,
Trux
-
It also gives me the same message when I try to install 1.4.4.
\"Package hancommobileword has no Architecture defined.\"
Hmmm, what am I missing,
Thanks,
Trux
-
I did a google for the error message and came up with this:
\"Sagen wir mal so... das Architecture Feld war schon immer benötigt, nur hat ipkg das früher nicht überprüft. Pack das Paket aus, ergänze das CONTROL File und pack das Paket wieder ein.\" -Mickey (www.z-portal.info)
Google translated it roughly to mean unpackage to ipk and install the components manually (I think).
But how? I will have to keep diggin\',
Trux
-
Truxpix, I\'m new and I may be telling you what you\'ve already done.
There\'s a creator program for transferring Hancom progs to ipk accessible to OZ. Here\'s the link for the creator progs.
http://www.killefiz.de/zaurus/search.php?q=creator (http://www.killefiz.de/zaurus/search.php?q=creator)
Tell me if this was or wasn\'t helpful, because I\'ll likely be in your shoes in a week or so.
-
@truxpin555: No, it actually says to unpack the ipk, and amend the control file (which is in the control.tar.gz file) so that it has an architecture defined (add \"Architecture: arm\"), then repackage it and have another go, etc.
Simon
-
D\'oh-- I tried to unpack the .ipk but when I try to run ar -x hancom... I recieve an error message of:
\"ar: hancommobileword_1.5.0_arm.ipk: File format not recognized.\"
I am running mandrake 10 and the ar command worked fine with kpacman from the stable feed.
Thanks for the suggestion catachresis I have previously extracted those ipk\'s with the scripts a while back. If I can find them I will give those a test.
Trux
-
Probably a tar.gz:
tar -zxvf name.ipk
Si
-
Thanks lardman,
here are the legible contents of the control.tar.gz
Installed-Size: 0
Filename: ./hancommobileword_1.5.0_arm.ipk
Version: 1.5.0
Depends: qpe-base (1.5.0)
Priority:optional
Section: qpe
Maintainer: www.hancom.com
Architecture: arm
Description: HancomMobileWord
Trux
-
Legible - ? Is there something wrong with the file? This may then be the cause of the troubles.
In any case I\'d get rid of the following:
Installed-Size: 0
Filename: ./hancommobileword_1.5.0_arm.ipk
and make sure there are empty lines. But that may not do anything.
Si
-
i recently gave up getting the hancom after i realized that the hancom creator was creating the ipk\'s but a closer look showed the ipk\'s to have a size of 0k... thought it was just me but maybe not, anybody else actually checked the file size of your 4 ipk\'s after installing the creater?
-
Not an ideal solution, but take a look inside the creator ipk (in control.tar.gz I presume in one of the scripts) and then create your own - there aren\'t *that* many files which need to be copied.
Si
-
You can download the Hamcom office suite for your SL-5500 from the web site listed below. Just enter your serial number from the back of your Zaurus and you will be able to download it. It is much easier than trying to extract it from the Sharp ROM.
http://desktop.mobile.hancom.com/download/...ct_num_reg.html (http://desktop.mobile.hancom.com/download/product_num_reg.html)
-
The versions downloadable from the site are older than the 1.5.0 versions that came with the latest sharp ROMs
-
This is the code from the control for the hancom word:
Package: hancommobileword
Installed-Size: 0
Filename: ./hancommobileword_1.5.0_arm.ipk
Version: 1.5.0
Depends: qpe-base (1.5.0)
Priority:optional
Section: qpe
Maintainer: www.hancom.com
Architecture: arm
Description: HancomMobileWord
This is the code from the control files for Hancom Sheet
Package: hancommobilesheet
Installed-Size: 1247104
Filename: ./hancommobilesheet_1.5.0_arm.ipk
Version: 1.5.0
Depends: qpe-base (1.5.0)
Priority:optional
Section: qpe
Maintainer: HancomLinux
Architecture: arm
Description: Spreadsheet
The architecture is mentioned in both, but the installed size is not mentioned in the Hancom Word.
-
I think I got rid of the following lines:
<the gap>
Installed-Size:
Filename:
It was something to do with the fields in these files that messed it up.
Have a go and see what you can find (I\'ve forgotten, it was a long time ago).
Si
-
OK, I've used WinRar on my laptop to rip apart the .ipk file.
I then ripped apart the control.tar.gz file and amended the file.
Can anyone tell me how to combine the control directory that the control file is in back into a control.tar.gz
And how to combine the three resultant files control.tar.gz, data.tar.gz and debian-binary back into an .ipk file
Thanks!!
-
Look here before re-making your ipk:
https://www.oesf.org/forums/inde...=6457&hl=hancom (https://www.oesf.org/forums/index.php?showtopic=6457&hl=hancom)
Then I'd follow something like this to re-make the ipk:
http://www.zaurususergroup.com/modules.php...me=IPKG%20Howto (http://www.zaurususergroup.com/modules.php?op=modload&name=phpWiki&file=index&pagename=IPKG%20Howto)
Si
P.S. To cut it all short do this:
$ cd directory/containing/control/directory
$ tar -cf control.tar ./control
$ gzip control.tar
and there you go...