[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Notes on rebuilding Hebrew pine in Linux



1. Software configuration:
Standard RedHat Linux 5.1, except that the kernel was upgraded to version
2.0.36 (the relevant packages are: kernel-2.0.36-1 and
kernel-headers-2.0.36-1).
The gcc package version used was: gcc-2.7.2.3-11

2. Source of the pineh package:
ftp://horizon.cc.huji.ac.il/pub/pine3.96_heb2.07.tar.gz

3. Procedure for building:
1. tar zxvf pine3.96_heb2.07.tar.gz
2. cd pine3.96_heb2.07
3. ./build lnx

4. Patches in order to get it to compile
I found that in order to compile, the following three changes have to be
made:

* pine3.96_heb2.07/imap/ANSI/c-client/log_std.c
      crypt() is not declared in the header files which I have, so it
      was replaced by a string constant.

      This is apparently due to American export laws.

* pine3.96_heb2.07/pico/osdep.c
      conditionally-compiled declaration of extern char *sys_errlist[]
      was commented out altogether.
* pine3.96_heb2.07/pine/os.c
      declaration of sys_errar *sys_errlist[] was commented out 
      altogether.

      This is apparently because the declaration of sys_errlist[] in
      /usr/include/stdio.h was changed from the past to make it const.

5. After compilation
After compilation, pineh appears to work correctly with standard xterm,
when it is started with -fn 10x20h (one of the X fonts which supports
Hebrew).
                                             --- Omer
WARNING:
By sending me unsolicited commercial/political/religious/MailPush
E-mail message/s (known also as "spam"), you irrevocably agree to
pay me US$500.- (plus any legal expenses incurred by my trying to
collect the amount due) per unsolicited commercial/political/
religious/MailPush E-mail message - for the service of receiving it.