View Single Post
Old 07-13-2014, 10:40 AM   #218
chrisridd
Guru
chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.chrisridd ought to be getting tired of karma fortunes by now.
 
chrisridd's Avatar
 
Posts: 983
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
Quote:
Originally Posted by PaulJS View Post
Nope! This is all I have:

I've just tried running the script in a 10.8 virtual machine (yay VMware) and it works fine for me there as well.

I wonder if your unzip or tar in 10.8 work differently for some reason.

Can you check unzip first?

Code:
cd /path/to/patch_kobo_35/3.5.0_source/
unzip -p kobo-update-3.5.0.zip KoboRoot.tgz > test.tgz
openssl md5 test.tgz
The openssl command prints
Code:
MD5(test.tgz)= 31dd20e4a6f53ac64a8bd5e5aa728470
If yours prints the same MD5 hash then unzip is OK and we need to check if tar works differently:

Code:
cd /path/to/patch_kobo_35/3.5.0_source/
mkdir test
cat test.tgz | tar xvz --directory="`pwd`/test"
find test -name "libnickel*" -o -name "libadobe*"
My system prints these 5 lines at the end:

Code:
test/usr/local/Kobo/libadobe.so
test/usr/local/Kobo/libnickel.so
test/usr/local/Kobo/libnickel.so.1
test/usr/local/Kobo/libnickel.so.1.0
test/usr/local/Kobo/libnickel.so.1.0.0

Last edited by chrisridd; 07-13-2014 at 10:44 AM. Reason: Screwed up the unzip test.
chrisridd is offline   Reply With Quote