Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Lynx browser on OS X?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Lynx browser on OS X?
Authored by: wdouglascampbell on Aug 29, '06 11:39:35AM
This is an old thread but since I came across it when I was trying to install Lynx, I thought I would share what I did.

I wanted to be able to install the latest version of Lynx and include SSL support. I had found a package that I could install with the latest version but it didn't include SSL support for some reason so I decided to try building Lynx from the source.

From things I had read about doing this, it seemed that I would need to make sure that I could build the source against openssl and ncurses so instead of installing them on my machine (actually I think my new Mac has them both, I decided to do the following...)

I. Download Source

We require the source from three packages:

ncurses: (Home Page) http://www.gnu.org/software/ncurses/ncurses.html (Download) ftp://invisible-island.net/ncurses
openssl: (Home Page) http://www.openssl.org (Download) http://www.openssl.org/source/
lynx: (Home Page) http://lynx.isc.org/release/ (Latest Development Download) http://lynx.isc.org/current/

For these instructions I downloaded and used the following versions of the source:

ncurses-5.5.tar.gz
openssl-0.9.8b.tar.gz
lynx2.8.6dev.18.tar.bz2


II. Setup Build Area and Extract Source

cd ~
mkdir lynxbuild
cd lynxbuild
tar -xzf /path/to/ncurses-5.5.tar.gz
tar -xzf /path/to/openssl-0.9.8b.tar.gz
tar -xjf /path/to/lynx2.8.6dev.18.tar.bz2


III. Setup Temporary Install Area

cd ~
mkdir tmpinstall


IV. Build and Install nCurses to Temporary Install Area

cd ~/lynxbuild/ncurses-5.5
./configure --prefix=/Users/doug/tmpinstall --with-shared
make
make install


V. Build and Install OpenSSL to Temporary Install Area

cd ~/lynxbuild/openssl-0.9.8b
./config --prefix=/Users/doug/tmpinstall shared
make
make test
make install


VI. Build and Install Lynx to Temporary Install Area

CPPFLAGS="-I/Users/doug/tmpinstall"; LIBS="-L/Users/doug/tmpinstall"; ./configure --prefix=/usr/local --with-ssl=/Users/doug/tmpinstall --with-screen=ncurses
make
make install


Lynx is now installed at /usr/local/bin/lynx
The lynx.cfg is installed in /usr/local/lib


I hope that helps someone else

[ Reply to This | # ]