Compiling elinks 0.11.7 on Tru64 5.1B

I have noticed that there is no OSF/1 Tru64 on the elinks homepage http://elinks.or.cz/about.html


Decided to build one to  include it in the hall of elinks fame (love curses browsers). So here is the config options / tweak done to build the stable release 0.11.7 on Tru64 5.1B

First we need GCC https://astr0baby.wordpress.com/2017/04/25/compiling-gcc-4-4-7-on-tru64-5-1b/

Download the elinks sources http://elinks.or.cz/download/elinks-0.11.7.tar.gz

Configure with following
(will need a successful build of openssl – openssl [used openssl-1.0.1e] builds just fine with native CCC compiler)

env CC=/data/gcc447/bin/gcc CXX=/data/gcc447/bin/g++ CFLAGS=-pthread ./configure --with-openssl=/pkgsrc/build/openssl-1.0.1e --with-libiconv=/usr/pkg/lib/--without-gnutls --without-lua --without-gpm --disable-xbel --disable-sm-scripting --disable-nls --disable-mailcap --disable-ipv6 --disable-mimetypes --prefix=/pkgsrc/elinks --without-gpm --disable-sysmouse --disable-mouse

Before building edit the src/network/socket.c  and replace “socklen_t” with “int”

Build the package

env CC=/data/gcc447/bin/gcc CXX=/data/gcc447/bin/g++ CFLAGS=-D_POSIX_PII_SOCKET /usr/local/bin/make install

Enjoy your new elinks ECOFF binary of elinks

Also a build of links 2.14 on Tru64 5.1B screenshots …

 

Advertisements
Gallery | This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s