Closed DavidTagt closed 2 years ago
Just pushed an update for the linux instructions. You need CMake, and you may need to edit a couple of header files on the system. Also, if you just want to use it, not compile it to change the code, there's a PKGBUILD on the install folder of the repo that should work for arch and derivates, though you will still need to edit the headers I talk about in the compilation instructions.
I've followed the instructions, edited the headers and decided to try the PKGBUILD. And it worked! I ran into a small problem, however. The script failed with error message:
==> Starting pkgver()...
/home/davidt/Applications/rpfm-2.5.3/install/arch/PKGBUILD: line 16: cd: rpfm-git: No such file or directory
==> ERROR: A failure occurred in pkgver().
Aborting...
Changing pkgname=('rpfm-git')
to pkgname=('rpfm')
in the PKGBUILD script solved the problem and allowed the installation to continue.
The problem was that the script created a folder called "rpfm" and then tried to go into a folder called "rpfm-git". I don't know if this was only something on my end or not, I'm pretty new at Linux. This was my first time installing PKGBUILD, actually :P.
Now I'm just wondering.... How do I launch the program?
Not sure what PKGBUILD you used, but the one from master already had the fixes for that at the time you wrote that message. In fact, line 16 doesn't have a cd anymore: for launching the program, it's installed on /usr/share/bin, so you can access it from anywhere calling ./rpfm_ui or /rpfm_cli. Also, a shortcut should've been added to the system shortcuts, so kde and gnome should be able to find it automatically and show it as a normal program.
I used the package under "releases", not master. In the PKGBUILD from the release, package version is listed as "pkgver=2.5.3.2244.g41f0756d"
and in master it is "pkgver=2.5.3.2239.gc89dfb8d"
.
This is the pkgbuild and variables. Note that pkgname
is wrong since I changed that.
But yeah, my bad for using old code. Something went wrong during the install anyway, since I get this error
Is it safe to just delete the files on the disk and start over? KDE doesn't recognize it as a program either. Uninstalling via pacman doesn't work, same error. There's nothing in /usr/share/bin, so I guess I messed up bad.
yeah, that file is outdated. And my bad, it's "rpfm_ui", not "./rpfm_ui". The second one only works if you're in the folder with the program. If you managed to get it installed, pacman should be able to uninstall it. If not, try getting the PKGBUILD from master. That one should build and install properly. Also, you need the .desktop file from the install/arch folder in the same folder as the PKGBUILD, so it can install the shortcut.
Hello again! I went on vacation soon after I wrote my last message and just forgot about this until now. I'm sorry for that. Anyway, I tried your suggestion, and it installed without a problem! I still have the same error however:
if I could display an emoji crying I would. What am i doing wrong? Please and thank you.
Rust binaries are not build on the root folder of the project, but on target/[debug/release], depending what profile you built. Check on those folders and see if it's there.
Yup, built the release profile, and lo! There they were, 4 executables in all!
Thank you so much for your help, absolutely solid work dude.
Hello, I don't know if this is the correct place to ask this, but I'm having trouble installing/building this on Linux (Manjaro).
This is the error message I get:
I've tried with
cargo build
andcargo --release
but I get the same error. I've made sure I've installed all dependencies listed in https://frodo45127.github.io/rpfm/chapter_comp.htmlI see another person has had a similar issue before, https://github.com/Frodo45127/rpfm/issues/129 but only closed the issue without clarifying if or how they solved the issue.
Thankful for any help.