08-09-2012, 12:10 PM | #196 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
deleted
|
08-09-2012, 12:39 PM | #197 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Expat for KeK_Emu
Expat
Get thing (armv6l:1) /home/src # wget http://downloads.sourceforge.net/project/expat/expat /2.1.0/expat-2.1.0.tar.gz (armv6l:1) /home/src # tar -xzvf expat-2.1.0.tar.gz (armv6l:1) /home/src # cd expat-2.1.0 (armv6l:1) /home/src/expat-2.1.0 # Configure thing (armv6l:1) /home/src/expat-2.1.0 # ./configure --prefix=/home --with-sysroot=/home Code:
configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating expat.pc config.status: creating expat_config.h config.status: executing libtool commands (armv6l:1) /home/src/expat-2.1.0 # make Spoiler:
Install thing (armv6l:1) /home/src/expat-2.1.0 # make install Spoiler:
Doned, No hassles. |
Advert | |
|
08-09-2012, 01:19 PM | #198 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Okay, here's a less broken lynx binary
<Insert GPL-2 header here> The OpenSSL issues might have been coming from an unrelated Gentoo patch, so, that works now . I just had to play dirty by exporting LIBS="-lz" because of inconsistencies in my pkg-config database for openssl (live 1.0 vs. kindle 0.9.8), and disable LFS support to kill the gzopen64 dependency that the ancient zlib version on the Kindle doesn't support. Final config args: Code:
./configure --prefix=${TC_BUILD_DIR} --host=${CROSS_TC} --enable-nested-tables --enable-cgi-links --enable-persistent-cookies --enable-prettysrc --enable-nsl-fork --enable-file-upload --enable-read-eta --enable-color-style --enable-scrollbar --enable-included-msgs --enable-externs --with-zlib --with-screen=ncurses --with-ssl=${TC_BUILD_DIR} --disable-rpath-hack --disable-largefile --with-cfg-file=/mnt/us/usbnet/etc/lynx.cfg --with-lss-file=/mnt/us/usbnet/etc/lynx.lss Last edited by NiLuJe; 08-09-2012 at 02:06 PM. Reason: Fix & bundle hardcoded config files |
08-09-2012, 01:37 PM | #199 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
NEON FAIL:
cd neon ./configure --prefix=/home --with-expat Code:
configure: WebDAV support is enabled checking expat.h usability... no checking expat.h presence... no checking for expat.h... no configure: error: expat library not found, cannot proceed |
08-09-2012, 01:42 PM | #200 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Lnyx for Kindle
LYNX BUNDLE
Quote:
Spoiler:
I updated your stuff with a tidy bundle that reflects this info. Thanks very much mate from everyone. All the fixes for the .sh script are in this version Err. And don´t be silly with it. Thanks Last edited by twobob; 08-10-2012 at 06:00 AM. Reason: added bundle |
|
Advert | |
|
08-09-2012, 01:43 PM | #201 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Subversion FAIL (fingers crossed!)
Get thing wget http://subversion.tigris.org/downloa...-1.6.18.tar.gz -O- | tar zxvf - cd subversion-1.6.18 Configure thing ./configure --help Spoiler:
./configure --prefix=/home --enable-all-static --with-apr=/home/bin --with-apr-util=/home/bin --with-editor=/bin/vi --with-zlib=/home/lib Will fail as neon will fail. Last edited by twobob; 08-09-2012 at 01:45 PM. Reason: added FAIL |
08-09-2012, 01:58 PM | #202 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: Yup, hardcoded paths... Will fix.
EDIT: Fixed. It expects to live in /mnt/us (ie. /mnt/us/usbnet/bin/lynx & /mnt/us/usbnet/etc/*) On the expat front, not sure why it's not getting picked up, mine installs headers properly in the root include dir, so no extra directory, and I don't remember ever having trouble with expat... EDIT²: You might want to try --with-expat=/home for neon, that might help :? Last edited by NiLuJe; 08-09-2012 at 02:05 PM. |
08-09-2012, 03:36 PM | #203 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Ye Olde Fayle.
Quote:
Blah Blah.. configure: WebDAV support is enabled configure: error: --with-expat does not take a directory argument Iḿ going to try libxml2 I think... Last edited by twobob; 08-10-2012 at 05:03 AM. |
|
08-09-2012, 03:45 PM | #204 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
umm. ldconfig.
ldconfig - updates symlinks and cache for shared libraries (armv6l:1) /home/src/subversion-1.6.18/neon # ldconfig -f /home/etc/ld-uClibc.so .conf -C /home/etc/ld-uClibc.so.cache -v /home/lib Spoiler:
Reading up on this. |
08-09-2012, 04:25 PM | #205 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
When i try to run the lynx bundle i get this:
Code:
[root@kindle lynx]# ls README lynx lynx.cfg lynx.lss lynx.sh [root@kindle lynx]# ./lynx.sh -sh: ./lynx.sh: not found EDIT: I've tried with an absolute path and get the same error Last edited by qlob; 08-09-2012 at 04:45 PM. |
08-09-2012, 04:26 PM | #206 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
And there you uncover another one of the problems with our current emulator image . . . /etc isn't writable.
(ldconfig writes a new /etc/ld.so.cache file) The most help you can give the dynamic loader is to set: LD_LIBRARY_PATH Say your new runtime libraries are located in: /home/lib or /home/usr/lib - then enter this command in your shell: export LD_LIBRARY_PATH=/home/usr/lib:/home/lib Modify the details of the above to suit. More info: http://tldp.org/HOWTO/Program-Librar...libraries.html Last edited by knc1; 08-09-2012 at 04:39 PM. |
08-09-2012, 04:47 PM | #207 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
ERR YEAH Should read: #!/bin/sh (NOT BASH) ./lynx -cfg="./lynx.cfg" -lss="./lynx.lss" wasn´t thinking sorry. I´m not sure you´ll want to background the process either, the ´&´. Your call You ALSO do NOT want to background the process. I tested it I´ll update the post FIXED IN POST NOW> THANKS Last edited by twobob; 08-10-2012 at 06:01 AM. Reason: added fixed and tested sh script. finally |
|
08-09-2012, 04:56 PM | #208 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Switch the /bin/bash shebang to /bin/sh and chmod a+x the shell wrapper, that should help .
Or check my updated attachment with more sensible hardcoded default paths . |
08-10-2012, 04:30 AM | #209 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Super Panting Hero!
It´s on FAT mate (I bloody hope it is anyway )
Quote:
thanks again mate. Legend, careful you don´t start wearing your pants on the outside, I hear it is an occupational hazard. Capes are also a No, for reference. |
|
08-10-2012, 07:47 AM | #210 |
BLAM!
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@twobob: I seem to remember being able to chmod stuff on the user store, through the fuse proxy, even though the underlying fs sucks . might not work or actually do anything, it's been a while
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessories DIY KT Case | echo013 | Amazon Kindle | 2 | 01-27-2012 06:53 PM |
DIY Stylus | scottjl | Apple Devices | 3 | 05-10-2010 01:52 AM |
DIY Scanner | Eratosthenes | News | 14 | 04-16-2010 04:21 PM |
DIY Idea | sørensundsans | Sony Reader | 6 | 01-26-2010 01:25 AM |
DIY stylus | -Thomas- | iRex | 5 | 02-12-2009 12:05 PM |