-
-
Notifications
You must be signed in to change notification settings - Fork 339
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
Cutter can't find rizin on Haiku #3877
Comments
This started out for me as I went to update to cutter's version to 2.2.1. |
Adding output log ... |
Wondering ... isn't there an option to force the search with pkg-config (as the pkgconfig files are already present)? |
Hey @Begasus , sorry for the late reply but how did you install Rizin? Is there a package for Rizin on Haiku? Could you paste the content of /boot/system/lib/cmake/rz_core/rz_coreConfig.cmake please? Also, could you tell me the exact path the rz_core library is in Haiku? |
Quite busy atm on haikuports side, so sorry for not getting back sooner, I'll try to add some files for the build process and mentioned one. rz_core in installed in /boot/system/lib (default on 64bit system) and /boot/system/lib/x86 (defaults for 32bit hybrid). Build log: Contets of rz_coreConfig.cmake:
For the record, this is our recipe to build rizin for Haiku. |
Can you also share the rz_userconf.h file of rizin? I'm not 100% sure yet, but I think you should set the
|
prefix is set in the recipe (as you could have seen in the link in my previous comment), just in case pasting it here:
$prefix actually points to /boot/system Content of rz_userconf.h:
|
I've looked at the recipe and I see where it is set, however...
This is not what the rizin build logs say.
You can see it here as well that RZ_PREFIX/aka prefix is not /boot/system. Is it a symlink maybe? Anyway, I think it would be better to set it straight to /boot/system if possible. |
Packages are created as archived ones, once they are installed all the contect is available in /boot/system, as all our packages are and can be found by other packages requiring them. Installing directly to /boot/system is not possible as the system directories are read-only. |
Right, in those cases I think the common approach is to use the prefix that you would like to have ( It would be something like this:
|
Need to still investigate this, doing other ports in between, will get back to you, but so far this has never been done in our ports. |
Any news here? |
At least no progress, tried a few things on my end with no luck. (has been a while though) |
OK, tried using the mentioned way setting prefix to /boot/system etc. , still getting an error not finding rz_core
From rz_userconf.h:
From rz_coreConfig.cmake:
|
@Begasus could you paste a bit more from the |
From a default build:
When using
EDIT: got the wrong file for the second line :) |
@Begasus is there a fast way for me to test a Haiku machine? |
@ret2libc Quickest way I guess would be to setup a VM:
If you need assistance, I'm mostly online and can be contacted at IRC (OFTC #haiku), or over matrix (@begasushaiku:matrix.org) EDIT, for liblzma you need xz_utils_devel (you can search for a library/cmd etc like: |
Work environment
rizin -v
full output, not truncated (mandatory)Expected behavior
Cutter finds and uses rizin libraries/headers
Actual behavior
Cutter fails to find the rizin installation when running cmake
CMakeOutput.log.txt
Steps to reproduce the behavior
Download cutter source archive
Run cmake in Terminal:
I've got a "fix" by re-importing the previous method to find rizin, but it's not a good one (although Cutter builds and runs fine on Haiku).
The text was updated successfully, but these errors were encountered: