-
Notifications
You must be signed in to change notification settings - Fork 193
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
BE needs to test for RE2 #477
Comments
Neat. Which version of Linux is this?
Please give me a URL.
… On Dec 10, 2024, at 12:48 PM, Marce Ferra ***@***.***> wrote:
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?
—
Reply to this email directly, view it on GitHub <#477>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAMFHLHMHMWZV23BERV5PW32E4SKHAVCNFSM6AAAAABTLWX2CCVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTANZYGA4TKNI>.
You are receiving this because you are subscribed to this thread.
|
From Linux Mint 22?
https://linuxmint.com/
Is based on Ubuntu 24.04
El mar, 10 dic 2024 a la(s) 7:56 p.m., Simson L. Garfinkel (
***@***.***) escribió:
… Neat. Which version of Linux is this?
Please give me a URL.
> On Dec 10, 2024, at 12:48 PM, Marce Ferra ***@***.***> wrote:
>
>
> 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?
>
> —
> Reply to this email directly, view it on GitHub <
#477>, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AAMFHLHMHMWZV23BERV5PW32E4SKHAVCNFSM6AAAAABTLWX2CCVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTANZYGA4TKNI>.
> You are receiving this because you are subscribed to this thread.
>
—
Reply to this email directly, view it on GitHub
<#477 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJHWOSTTL3BQHFHYLSGI3QD2E5WR3AVCNFSM6AAAAABTLWX2CCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZTGE2DEMZUGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Marcelo Ferrarotti
"No me da miedo una IA que pase el test de Turing, me da más miedo que una
IA lo desapruebe a propósito" <https://yip.su/16yWn7>
|
It seems to be building on ubuntu 24.04 on GitHub Actions. Could you give a try on a local VM to see if you can build on Ubuntu 24.04?
Simson
… On Dec 11, 2024, at 5:44 AM, Marce Ferra ***@***.***> wrote:
From Linux Mint 22?
https://linuxmint.com/
Is based on Ubuntu 24.04
El mar, 10 dic 2024 a la(s) 7:56 p.m., Simson L. Garfinkel (
***@***.***) escribió:
> Neat. Which version of Linux is this?
> Please give me a URL.
>
>
> > On Dec 10, 2024, at 12:48 PM, Marce Ferra ***@***.***> wrote:
> >
> >
> > 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?
> >
> > —
> > Reply to this email directly, view it on GitHub <
> #477>, or unsubscribe <
> https://github.com/notifications/unsubscribe-auth/AAMFHLHMHMWZV23BERV5PW32E4SKHAVCNFSM6AAAAABTLWX2CCVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTANZYGA4TKNI>.
>
> > You are receiving this because you are subscribed to this thread.
> >
>
> —
> Reply to this email directly, view it on GitHub
> <#477 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJHWOSTTL3BQHFHYLSGI3QD2E5WR3AVCNFSM6AAAAABTLWX2CCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZTGE2DEMZUGA>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
Marcelo Ferrarotti
"No me da miedo una IA que pase el test de Turing, me da más miedo que una
IA lo desapruebe a propósito" <https://yip.su/16yWn7>
—
Reply to this email directly, view it on GitHub <#477 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAMFHLARN6HNUSHYGMXXJLT2FAJRDAVCNFSM6AAAAABTLWX2CCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZVGQ4TINJUHA>.
You are receiving this because you commented.
|
Exact same error, tried in a fresh VM from Oracle with Ubuntu 22.04 |
Neat! |
So let's see what happens with this: |
Hi @TenoTrash. Github won't show you the full output of the run, so I have it pasted below. There are clearly some warnings regarding RE2. However, it is working here but not for you. Any idea why? Can you fork this repo and run the github action yourself?
|
apt install libre2-dev |
Perfection, was able to install in Linux Mint 22 |
morning all, Currently facing the same error as above, i've installed libre2-dev as advised and still erroring. 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);
| ^~~~~~~ libre2-dev:
Installed: 20200101+dfsg-1build1
Candidate: 20200101+dfsg-1build1
Version table:
*** 20200101+dfsg-1build1 500
500 http://gb.archive.ubuntu.com/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal Any advice would be greatly appreciated. |
Hi. Try creating a clean vm and running the vm configuration script in the etc directory. Post here the actual os you are using and the full config log. |
Also look at the GitHub action, which is building and running on Ubuntu. |
Hello there, I have done the following:
And have the following error:
I wasn´t able to found a reliable solution, any hint?
The text was updated successfully, but these errors were encountered: