Вы находитесь на странице: 1из 21

Compilar un programa desde el código fuente:

1.- Desempaquetar el programa


tar xvfz justniffer_0.5.8.tar.gz

cd justniffer-0.58

2.- Verificar como se realiza la instalación


pico INSTALL

./configure

make

make install

NOTES:

justniffer has been developed with following libraries and tools:

boost 1.34.1 http://www.boost.org/

pcap 0.9.8 http://www.tcpdump.org/

gcc 4.2.4 http://gcc.gnu.org/


bash 3.2 http://www.gnu.org/software/bash/

tar 1.19 http://www.gnu.org/software/tar/

patch 2.5.9 http://www.gnu.org/software/patch/

3.- Ejecutar el configurador


./configure

debianupemor:~/compila/justniffer-0.5.8# ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p


checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking for bash... yes

BASH_F= yes

checking for g++... g++

checking whether the C++ compiler works... yes

checking for C++ compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for style of include used by make... GNU

checking dependency style of g++... gcc3

checking dependency style of g++... (cached) gcc3

gcc: no input files

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking dependency style of gcc... (cached) gcc3

checking how to run the C preprocessor... gcc -E

checking for ranlib... ranlib

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes


checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for strftime... yes

checking for stdbool.h that conforms to C99... yes

checking for _Bool... yes

checking whether time.h and sys/time.h may both be included... yes

checking whether struct tm is in sys/time.h or time.h... time.h

checking netinet/ip.h usability... yes

checking netinet/ip.h presence... yes

checking for netinet/ip.h... yes

checking for pcap_open_live in -lpcap... yes

checking for boostlib >= 1.20.0... configure: error: We could not detect the boost
libraries (version 1.20 or higher). If you have a staged boost library (still not
installed) please specify $BOOST_ROOT in your environment and do not give a
PATH to --with-boost option. If you are sure you have boost installed, then check
your version number looking in <boost/version.hpp>. See
http://randspringer.de/boost for more documentation.

4.- Verificar los errores y buscar las librerías necesarias:


debianupemor:~/compila/justniffer-0.5.8# apt-cache search boostlib
debianupemor:~/compila/justniffer-0.5.8# apt-cache search libboost|grep lib|
grep dev

libboost-python1.35-dev - Boost.Python Library development files

libboost-serialization1.35-dev - serialization library for C++

libboost1.35-dev - Boost C++ Libraries development files

libboost-date-time1.35-dev - set of date-time libraries based on generic


programming concepts

libboost-thread1.35-dev - portable C++ multi-threading

libboost-regex1.35-dev - regular expression library for C++

libboost-program-options1.35-dev - program options library for C++

libboost-system1.35-dev - Operating system (e.g. diagnostics support) library

libboost-filesystem1.35-dev - filesystem operations (portable paths, iteration over


directories, etc) in C++

libboost-test1.35-dev - components for writing and executing test suites

libboost-iostreams1.35-dev - Boost.Iostreams Library development files

libboost-graph1.35-dev - generic graph components and algorithms in C++

libboost-signals1.35-dev - managed signals and slots library for C++

libboost-wave1.35-dev - C99/C++ preprocessor library

libboost-serialization-dev - serialization library for C++

libboost-dev - Boost C++ Libraries development files

libboost-thread-dev - portable C++ multi-threading

libboost-filesystem-dev - filesystem operations (portable paths, iteration over


directories, etc) in C++

libboost-regex-dev - regular expression library for C++

libboost-date-time-dev - set of date-time libraries based on generic programming


concepts

libboost-program-options-dev - program options library for C++

libboost-signals-dev - managed signals and slots library for C++

libboost-python-dev - Boost.Python Library development files

libboost-graph-dev - generic graph components and algorithms in C++

libboost-test-dev - components for writing and executing test suites


libboost-iostreams-dev - Boost.Iostreams Library development files

libboost-wave-dev - C99/C++ preprocessor library

5.- Iterar buscando librerias e Instalarlas:


debianupemor:~/compila/justniffer-0.5.8# apt-get install libboost1.35-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

libboost-date-time1.35-dev libboost-filesystem1.35-dev libboost-graph1.35-dev


libboost-iostreams1.35-dev

libboost-program-options1.35-dev libboost-python1.35-dev libboost-regex1.35-


dev libboost-serialization1.35-dev

libboost-signals1.35-dev libboost-system1.35-dev libboost-test1.35-dev libboost-


thread1.35-dev libboost-wave1.35-dev

The following NEW packages will be installed:

libboost-date-time1.35-dev libboost-filesystem1.35-dev libboost-graph1.35-dev


libboost-iostreams1.35-dev

libboost-program-options1.35-dev libboost-python1.35-dev libboost-regex1.35-


dev libboost-serialization1.35-dev

libboost-signals1.35-dev libboost-system1.35-dev libboost-test1.35-dev libboost-


thread1.35-dev libboost-wave1.35-dev

libboost1.35-dev

0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.

Need to get 0B/8777kB of archives.

After this operation, 72.3MB of additional disk space will be used.

Do you want to continue [Y/n]?

Selecting previously deselected package libboost-serialization1.35-dev.

(Reading database ... 36789 files and directories currently installed.)

Unpacking libboost-serialization1.35-dev (from .../libboost-serialization1.35-


dev_1.35.0-5_i386.deb) ...

Selecting previously deselected package libboost1.35-dev.


Unpacking libboost1.35-dev (from .../libboost1.35-dev_1.35.0-5_i386.deb) ...

Selecting previously deselected package libboost-date-time1.35-dev.

Unpacking libboost-date-time1.35-dev (from .../libboost-date-time1.35-


dev_1.35.0-5_i386.deb) ...

Selecting previously deselected package libboost-system1.35-dev.

Unpacking libboost-system1.35-dev (from .../libboost-system1.35-dev_1.35.0-


5_i386.deb) ...

Selecting previously deselected package libboost-filesystem1.35-dev.

Unpacking libboost-filesystem1.35-dev (from .../libboost-filesystem1.35-


dev_1.35.0-5_i386.deb) ...

Selecting previously deselected package libboost-test1.35-dev.

Unpacking libboost-test1.35-dev (from .../libboost-test1.35-dev_1.35.0-5_i386.deb)


...

Selecting previously deselected package libboost-graph1.35-dev.

Unpacking libboost-graph1.35-dev (from .../libboost-graph1.35-dev_1.35.0-


5_i386.deb) ...

Selecting previously deselected package libboost-regex1.35-dev.

Unpacking libboost-regex1.35-dev (from .../libboost-regex1.35-dev_1.35.0-


5_i386.deb) ...

Selecting previously deselected package libboost-iostreams1.35-dev.

Unpacking libboost-iostreams1.35-dev (from .../libboost-iostreams1.35-


dev_1.35.0-5_i386.deb) ...

Selecting previously deselected package libboost-program-options1.35-dev.

Unpacking libboost-program-options1.35-dev (from .../libboost-program-


options1.35-dev_1.35.0-5_i386.deb) ...

Selecting previously deselected package libboost-python1.35-dev.

Unpacking libboost-python1.35-dev (from .../libboost-python1.35-dev_1.35.0-


5_i386.deb) ...

Selecting previously deselected package libboost-signals1.35-dev.

Unpacking libboost-signals1.35-dev (from .../libboost-signals1.35-dev_1.35.0-


5_i386.deb) ...

Selecting previously deselected package libboost-thread1.35-dev.

Unpacking libboost-thread1.35-dev (from .../libboost-thread1.35-dev_1.35.0-


5_i386.deb) ...
Selecting previously deselected package libboost-wave1.35-dev.

Unpacking libboost-wave1.35-dev (from .../libboost-wave1.35-dev_1.35.0-


5_i386.deb) ...

Processing triggers for man-db ...

Setting up libboost-serialization1.35-dev (1.35.0-5) ...

Setting up libboost1.35-dev (1.35.0-5) ...

Setting up libboost-date-time1.35-dev (1.35.0-5) ...

Setting up libboost-system1.35-dev (1.35.0-5) ...

Setting up libboost-filesystem1.35-dev (1.35.0-5) ...

Setting up libboost-test1.35-dev (1.35.0-5) ...

Setting up libboost-graph1.35-dev (1.35.0-5) ...

Setting up libboost-regex1.35-dev (1.35.0-5) ...

Setting up libboost-iostreams1.35-dev (1.35.0-5) ...

Setting up libboost-program-options1.35-dev (1.35.0-5) ...

Setting up libboost-python1.35-dev (1.35.0-5) ...

Setting up libboost-signals1.35-dev (1.35.0-5) ...

Setting up libboost-thread1.35-dev (1.35.0-5) ...

Setting up libboost-wave1.35-dev (1.35.0-5) ...

Processing triggers for python-support ...

5.-Volver a correr el configurador:


Debianupemor:~/compila/justniffer-0.5.8# ./configure

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking for bash... yes


BASH_F= yes

checking for g++... g++

checking whether the C++ compiler works... yes

checking for C++ compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for style of include used by make... GNU

checking dependency style of g++... gcc3

checking dependency style of g++... (cached) gcc3

gcc: no input files

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking dependency style of gcc... (cached) gcc3

checking how to run the C preprocessor... gcc -E

checking for ranlib... ranlib

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes


checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for strftime... yes

checking for stdbool.h that conforms to C99... yes

checking for _Bool... yes

checking whether time.h and sys/time.h may both be included... yes

checking whether struct tm is in sys/time.h or time.h... time.h

checking netinet/ip.h usability... yes

checking netinet/ip.h presence... yes

checking for netinet/ip.h... yes

checking for pcap_open_live in -lpcap... no

checking for boostlib >= 1.20.0... yes

checking whether the Boost::Regex library is available... yes

checking for exit in -lboost_regex-gcc42-1_35... yes

checking whether the Boost::Program_Options library is available... yes

checking for exit in -lboost_program_options-gcc42-1_35... yes

checking whether the Boost::IOStreams library is available... yes

checking for exit in -lboost_iostreams-gcc42-1_35... yes

checking for lib/libnids-1.21_patched/README.original... yes

checking for a Python interpreter with version >= 2.4... python

checking for python... /usr/bin/python

checking for python version... 2.5


checking for python platform... linux2

checking for python script directory... ${prefix}/lib/python2.5/site-packages

checking for python extension module directory... $


{exec_prefix}/lib/python2.5/site-packages

configure: creating ./config.status

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating python/Makefile

config.status: creating include/config.h

config.status: executing depfiles commands

=== configuring in lib/libnids-1.21_patched (/root/compila/justniffer-


0.5.8/lib/libnids-1.21_patched)

configure: running /bin/sh ./configure.gnu --disable-option-checking '--


prefix=/usr/local' --cache-file=/dev/null --srcdir=.

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ANSI C... none needed

checking for ranlib... ranlib

checking for a BSD-compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E


checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking syslog.h usability... yes

checking syslog.h presence... yes

checking for syslog.h... yes

checking for unistd.h... (cached) yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking whether time.h and sys/time.h may both be included... yes

checking whether byte ordering is bigendian... no

checking for gettimeofday... yes

checking for socket in -lsocket... no

checking for gethostbyname in -lnsl... yes

checking for libpcap... configure: error: libpcap not found

configure: error: ./configure.gnu failed for lib/libnids-1.21_patched

6.-Buscar e Instalar las librerias faltantes:


debianupemor:~/compila/justniffer-0.5.8# apt-cache search libpcap|grep dev

libmlpcap-ocaml-dev - binding of libpcap for OCaml


libnet1-dev - development files for libnet

libpcap-dev - development library for libpcap (transitional package)

libpcap0.8-dev - development library and header files for libpcap0.8

Solo tenemos 2 opciones de paquetes para instalar,


elegimos el segundo porque el primer lipcap en su
descripción se indica que es transicional
debianupemor:~/compila/justniffer-0.5.8# apt-get install libpcap0.8-dev

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

libpcap0.8-dev

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 0B/135kB of archives.

After this operation, 336kB of additional disk space will be used.

Selecting previously deselected package libpcap0.8-dev.

(Reading database ... 42545 files and directories currently installed.)

Unpacking libpcap0.8-dev (from .../libpcap0.8-dev_0.9.8-5_i386.deb) ...

Processing triggers for man-db ...

Setting up libpcap0.8-dev (0.9.8-5) ...

7.- Probar si ya se cumplen todos los requerimientos pero


verificando que parámetros acepta el configurador, esto
con la finalidad de cambiar el directorio de instalación:
debianupemor:~/compila/justniffer-0.5.8# ./configure --help|more

`configure' configures justniffer 0.5.8 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as

VAR=VALUE. See below for descriptions of some of the useful variables.


Defaults for the options are specified in brackets.

Configuration:

-h, --help display this help and exit

--help=short display options specific to this package

--help=recursive display the short help of all the included packages

-V, --version display version information and exit

-q, --quiet, --silent do not print `checking...' messages

--cache-file=FILE cache test results in FILE [disabled]

-C, --config-cache alias for `--cache-file=config.cache'

-n, --no-create do not create output files

--srcdir=DIR find the sources in DIR [configure dir or `..']

Installation directories:

--prefix=PREFIX install architecture-independent files in PREFIX

[/usr/local]

--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX

[PREFIX]

By default, `make install' will install all the files in

`/usr/local/bin', `/usr/local/lib' etc. You can specify

an installation prefix other than `/usr/local' using `--prefix',

for instance `--prefix=$HOME'.

debianupemor:~/compila/justniffer-0.5.8# ./configure
--prefix=/usr/local/justsniff

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes


checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking for bash... yes

BASH_F= yes

checking for g++... g++

checking whether the C++ compiler works... yes

checking for C++ compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for style of include used by make... GNU

checking dependency style of g++... gcc3

checking dependency style of g++... (cached) gcc3

gcc: no input files

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking dependency style of gcc... (cached) gcc3

checking how to run the C preprocessor... gcc -E

checking for ranlib... ranlib

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes


checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for strftime... yes

checking for stdbool.h that conforms to C99... yes

checking for _Bool... yes

checking whether time.h and sys/time.h may both be included... yes

checking whether struct tm is in sys/time.h or time.h... time.h

checking netinet/ip.h usability... yes

checking netinet/ip.h presence... yes

checking for netinet/ip.h... yes

checking for pcap_open_live in -lpcap... yes

checking for boostlib >= 1.20.0... yes

checking whether the Boost::Regex library is available... yes

checking for exit in -lboost_regex-gcc42-1_35... yes

checking whether the Boost::Program_Options library is available... yes

checking for exit in -lboost_program_options-gcc42-1_35... yes

checking whether the Boost::IOStreams library is available... yes


checking for exit in -lboost_iostreams-gcc42-1_35... yes

checking for lib/libnids-1.21_patched/README.original... yes

checking for a Python interpreter with version >= 2.4... python

checking for python... /usr/bin/python

checking for python version... 2.5

checking for python platform... linux2

checking for python script directory... ${prefix}/lib/python2.5/site-packages

checking for python extension module directory... $


{exec_prefix}/lib/python2.5/site-packages

configure: creating ./config.status

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating python/Makefile

config.status: creating include/config.h

config.status: executing depfiles commands

=== configuring in lib/libnids-1.21_patched (/root/compila/justniffer-


0.5.8/lib/libnids-1.21_patched)

configure: running /bin/sh ./configure.gnu --disable-option-checking '--


prefix=/usr/local/justsniff' --cache-file=/dev/null --srcdir=.

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking for gcc... gcc

checking for C compiler default output file name... a.out

checking whether the C compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes


checking for gcc option to accept ANSI C... none needed

checking for ranlib... ranlib

checking for a BSD-compatible install... /usr/bin/install -c

checking how to run the C preprocessor... gcc -E

checking for egrep... grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking syslog.h usability... yes

checking syslog.h presence... yes

checking for syslog.h... yes

checking for unistd.h... (cached) yes

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking whether time.h and sys/time.h may both be included... yes

checking whether byte ordering is bigendian... no

checking for gettimeofday... yes

checking for socket in -lsocket... no

checking for gethostbyname in -lnsl... yes


checking for libpcap... yes

skipping glib2 support

checking for libnet... no

skipping libnet

checking whether to build shared library... no

checking the name of struct icmp... struct icmphdr

checking if tcp states are defined... yes

checking for bsd-ish struct udphdr... yes

configure: creating ./config.status

config.status: creating Makefile

config.status: creating src/Makefile

config.status: creating samples/Makefile

config.status: creating src/config.h

config.status: src/config.h is unchanged

8.-Procedemos a compilar
debianupemor:~/compila/justniffer-0.5.8# make

Making all in lib/libnids-1.21_patched

make[1]: Entering directory `/root/compila/justniffer-0.5.8/lib/libnids-


1.21_patched'

cd src ; make static

make[2]: Entering directory `/root/compila/justniffer-0.5.8/lib/libnids-


1.21_patched/src'

make[2]: Nothing to be done for `static'.

make[2]: Leaving directory `/root/compila/justniffer-0.5.8/lib/libnids-


1.21_patched/src'

make[1]: Leaving directory `/root/compila/justniffer-0.5.8/lib/libnids-


1.21_patched'

Making all in src

make[1]: Entering directory `/root/compila/justniffer-0.5.8/src'


make[2]: Entering directory `/root/compila/justniffer-0.5.8'

make[2]: Leaving directory `/root/compila/justniffer-0.5.8'

g++ -DHAVE_CONFIG_H -I. -I../include -I ../lib/libnids-1.21_patched/src


-I/usr/include -I ../include -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o
main.o main.cpp

/scripts; chmod a+x justniffer-grab-http-traffic; chmod a+x http_parser.py

******** justniffer-grab-http-traffic created ********

make[1]: Leaving directory `/root/compila/justniffer-0.5.8/python'

make[1]: Entering directory `/root/compila/justniffer-0.5.8'

make[1]: Nothing to be done for `all-am'.

make[1]: Leaving directory `/root/compila/justniffer-0.5.8'

9.- Ahora se instalan los binarios en el directorio indicado


en la configuración.
debianupemor:~/compila/justniffer-0.5.8# make install

Making install in lib/libnids-1.21_patched

make[1]: Entering directory `/root/compila/justniffer-0.5.8/lib/libnids-


1.21_patched'

cd src ; make _install

make[2]: Entering directory `/root/compila/justniffer-0.5.8/lib/libnids-


1.21_patched/src'

../mkinstalldirs /usr/local/justsniff/lib

../mkinstalldirs /usr/local/justsniff/include

../mkinstalldirs /usr/local/justsniff/man/man3

# we don't want to distribute the patched version of libnids. It is usefull just for
justniffer

#/usr/bin/install -c -c -m 644 libnids2.a /usr/local/justsniff/lib

#/usr/bin/install -c -c -m 644 nids2.h /usr/local/justsniff/include

make[2]: Leaving directory `/root/compila/justniffer-0.5.8/lib/libnids-


1.21_patched/src'

make[1]: Leaving directory `/root/compila/justniffer-0.5.8/lib/libnids-


1.21_patched'

Making install in src


make[1]: Entering directory `/root/compila/justniffer-0.5.8/src'

make[2]: Entering directory `/root/compila/justniffer-0.5.8'

make[2]: Leaving directory `/root/compila/justniffer-0.5.8'

make[2]: Entering directory `/root/compila/justniffer-0.5.8/src'

make[3]: Entering directory `/root/compila/justniffer-0.5.8'

make[3]: Leaving directory `/root/compila/justniffer-0.5.8'

test -z "/usr/local/justsniff/bin" || /bin/mkdir -p "/usr/local/justsniff/bin"

/usr/bin/install -c justniffer '/usr/local/justsniff/bin'

make[2]: Nothing to be done for `install-data-am'.

make[2]: Leaving directory `/root/compila/justniffer-0.5.8/src'

make[1]: Leaving directory `/root/compila/justniffer-0.5.8/src'

Making install in python

make[1]: Entering directory `/root/compila/justniffer-0.5.8/python'

make[2]: Entering directory `/root/compila/justniffer-0.5.8'

make[2]: Leaving directory `/root/compila/justniffer-0.5.8'

make[2]: Entering directory `/root/compila/justniffer-0.5.8/python'

make[3]: Entering directory `/root/compila/justniffer-0.5.8'

make[3]: Leaving directory `/root/compila/justniffer-0.5.8'

test -z "/usr/local/justsniff/bin" || /bin/mkdir -p "/usr/local/justsniff/bin"

/usr/bin/install -c justniffer-grab-http-traffic '/usr/local/justsniff/bin'

test -z "/usr/local/justsniff/share/justniffer/scripts" || /bin/mkdir -p


"/usr/local/justsniff/share/justniffer/scripts"

/usr/bin/install -c -m 644 http_parser.py common.py


'/usr/local/justsniff/share/justniffer/scripts'

make install-data-hook

make[3]: Entering directory `/root/compila/justniffer-0.5.8/python'

make[4]: Entering directory `/root/compila/justniffer-0.5.8'

make[4]: Leaving directory `/root/compila/justniffer-0.5.8'

chmod a+x /usr/local/justsniff/share/justniffer/scripts/http_parser.py

make[3]: Leaving directory `/root/compila/justniffer-0.5.8/python'


make[2]: Leaving directory `/root/compila/justniffer-0.5.8/python'

make[1]: Leaving directory `/root/compila/justniffer-0.5.8/python'

make[1]: Entering directory `/root/compila/justniffer-0.5.8'

make[2]: Entering directory `/root/compila/justniffer-0.5.8'

make[2]: Nothing to be done for `install-exec-am'.

test -z "/usr/local/justsniff/share/man/man8" || /bin/mkdir -p


"/usr/local/justsniff/share/man/man8"

/usr/bin/install -c -m 644 justniffer.8 '/usr/local/justsniff/share/man/man8'

make[2]: Leaving directory `/root/compila/justniffer-0.5.8'

make[1]: Leaving directory `/root/compila/justniffer-0.5.8'

debianupemor:~/compila/justniffer-0.5.8# ls /usr/local/justsniff/ -l

total 20

drwxr-sr-x 2 root staff 4096 2010-09-23 18:39 bin

drwxr-sr-x 2 root staff 4096 2010-09-22 15:55 include

drwxr-sr-x 2 root staff 4096 2010-09-22 15:55 lib

drwxr-sr-x 3 root staff 4096 2010-09-22 15:55 man

drwxr-sr-x 4 root staff 4096 2010-09-22 15:55 share

Вам также может понравиться