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) (Download)
openssl: (Home Page) (Download)
lynx: (Home Page) (Latest Development Download)

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


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 install

V. Build and Install OpenSSL to Temporary Install Area

cd ~/lynxbuild/openssl-0.9.8b
./config --prefix=/Users/doug/tmpinstall shared
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 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 | # ]