Skip to content

Release notes for 0.15.0rc1

rkd77 edited this page Dec 4, 2021 · 6 revisions

Binaries were built on Alpine Linux Edge. elinks-lite was built by gcc without js, elinks was built by g++ with QuickJS.

Here is script for js version:

#!/bin/sh

./autogen.sh

CFLAGS="-O2" LIBS="-lpthread" CC="g++" \
./configure --with-brotli \
--enable-utf-8 \
--enable-true-color \
--enable-gopher \
--without-spidermonkey \
--without-bzlib \
--without-lzma \
--without-perl \
--with-luapkg=lua5.1 \
--with-zlib \
--prefix=/usr \
--disable-backtrace \
--disable-combining \
--enable-bittorrent \
--enable-88-colors \
--enable-256-colors \
--with-openssl \
--without-gnutls \
--without-libev \
--without-libevent \
--without-terminfo \
--enable-cgi \
--without-ruby \
--disable-sm-scripting \
--without-python \
--with-zstd \
--disable-debug \
--without-x \
--enable-fastmem \
--with-static \
--disable-nls \
--with-quickjs \
--enable-gemini \
--enable-nntp

But first need to install required packages. For js version additional are:
libxml2-dev
sqlite-static
expat-static

libxml++5 there is no repository AFAIK. To build from sources: Install mm-common from testing repository. Install libtool and git.

Then

git clone https://github.com/libxmlplusplus/libxmlplusplus
cd libxmlplusplus
./autogen.sh
./configure --prefix=/usr \
--enable-static=yes \
--disable-documentation
make
make install

quickjs is not in repository, so Download quickjs-2021-03-27.tar.xz, unpack.

cd quickjs-2021-03-27
make prefix=/usr
make install

On arm architectures make may fail, so download this file: https://raw.githubusercontent.com/ftk/quickjspp/master/quickjs/CMakeLists.txt Install cmake from repository.

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
make install

And finally you can build elinks.