Skip to content

BE needs to test for RE2 #477

Description

@TenoTrash

Hello there, I have done the following:

git clone --recursive https://github.com/simsong/bulk_extractor.git
cd bulk_extractor/
./bootstrap.sh
./configure
make

And have the following error:


be20_api/regex_vector.cpp: In member function ‘void regex_vector::push_back(const std::string&)’:
be20_api/regex_vector.cpp:44:5: error: ‘RE2’ has not been declared
   44 |     RE2::Options options;
      |     ^~~
be20_api/regex_vector.cpp:45:5: error: ‘options’ was not declared in this scope
   45 |     options.set_case_sensitive(false);
      |     ^~~~~~~
be20_api/regex_vector.cpp: In member function ‘bool regex_vector::search_all(const std::string&, std::string*, size_t*, size_t*) const’:
be20_api/regex_vector.cpp:165:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
  165 |         for (auto probe_offset=0;probe_offset < probe.size(); probe_offset+=MAX_STD_SIZE) {
      |                                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~
make[2]: *** [Makefile:1516: be20_api/regex_vector.o] Error 1
make[2]: se sale del directorio '/home/tdk/bulk_extractor/src'
make[1]: *** [Makefile:527: all-recursive] Error 1
make[1]: se sale del directorio '/home/tdk/bulk_extractor'
make: *** [Makefile:467: all] Error 2

I wasn´t able to found a reliable solution, any hint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions