w3m is primarily a pager but it can also be used as a text-mode WWW browser.
This package is known to build and work properly using an LFS-8.4 platform.
Download (HTTP): https://downloads.sourceforge.net/w3m/w3m-0.5.3.tar.gz
Download MD5 sum: 1b845a983a50b8dec0169ac48479eacc
Download size: 2.1 MB
Estimated disk space required: 26 MB
Estimated build time: 0.3 SBU
GPM-1.20.7, imlib2-1.5.1, GTK+-2.24.32, Imlib (not recommended: obsolete, abandoned upstream, buggy, and gives no additional functionality as compared to other image loading libraries), gdk-pixbuf-2.38.0, Compface-1.5.2, and nkf, a Mail User Agent, and an External Browser
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/W3M
Install w3m by running the following commands:
patch -Np1 -i ../w3m-0.5.3-bdwgc72-2.patch && sed -i 's/file_handle/file_foo/' istream.{c,h} && sed -i 's#gdk-pixbuf-xlib-2.0#& x11#' configure && sed -i '/USE_EGD/s/define/undef/' config.h.in && ./configure --prefix=/usr --sysconfdir=/etc && make
This package does not come with a test suite.
Now, as the root
user:
make install && install -v -m644 -D doc/keymap.default /etc/w3m/keymap && install -v -m644 doc/menu.default /etc/w3m/menu && install -v -m755 -d /usr/share/doc/w3m-0.5.3 && install -v -m644 doc/{HISTORY,READ*,keymap.*,menu.*,*.html} \ /usr/share/doc/w3m-0.5.3
patch -p1 < ../w3m-0.5.3-bdwgc72-2.patch: This patch fixes compiling w3m with GC-7.2 and above installed.
sed -i 's/file_handle/file_foo/' istream.{c,h}: This sed renames the file_handle function to avoid a clash with a glibc function that has the same name, defined in /usr/include/bits/fcntl.h.
sed -i 's#gdk-pixbuf-xlib-2.0#& x11#' configure: This sed fixes compiling w3m using GTK+-2.24.32 as its image library. It has no impact if GTK+-2.24.32 is not installed.
sed -i '/USE_EGD/s/define/undef/' config.h.in: Allows building against openssl-1.1.
--sysconfdir=/etc
: This
option puts the configuration files in /etc.
Last updated on 2019-02-15 13:01:29 -0800