Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > b0a85da781fe9662620675d20bcf04d0 > files > 50

liblcrzo4-devel-4.17.0-13mdv2010.0.i586.rpm

                 -------------------------------
                 |        INTRODUCTION         |
                 -------------------------------

Note : if you encounter problems, read ./doc/probleminstallunix_en.txt

There are 2 steps :
 - compile and install libpcap [if not already installed]
 - compile and install liblcrzo.a


                 -------------------------------
                 |       STEP 1 : libpcap      |
                 -------------------------------

If libpcap isn't installed on your system, you have to do it :
 - ftp://ftp.ee.lbl.gov/libpcap.tar.Z, or
 - http://www.tcpdump.org/, or
 - from a package for your system (look the cdrom or website
   of your distribution)
Installation procedure for libpcap is explained in downloaded
files, or depends on tools from your distribution.


                 -------------------------------
                 |     STEP 2 : liblcrzo.a     |
                 -------------------------------

 - "cd src"          (to go in sources subdirectory)
 - "vi ./config.dat" (to define variables specific to your system.
                      The predefined variables should be correct for
                      Linux because "LCRZODEF_SYS=Linux_X_i386" is
                      defined)
 - "./genemake"      (generate the files Makefile and lcrzo_defs.h)
 - "make"            (compile the library)
 - "make install"    (install the library : include files, liblcrzo.a
                      and manpages are installed. You need to be root
                      to do it. If you do not want to install lcrzo,
                      there is a special installation mode in
                      lcrzoEX which permits to create lcrzoex without
                      having installed lcrzo. However, I recommend you
                      to install lcrzo because it is easier.)

Note : if you prefer installing liblcrzo.so, use (after "./genemake") 
       "make liblcrzo.so" and "make installso".


                 ------------------------------
                 |          NEXT STEP         |
                 ------------------------------

Now, I suggest you to download lcrzoex, which shows over 400 examples
of lcrzo.

If you want to create your own program using lcrzo, read
./doc/compilunix_en.txt.

Download and read lcrzo-4.xx-doc_html.tgz to obtain information about
lcrzo.