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

Lynx browser on OS X? UNIX
osxfaq.com has provided instructions on how to compile lynx, an excellent text-mode web browser.

From a terminal, try this:
wget http://lynx.isc.org/lynx-2.8.3/lynx2.8.3.tar.gz
tar zxvf lynx2.8.3.tar.gz
cd lynx2-8-3
cp /usr/libexec/config.guess .
./configure
make
su
make install

No guarantees, as I haven't tried this myself yet!

NOTE: You will have to have the compiler installed for this to work!
The compiler is available from Apple, and MacAddict has published a nice tutorial on how to install it. Again, I have not yet tried this myself (too much of a UNIX neophyte!).

SECOND NOTE: See the new tip on the 'links' text browser, posted 11/15/2000, for an alternative to lynx.
    •    
  • Currently 1.53 / 5
  You rated: 1 / 5 (19 votes cast)
 
[31,975 views]  

Lynx browser on OS X? | 10 comments | Create New Account
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.
Error
Authored by: Jay on Nov 08, '00 03:19:53PM
I would LOVE to have Lynx, but I got a few errors that make me think it won't work. Everything went ok until I got to ./configure which resulted in this:

creating cache ./config.cache checking host system type... Invalid configuration `powerpc-apple-darwin1.2': system `darwin1.2' not recognized checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH

Also, make resulted in

make: Command not found.

Is make not included with OS X? Any help would be appreciated!

[ Reply to This | # ]

Error
Authored by: robg on Nov 08, '00 05:04:00PM

Sorry, I left out a key assumption :-). See the article for the details, but basically, you need to install the compiler first.

I've included a URL from MacAddict explaining how to do that...

-rob.



[ Reply to This | # ]
Update for final
Authored by: robg on May 01, '01 01:34:24AM

Read this thread:

http://forums.macaddict.com/bbfarm/Forum33/HTML/001316.html

for details on getting lynx 2.83 to work on OS X final. i got it to function by doing configure, make, sudo make install (bombs), make (with options specified in thread), sudo make install. not exactly clear, but it should get it working. "links" is still a much better text browser, though - macosxhints is unreadable on lynx, and quite usable on links.

-rob.



[ Reply to This | # ]
Easiest Lynx install...
Authored by: cgull on Apr 17, '02 11:44:03AM
If you don't have Fink, get it. (go to versiontracker.com and search for fink) Once you have Fink, go to your terminal and type in: fink install lynx It will then download, configure, compile, and install. Amazingly simple and works like a charm. To run it, type: lynx And, if you are not happy with it, all you have to do is type in: fink remove lynx

[ Reply to This | # ]
Use Links instead...
Authored by: cgull on Apr 17, '02 12:42:29PM
just replace 'lynx' with 'links' and you've got yourself a better text browser. ie. fink install links BTW, you do have to have the Developer pack installed or you will not be able to compile.

[ Reply to This | # ]
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 | # ]
Lynx browser on OS X?
Authored by: randalla on Dec 17, '06 03:35:49PM
http://darwinports.opendarwin.org/

Download and install, and make sure that you have the Developer Tools installed. Then type:

sudo port install lynx

Accessing it is as simple as /opt/local/bin/lynx, or maybe as simple as typing lynx if the PATH variable is set correctly (I believe that ports does this on install).

Many other useful applications are available from ports, such as tcpflow, balance and more. Enjoy.

Adam.

[ Reply to This | # ]
Lynx browser on OS X?
Authored by: jzundel on Mar 13, '07 04:26:07PM

Loved it! Hint worked without a hitch. Lynx up & running in minutes.



[ Reply to This | # ]
Lynx browser on OS X?
Authored by: billspat on Jun 28, '07 11:49:07PM
If you don't want / can't have fink or darwin ports on your machine, another option for lynx on os x is lynxlet (http://habilis.net/lynxlet ). Not only will it play like a regular browser in the GUI, but includes a pre-compiled version of standard lynx for use in the terminal Links may be nice but doesn't have ssl (at least the pre-compiled versions mentioned above).

[ Reply to This | # ]
Lynx browser on OS X?
Authored by: ooseven on Nov 05, '07 05:56:15AM