Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not use libprotoident? #43

Open
Wbn-369 opened this issue Jul 27, 2022 · 5 comments
Open

can not use libprotoident? #43

Wbn-369 opened this issue Jul 27, 2022 · 5 comments

Comments

@Wbn-369
Copy link

Wbn-369 commented Jul 27, 2022

Hi,I followed the steps you gave, and it shows that there is no corresponding make target,Can you help solve this problem?

@salcock
Copy link
Contributor

salcock commented Jul 27, 2022

Hello,

Can you please paste the output produced when you run each of the build commands (i.e. ./bootstrap.sh, ./configure, etc.)?

@Wbn-369
Copy link
Author

Wbn-369 commented Jul 28, 2022

root@p4:/home/p4/libprotoident-master# ./bootstrap.sh

  • aclocal-1.11
    ./bootstrap.sh: 5: aclocal-1.11: not found
  • aclocal-1.9
    ./bootstrap.sh: 5: aclocal-1.9: not found
  • aclocal
  • libtoolize --force --copy
    libtoolize: putting auxiliary files in '.'.
    libtoolize: copying file './ltmain.sh'
    libtoolize: You should add the contents of the following files to 'aclocal.m4':
    libtoolize: '/usr/share/aclocal/libtool.m4'
    libtoolize: '/usr/share/aclocal/ltoptions.m4'
    libtoolize: '/usr/share/aclocal/ltsugar.m4'
    libtoolize: '/usr/share/aclocal/ltversion.m4'
    libtoolize: '/usr/share/aclocal/lt~obsolete.m4'
    libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
    libtoolize: and rerunning libtoolize and aclocal.
    libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  • autoheader2.50
    ./bootstrap.sh: 11: autoheader2.50: not found
  • autoheader
  • automake-1.11 --add-missing --copy --foreign
    ./bootstrap.sh: 14: automake-1.11: not found
  • automake-1.10 --add-missing --copy --foreign
    ./bootstrap.sh: 15: automake-1.10: not found
  • automake-1.9 --add-missing --copy --foreign
    ./bootstrap.sh: 16: automake-1.9: not found
  • automake --add-missing --copy --foreign
    Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/${ <-- HERE ([^ \t=:+{}]+)}/ at /opt/aclocal-1.15/bin/automake line 3936.
    configure.ac:30: installing './compile'
    configure.ac:3: installing './missing'
    lib/Makefile.am:10: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '_CPPFLAGS')
    lib/Makefile.am:3: error: Libtool library used but 'LIBTOOL' is undefined
    lib/Makefile.am:3: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
    lib/Makefile.am:3: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
    lib/Makefile.am:3: If 'LT_INIT' is in 'configure.ac', make sure
    lib/Makefile.am:3: its definition is in aclocal's search path.
    lib/Makefile.am: installing './depcomp'
    lib/tcp/Makefile.am:292: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '
    _CPPFLAGS')
    lib/tcp/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
    lib/tcp/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
    lib/tcp/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
    lib/tcp/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
    lib/tcp/Makefile.am:1: its definition is in aclocal's search path.
    lib/udp/Makefile.am:261: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
    lib/udp/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
    lib/udp/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
    lib/udp/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
    lib/udp/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
    lib/udp/Makefile.am:1: its definition is in aclocal's search path.
    tools/arff/Makefile.am:7: warning: source file '../tools_common.cc' is in a subdirectory,
    tools/arff/Makefile.am:7: but option 'subdir-objects' is disabled
    automake: warning: possible forward-incompatibility.
    automake: At least a source file is in a subdirectory, but the 'subdir-objects'
    automake: automake option hasn't been enabled. For now, the corresponding output
    automake: object file(s) will be placed in the top-level directory. However,
    automake: this behaviour will change in future Automake versions: they will
    automake: unconditionally cause object files to be placed in the same subdirectory
    automake: of the corresponding sources.
    automake: You are advised to start using 'subdir-objects' option throughout your
    automake: project, to avoid future incompatibilities.
    tools/find_unknown/Makefile.am:7: warning: source file '../tools_common.cc' is in a subdirectory,
    tools/find_unknown/Makefile.am:7: but option 'subdir-objects' is disabled
    tools/protoident/Makefile.am:7: warning: source file '../tools_common.cc' is in a subdirectory,
    tools/protoident/Makefile.am:7: but option 'subdir-objects' is disabled
  • autoconf2.50
    ./bootstrap.sh: 19: autoconf2.50: not found
  • autoconf

root@p4:/home/p4/libprotoident-master# ./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... /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 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the C++ compiler works... yes
./configure: line 4253: AC_PROG_LIBTOOL: command not found
checking for trace_get_payload_length in -ltrace... no
checking for lfm_version_three in -lflowmanager... no
checking how to run the C++ preprocessor... g++ -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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.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
configure: error: Required library libtrace 3.0.7 or later not found; use LDFLAGS to specify library location
root@p4:/home/p4/libprotoident-master# make
make: *** No targets specified and no makefile found. Stop.

@Wbn-369
Copy link
Author

Wbn-369 commented Jul 28, 2022

I have downloaded this package aclocal 1.15, here must this be the corresponding version aclocal-1.11 ?

@salcock
Copy link
Contributor

salcock commented Jul 28, 2022

Looks like you are missing the libtool package -- try running sudo apt install libtool and then repeat the build process starting from the bootstrap.sh step.

@Wbn-369
Copy link
Author

Wbn-369 commented Jul 28, 2022

hi, the same mistake after installation, let me see again. Can you provide the library of DPI corresponding to the matching field? The dictionary is OK. I want to implement a similar tool for myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants