You are not logged in.

#1 2020-04-02 21:28:26

xp710
Member
Registered: 2020-04-02
Posts: 5

Tome2 Compilation error messagesl; need help changing CMakeLists.txt

I have compiled Tome2 successfully on other distros such as Ubuntu and Mint, but when following compilation instructions on Arch, I get this error printed to my screen on the first step of compilation:

CMake Error in src/CMakeLists.txt:
Imported target "Boost::system" includes non-existent path
      "/include"
    in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
    *The path was deleted, renamed, or moved to another location.

    *An install or uninstall procedure did not complete successfully.

    *The installation package was faulty and references files it does not
     provide.

--   Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.

I've done research as to what the issue is, and it seems to be that the CMakeLists file is designed so that the file structure of Arch is incompatible with it and needs to have the parts referencing the Boost libraries fixed. I don't know how to even start fixing it, everything I tried after researching didn't work, so I would really appreciate any and all help. Thx :-)

Offline

#2 2020-04-02 23:09:55

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Tome2 Compilation error messagesl; need help changing CMakeLists.txt

Does the AUR package not work? https://aur.archlinux.org/packages/tome2/

Offline

#3 2020-04-02 23:31:30

xp710
Member
Registered: 2020-04-02
Posts: 5

Re: Tome2 Compilation error messagesl; need help changing CMakeLists.txt

2ManyDogs wrote:

Does the AUR package not work? https://aur.archlinux.org/packages/tome2/

It does not. I just tried installing the AUR package. Upon starting, it immediately crashes and says that the apex/score.raw file is missing and that the lib directory is either missing or broken. This seems similar to errors that happen when you run tome2 from the wrong directory after installing it locally, but I don't know where packages are downloaded to. I'll look into that rn.

Offline

#4 2020-04-03 11:29:56

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,914

Re: Tome2 Compilation error messagesl; need help changing CMakeLists.txt

$ tome2
tome2: Cannot create the '/usr/lib/tome2/apex/scores.raw' file!
tome2: The 'lib' directory is probably missing or broken.
tome2: Perhaps the archive was not extracted correctly.
tome2: See the 'README' file for more information.
tome2: Fatal Error.
$ 

That file is present in the package, but its location is normally  readonly for normal users.

The package() function does change permisssions to give members of group users more rights to those folders.

Is your user a member of that group ?
if unsure, check the output of id .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2020-04-03 18:41:44

xp710
Member
Registered: 2020-04-02
Posts: 5

Re: Tome2 Compilation error messagesl; need help changing CMakeLists.txt

Lone_Wolf wrote:
$ tome2
tome2: Cannot create the '/usr/lib/tome2/apex/scores.raw' file!
tome2: The 'lib' directory is probably missing or broken.
tome2: Perhaps the archive was not extracted correctly.
tome2: See the 'README' file for more information.
tome2: Fatal Error.
$ 

That file is present in the package, but its location is normally  readonly for normal users.

The package() function does change permisssions to give members of group users more rights to those folders.

Is your user a member of that group ?
if unsure, check the output of id .


This solved it! My user was not part of that group, so that's why it wasn't working. Running tome2 as sudo solved the problem. I don't know how to change permissions to access those files, but i think I can figure it out. Thanks! :-)

Offline

Board footer

Powered by FluxBB