Thursday, March 20, 2014

Binwalk : Instal Python-Magic dari Source di Slackware 14.1

Lagi kepingin instal python-magic dari source di Slackware 14.1 . instal yg versi ini:

file-5.17.tar.gz

download dari situs ini:

ftp://ftp.astron.com/pub/file/

ada penjelasannya disini:

https://github.com/ncb000gt/python-magic


setelah di jalankan perintah ./configure maka muncul tulisan ini: 

 bash-4.2# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for builtin ELF support... yes
checking for ELF core file support... yes
checking for file formats in man section 5... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... no
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for ANSI C header files... (cached) yes
checking whether sys/types.h defines makedev... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdint.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking for struct tm.tm_gmtoff... no
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for tm_zone in struct tm... yes
checking whether tzname is declared... yes
checking for tzname... yes
checking for tm_isdst in struct tm... yes
checking whether daylight is declared... yes
checking for daylight... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for mbstate_t... yes
checking for struct option in getopt... yes
checking for pid_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for gcc compiler warnings... yes
checking for strerror... yes
checking for strndup... yes
checking for strtoul... yes
checking for mkstemp... yes
checking for mkostemp... yes
checking for utimes... yes
checking for utime... yes
checking for wcwidth... yes
checking for strtof... yes
checking for fmtcheck... no
checking for getopt_long... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for getline... yes
checking for ctime_r... yes
checking for asctime_r... yes
checking for pread... yes
checking for strcasestr... yes
checking for gzopen in -lz... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating magic/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating python/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

susunan file di foldernya setelah perintah itu:

bash-4.2# ls
AUTHORS    Makefile.am     aclocal.m4    config.status  install-sh  python
COPYING    Makefile.in     compile       config.sub     libtool      src
ChangeLog  NEWS         config.guess  configure      ltmain.sh   stamp-h1
INSTALL    README     config.h      configure.ac   m4      tests
MAINT       TODO         config.h.in   depcomp          magic
Makefile   acinclude.m4  config.log    doc          missing



kemudian menjalankan perintah: make check maka hasilnya seperti ini:

bash-4.2# make check
Making check in src
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/src'
make  check-am
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/src'
  CC       magic.lo
  CC       apprentice.lo
  CC       softmagic.lo
softmagic.c: In function 'mprint':
softmagic.c:412:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
    ^
softmagic.c:417:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
        (unsigned char) v) == -1)
        ^
softmagic.c:434:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
    ^
softmagic.c:439:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
        (unsigned short) v) == -1)
        ^
softmagic.c:456:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
    ^
softmagic.c:461:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
        (uint32_t) v) == -1)
        ^
softmagic.c:478:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
    ^
softmagic.c:483:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
        (unsigned long long) v) == -1)
        ^
softmagic.c:495:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%s"), m->value.s) == -1)
    ^
softmagic.c:521:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%s"), str) == -1)
    ^
softmagic.c:535:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
       tbuf)) == -1)
       ^
softmagic.c:545:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
       file_fmttime(p->l, 0, tbuf)) == -1)
       ^
softmagic.c:554:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
       file_fmttime(p->q, FILE_T_LOCAL, tbuf)) == -1)
       ^
softmagic.c:563:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
       file_fmttime(p->q, 0, tbuf)) == -1)
       ^
softmagic.c:572:7: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
       file_fmttime(p->q, FILE_T_WINDOWS, tbuf)) == -1)
       ^
softmagic.c:586:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
    ^
softmagic.c:590:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%g"), vf) == -1)
    ^
softmagic.c:606:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%s"), buf) == -1)
    ^
softmagic.c:610:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
    if (file_printf(ms, F(m->desc, "%g"), vd) == -1)
    ^
softmagic.c:626:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
   rval = file_printf(ms, F(m->desc, "%s"), cp);
   ^
softmagic.c:640:5: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
     if (file_printf(ms, F(m->desc, "%s"), m->value.s) == -1)
     ^
softmagic.c: In function 'mget':
softmagic.c:1758:8: warning: format not a string literal, argument types not checked [-Wformat-nonliteral]
        file_printf(ms, F(m->desc, "%u"), offset) == -1)
        ^
  CC       ascmagic.lo
  CC       encoding.lo
  CC       compress.lo
  CC       is_tar.lo
  CC       readelf.lo
  CC       print.lo
  CC       fsmagic.lo
  CC       funcs.lo
  CC       apptype.lo
  CC       cdf.lo
  CC       cdf_time.lo
  CC       readcdf.lo
  CC       strlcpy.lo
  CC       strlcat.lo
  CCLD     libmagic.la
  CC       file.o
  CCLD     file
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/src'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/src'
Making check in magic
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/magic'
../src/file -C -m magic
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/magic'
Making check in tests
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/tests'
make  test
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/tests'
  CC       test-test.o
  CCLD     test
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/tests'
make  check-local
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/tests'
MAGIC=../magic/magic ./test
for i in ../tests/*.testfile; do MAGIC=../magic/magic ./test ../tests/$i ../tests/${i%%.testfile}.result; done
../tests/../tests/escapevel.testfile: Zip data (MIME type "application/vnd.nz.gen.geek_central.ti5x"?)
../tests/../tests/gedcom.testfile: GEDCOM genealogy text version 5.5, ASCII text
../tests/../tests/issue311docx.testfile: Microsoft Word 2007+
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/tests'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/tests'
Making check in doc
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/doc'
sed -e s@__CSECTION__@1@g \
    -e s@__FSECTION__@4@g \
    -e s@__VERSION__@5.17@g \
    -e s@__MAGIC__@/usr/local/share/misc/magic@g ./file.man > file.1
sed -e s@__CSECTION__@1@g \
    -e s@__FSECTION__@4@g \
    -e s@__VERSION__@5.17@g \
    -e s@__MAGIC__@/usr/local/share/misc/magic@g ./magic.man > magic.4
sed -e s@__CSECTION__@1@g \
    -e s@__FSECTION__@4@g \
    -e s@__VERSION__@5.17@g \
    -e s@__MAGIC__@/usr/local/share/misc/magic@g ./libmagic.man > libmagic.3
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/doc'
Making check in python
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/python'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/python'
make[1]: Entering directory `/root/Software/Binwalk/file-5.17'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17'



setelah menjalankan perintah itu maka susunan file di folder:

bash-4.2# ls
AUTHORS    Makefile.am     aclocal.m4    config.status  install-sh  python
COPYING    Makefile.in     compile       config.sub     libtool      src
ChangeLog  NEWS         config.guess  configure      ltmain.sh   stamp-h1
INSTALL    README     config.h      configure.ac   m4      tests
MAINT       TODO         config.h.in   depcomp          magic
Makefile   acinclude.m4  config.log    doc          missing


kemudian coba lagi jalankan perintah: make

maka hasilya:


bash-4.2# make
make  all-recursive
make[1]: Entering directory `/root/Software/Binwalk/file-5.17'
Making all in src
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/src'
make  all-am
make[3]: Entering directory `/root/Software/Binwalk/file-5.17/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/Software/Binwalk/file-5.17/src'
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/src'
Making all in magic
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/magic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/magic'
Making all in tests
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/tests'
Making all in doc
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/doc'
Making all in python
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/python'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/python'
make[2]: Entering directory `/root/Software/Binwalk/file-5.17'
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17'


susunan filenya:

bash-4.2# ls
AUTHORS    Makefile.am     aclocal.m4    config.status  install-sh  python
COPYING    Makefile.in     compile       config.sub     libtool      src
ChangeLog  NEWS         config.guess  configure      ltmain.sh   stamp-h1
INSTALL    README     config.h      configure.ac   m4      tests
MAINT       TODO         config.h.in   depcomp          magic
Makefile   acinclude.m4  config.log    doc          missing


selanjutnya kita jalankan perintah : make install


maka muncul tulisan:

bash-4.2# make install
Making install in src
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/src'
make  install-am
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/src'
make[3]: Entering directory `/root/Software/Binwalk/file-5.17/src'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/ginstall -c   libmagic.la '/usr/local/lib'
libtool: install: /usr/bin/ginstall -c .libs/libmagic.so.1.0.0 /usr/local/lib/libmagic.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libmagic.so.1.0.0 libmagic.so.1 || { rm -f libmagic.so.1 && ln -s libmagic.so.1.0.0 libmagic.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmagic.so.1.0.0 libmagic.so || { rm -f libmagic.so && ln -s libmagic.so.1.0.0 libmagic.so; }; })
libtool: install: /usr/bin/ginstall -c .libs/libmagic.lai /usr/local/lib/libmagic.la
libtool: finish: PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/qt/bin:/usr/share/texmf/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ../libtool   --mode=install /usr/bin/ginstall -c file '/usr/local/bin'
libtool: install: /usr/bin/ginstall -c .libs/file /usr/local/bin/file
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/ginstall -c -m 644 magic.h '/usr/local/include'
make[3]: Leaving directory `/root/Software/Binwalk/file-5.17/src'
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/src'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/src'
Making install in magic
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/magic'
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/magic'
make[2]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/share/misc'
 /usr/bin/ginstall -c -m 644 magic.mgc '/usr/local/share/misc'
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/magic'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/magic'
Making install in tests
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/tests'
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/tests'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/tests'
Making install in doc
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/doc'
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/doc'
make[2]: Nothing to be done for `install-exec-am'.
 /usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/ginstall -c -m 644 file.1 '/usr/local/share/man/man1'
 /usr/bin/mkdir -p '/usr/local/share/man/man3'
 /usr/bin/ginstall -c -m 644 libmagic.3 '/usr/local/share/man/man3'
 /usr/bin/mkdir -p '/usr/local/share/man/man4'
 /usr/bin/ginstall -c -m 644 magic.4 '/usr/local/share/man/man4'
 /usr/bin/mkdir -p '/usr/local/share/man/man5'
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/doc'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/doc'
Making install in python
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/python'
make[2]: Entering directory `/root/Software/Binwalk/file-5.17/python'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17/python'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/python'
make[1]: Entering directory `/root/Software/Binwalk/file-5.17'
make[2]: Entering directory `/root/Software/Binwalk/file-5.17'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Software/Binwalk/file-5.17'
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17'


kemudian jalankan perintah : make installcheck , untuk memeriksa file binari di tempat mereka terinstal.
perintah ini tidak menginstal apapun, cuma memeriksa saja. setelah dijalankan maka muncul tulisan:


bash-4.2# make installcheck
Making installcheck in src
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/src'
make[1]: Nothing to be done for `installcheck'.
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/src'
Making installcheck in magic
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/magic'
make[1]: Nothing to be done for `installcheck'.
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/magic'
Making installcheck in tests
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/tests'
make[1]: Nothing to be done for `installcheck'.
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/tests'
Making installcheck in doc
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/doc'
make[1]: Nothing to be done for `installcheck'.
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/doc'
Making installcheck in python
make[1]: Entering directory `/root/Software/Binwalk/file-5.17/python'
make[1]: Nothing to be done for `installcheck'.
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17/python'
make[1]: Entering directory `/root/Software/Binwalk/file-5.17'
make[1]: Nothing to be done for `installcheck-am'.
make[1]: Leaving directory `/root/Software/Binwalk/file-5.17'


setelah semua nya selesai maka di cek folder di /usr/local/lib sesuai petunjuk yg didapat saat menjalankan perintah : make install .
maka didapat file-file:

libmagic.la  libmagic.so  libmagic.so.1  libmagic.so.1.0.0  perl5


Untuk menampilkan file help dari libmagic, bisa dilakukan dengan perintah:

man libmagic



No comments:

Post a Comment

please, write your comment about this article