View Single Post
Old 05-17-2009, 10:50 AM   #36
Grimulkan
Lord
Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.Grimulkan has a complete set of Star Wars action figures.
 
Grimulkan's Avatar
 
Posts: 177
Karma: 328
Join Date: Feb 2009
Device: Q1 (on way out), PRS505, DR1000S (dead :<), TC1100 (10'' perfection!)
Quote:
Originally Posted by Mackx View Post
I have found some time to document the steps I took to make my patches to the original port.
[...]
Please give me your comments, specially if things are missing or wrong.
Great job! Some comments:
1. Part 1, Step 2a:
Code:
2a) install libart in the development environment:
sudo 'LD_LIBRARY_PATH=/usr/local/poky/eabi-glibc/arm/lib /usr/local/poky/eabi-glibc/arm/bin/opkg-cl -f /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/etc/opkg.conf -o /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi  install libart-lgpl-2.3.20_2.3_arm.ipk
Do you have an extra symbol in the install command? In any case, I was able to install using opkg-target in Adam's VMWare environment (upgraded to 1.5 SDK), without using sudo. I did use chmod to set the execute permissions, though.

I also ran into an additional pitfall: opkg-cl was looking for libldap_r.so..., while I had libldap_r-<version#>.so..., so that had to be fixed by proper redirection (or use sudo cp to make a copy of the library in /usr/lib with the right name).

2. Part 4, Step 1d:
Code:
1d) copy ipkg-build.sh
Get ipkg_build.sh (e.g. from http://www.oesf.org/howto/downloads/ipkg-build.sh) and copy it into your /usr/bin folder. Make sure that the execution rights are ok.
For more info on ipkg files see: http://www.atack.cz/roman/zaurus/doc/ipkg_howto.html
That version asked me to include a "Section" field in the CONTROL file. You might want to add that to Step 3a.

Last edited by Grimulkan; 05-18-2009 at 12:35 AM. Reason: Fixed typo in filename
Grimulkan is offline   Reply With Quote