-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Failure at cutter_plugin build #7
Comments
I have continue to analyze this and I think I know the reason for my aforementioned problem. Apparently (and to me it makes sense) the issue is on the line 6 of the same file:
I was assuming that '/usr/' was at some point being added to the string or something but after setting some
and some others to get some insight into the problem I found that it was indeed searching in the wrong folder. I don't get why with my previous change it was 'supposedly' able to find the lib though. I am assuming that on your build systems you have the ./lib directory available or something, but in 'normal' systems it should not be the case. Or maybe I am just wrong and hacking this stuff more. |
if you do not install the plugin systemwide, then you need something like this cd rz_libyara
meson --buildtype=release --prefix="~/.local" build
ninja -C build install
cd cutter-plugin
mkdir build && cd build
cmake -G Ninja -DRIZIN_INSTALL_PLUGDIR="../build" -DCMAKE_INSTALL_PREFIX="~/.local" ..
ninja
ninja install |
Hi, I did install it system wide though, however, I am thinking that maybe the fact that I use Arch linux, which has a lightly different folder structure may be part of the problem. Not sure though., but it crossed my mind that maybe the build instructions are accurate for some ubuntu/debian derivative. Will try to check this out later and see if it builds correctly on those distros. |
i'm using arch linux and that way of building just works. |
Hi, I am a bit new at this so I might be wrong but when trying to build the cutter plugin an error is shown:
After some digging I found that the line 37 of the CMakeLists states:
I tried changing the above line to make it work for me:
After doing so, it worked. I am unsure of why I had to do this change, as I suppose it works for you with what was already set, but I couldn't get it to work. As I am not an expert at it, probably what I did was a hack or something. But I thought I should let you know in case it can become a problem at some point.
Regards.
The text was updated successfully, but these errors were encountered: