-
Notifications
You must be signed in to change notification settings - Fork 721
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
Compile finds PCRE but also doesn't find it ? #86
Comments
Thanks for the report! Looks like there is an issue with hscollider CMake file:
Will changing CORRECT_PCRE_VERSION to PCRE_CHECKED fix your issue?
|
Hi @xiangwang1 I tried your suggested fix but it didn't fix the issue. It still shows the previous output:
I may have found a workaround and that is to copy the PCRE-8.41 source folder to the root of the hyperscan folder so that the folder hierarchy looks like this: This resulted in:
And i was then able to build hscollider. I must point out that i also reverted your suggested fix. |
Yes, it works by placing PCRE under Hyperscan top directory. Could you try adding Line 56 in 7dfaca6
|
Hi, Using your previous 2 edits and without the pcre source, it still fails to build hscollder:
|
Sorry, please ignore my first comment and just change according to my second comment about adding |
Progress !!
However, a new error appears now:
Running cmake --help-policy CMP0046 shows the following:
CMake 2.8.12 and lower silently ignored non-existent dependencies The OLD behavior for this policy is to silently ignore non-existent This policy was introduced in CMake version 3.0. I guess this error is because im currently using cmake 3.10.3 |
Yes, this is a warning for newer version of CMake but it wouldn't affect the compile results. You can suppress it by deleting this redundant line at: hyperscan/tools/hscollider/CMakeLists.txt Line 69 in 7dfaca6
We'll have a commit to fix these issues in our next release. |
Hi, Indeed it does compile fine now. Just wanted to say thank you for helping me fix this problem :) I will close this issue now |
Hi, [ 96%] Building CXX object tools/hscollider/CMakeFiles/hscollider.dir/GroundTruth.cpp.o |
Hi, What PCRE version and package have you installed? Could you show your full cmake output? |
Fixes github issue intel#86
New release 5.4.6
Hi,
I'm currently trying to compile Hyperscan 4.70 on Slackware64-14.2 and i'm noticing this strange contradiction:
This seems contradictory to me and is preventing me from building the hs-collider module.
GCC Version 5.5.0
G++ Version 5.5.0
Please let me know if you need any other information .
The text was updated successfully, but these errors were encountered: