Thread: DIY - KeK
View Single Post
Old 08-09-2012, 01:19 PM   #198
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
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
@twobob: Beware that the expat lib bundled on the Kindle is freaking ancient, so you might run into ABI/API mismatch (hell, I think it's even two of three sonames behind) if you don't link statically against your newer lib.
Attached Files
File Type: gz lynx.tar.gz (625.8 KB, 204 views)

Last edited by NiLuJe; 08-09-2012 at 02:06 PM. Reason: Fix & bundle hardcoded config files
NiLuJe is offline   Reply With Quote