Instructions from building LBInstDJ from sources
================================================

1. Requirements:
    - LFN support. (DOS box in Windows 95/98/2000)
    - DJGPP v2.03.                (v2/djdev203.zip on SimTelNet)
    - GNU C++ compiler. 2.95.2.   (v2gnu/gcc2952b.zip,
                                   v2gnu/gpp2952b.zip) 
    - Turbo Vision port to DJGPP. (v2tk/tv1010s.zip)
    - GNU Autoconf 1.13           (v2gnu/acnf213b.zip)
    - GNU Automake 1.4            (v2gnu/amake14b.zip)
    - GNU Bash 2.03               (v2gnu/bash203b.zip)
    - GNU Fileutils 3.16          (v2gnu/fil316b.zip)
    - GNU Gettext 0.10.32         (v2gnu/gtxt032b.zip)
    - GNU Make 3.78.1             (v2gnu/mak3781b.zip)
    - something that I forgot.    (???/???.zip)
   Optional:
    - Memory Supervision System   (v2tk/mss12.zip)

Specified versions are not mandatory - they show versions
of packages I use.

Note about Gettext - it is used only for Turbo Vision's convienence.
LBInstDJ is not internationalized, because I don't think it is OK
for first-time installer.

2. Compilation:

   Below replace 'c:/djgpp' everywhere with your DJGPP instalation
root directory.

    - Extract 'lbint04s.zip' to your DJGPP directory tree. If you use
unzip32 from simtelnet, type 'unzip32 lbint04s.zip c:/djgpp' If you use 
pkunzip, type 'pkunzip -d lbint04s.zip c:/djgpp'.

    - Configure source. Go to c:/djgpp/contrib/lbinstdj/ and type
'sh configure'. There are 2 additional parameters to configure script you
might want to use:
        --enable-debug - turns off optimization and compiles in debug info.
          Required for debugging LBInstDJ, off by default.
        --with-mss - uses Memory Supervision System (MSS) for detecting memory
          leaks. Off by default.

    - Compile LBInstDJ. For that, simply type 'make'.

    - You've done it!

2a. Making v2/install.exe on SimtelNet.

    - You will need additional utilities: PMODE/DJ and CWSDPMI DPMI servers, 
UPX  executable compressor and unzip SFX stub.

    - Place cwsdpmi.exe and pmodstub.exe in current directory.

    - Place COFF image of unzipsfx in current directory. If you have stubbed
exe, run 'exe2coff unzipsfx.exe' 

    - Run makedist.bat from current directory.

--------
Laurynas Biveinis <lauras@softhome.net>
