Mail from ILUG-BOM list (Non-Digest Mode)
_______________________________________________

I've got the new version of lynx and have compiled it with ssl support.
For any of you planning on doing the same, follow these steps:

I. Downloads:
1. Download lynx2.8.3rel1 from lynx.browser.org
2. Download all bug fix patches (lynx2.8.3rel1a, rel1b, rel1c)
3. Download lynx ssl patch (there's a link from the lynx download page)
4. Download openssl (if you don't already have it)

II. Installation:
A. openssl
1. configure openssl with the foll options:
   ./configure threads shared
   you may want to add no-asm if you have problems making
2. run make
3. run make install
   you will get errors about ranlib not recognising the file format of
   libcrypto.so.* and libssl.so.*  Ignore these.  It only causes a small
   loss of speed in loading these modules; not noticeable
5. create symlinks from the openssl lib directory to /usr/lib:
   ln /usr/local/ssl/lib/* to /usr/lib
   the lynx make has trouble finding it otherwise, even though it is
   specified with the -L switch

B. lynx
1. unpack the lynx tarball.  It will create directory lynx2-8-3
2. unpack the ssl patch into the parent directory of lynx2-8-3
3. apply patch using patch -p0 < lynx-283-ssl.patch from this same
   directory
4. rename directory to lynx2.8.3rel1+
5. apply lynx2.8.3rel1a.patch in the same way as above
6. rename directory to lynx2.8.3rel1a and apply 1b patch
7. rename directory to lynx2.8.3rel1b and apply 1c patch
8. rename directory to lynx2-8-3
9. run configure.  I use the following options:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--enable-color-style --enable-default-colors --enable-file-upload
--enable-justify-elts --enable-libjs --enable-prettysrc --enable-read-eta
--enable-scrollbar --enable-source-cache --enable-internal-links
--enable-nsl-fork --with-zlib --enable-gzip-help

Notice a few things here:
  i. rudimentary stylesheet support (some sort of colours) as well as text
     justification
 ii. file upload option added
iii. some attempt at java script support
 iv. syntax hilighting for html source (but I haven't seen this in effect)
  v. sroll bar and mouse support in xterm (again I haven't been able to
     activate mouse support)

You can choose your own options from ./configure --help

make and make install.


If you also want to install pine after this, everything is smooth, except
for one thing.  After you run configure, do this:

in imap/src/osdep/unix/Makefile.ssl
replace libcrypto.a with -lcrypto (since you have compiled it as a shared
object)  Actually, you just have to comment the option and uncomment the
one before it.

NOTE: This will cause problems if you also have kerberos support, because
kerberos has its own libcrypto.a

There isn't much reason to upgrade pine though unless you have a really
old version (pre 4.00).

Philip

-- 
We gave you an atomic bomb, what do you want, mermaids?
                -- I. I. Rabi to the Atomic Energy Commission

Visit my webpage at http://www.ncst.ernet.in/~philip/
Read my writings at http://www.ncst.ernet.in/~philip/writings/

_______________________________________________
Next Meet on 12th Nov 2000 at HBCSE
Website: http://www.ilug-bom.org.in/
Linuxers mailing list [EMAIL PROTECTED]
http://ilug-bom.org.in/mailman/listinfo/linuxers
CHAT: irc.ilug-bom.org.in

Reply via email to