ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Argh...trying to install Rigs Of Rods, not going well :-(
The PKGBUILD in the AUR doesn't work, so I downloaded the source. I then needed to download, build, and install ogre from source (since it too has a non-working PKGBUILD).
Ogre is installed, into /usr/local/. But cmake isn't picking it up, I get
Code:
[tw296@treno ror-trunk]$ cmake .
-- checking for module 'OGRE'
-- package 'OGRE' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:259 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:311 (_pkg_check_modules_internal)
CMakeDependenciesConfig.txt:123 (PKG_CHECK_MODULES)
CMakeLists.txt:10 (include)
-- Not enabled: MYGUI
-- Not enabled: OPENAL
-- Not enabled: LUA
-- Not enabled: SOCKETW
-- Not enabled: MOFILEREADER
-- Not enabled: PAGED
-- Not enabled: CAELUM
-- Not enabled: ANGELSCRIPT
-- Not enabled: HYDRAX
-- Not enabled: CRASHRPT
-- checking for module 'OGRE'
-- package 'OGRE' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:259 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:311 (_pkg_check_modules_internal)
source/configurator/CMakeLists.txt:29 (PKG_CHECK_MODULES)
-- Configuring /home/tw296/aur/rigsofrods/ror-trunk/bin/ ...
-- Copying file plugins.cfg
-- Copying file rorconfig.sh
-- Copying file RoR.sh
-- Configuring incomplete, errors occurred!
I added the /usr/local/bin myself, but evidently it wasn't enough. I'd rather keep anything I build myself (ie, not from the AUR) separate from my 'main' system, which is what /usr/local is meant for I believe.
The PKGBUILD is no good because there is a file, languages.zip, that's no longer on the website it was on. (The software version is also not current). I believe someone is working on updating it.
EDIT: putting what you mentioned, /usr/local/lib/pkgconfig, into PKG_CONFIG_PATH fixed the orginal error. Still to build the whole thing though.
Alright, now the stable version errors out of make with
Code:
[ 87%] Building CXX object main/CMakeFiles/RoR.dir/source/CacheSystem.cpp.o
In file included from /home/tw296/software/rigsofrods-source-0.36.2/build/main/source/CacheSystem.cpp:24:0:
/home/tw296/software/rigsofrods-source-0.36.2/build/main/source/ImprovedConfigFile.h: In constructor ‘Ogre::ImprovedConfigFile::ImprovedConfigFile()’:
/home/tw296/software/rigsofrods-source-0.36.2/build/main/source/ImprovedConfigFile.h:34:26: error: cannot call constructor ‘Ogre::ImprovedConfigFile::ConfigFile’ directly
/home/tw296/software/rigsofrods-source-0.36.2/build/main/source/ImprovedConfigFile.h:34:26: error: for a function-style cast, remove the redundant ‘::ConfigFile’
In file included from /home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI_ISubWidgetText.h:13:0,
from /home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI_Widget.h:15,
from /home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI_Gui.h:18,
from /home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI.h:10,
from /home/tw296/software/rigsofrods-source-0.36.2/build/main/source/gui_loader.h:24,
from /home/tw296/software/rigsofrods-source-0.36.2/build/main/source/CacheSystem.cpp:27:
/home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI_Colour.h: In member function ‘bool MyGUI::Colour::operator==(const MyGUI::Colour&) const’:
/home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI_Colour.h:65:28: warning: comparing floating point with == or != is unsafe
/home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI_Colour.h:65:53: warning: comparing floating point with == or != is unsafe
/home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI_Colour.h:65:79: warning: comparing floating point with == or != is unsafe
/home/tw296/software/rigsofrods-source-0.36.2/build/dependencies/mygui/include/MyGUI_Colour.h:65:105: warning: comparing floating point with == or != is unsafe
In file included from /home/tw296/software/rigsofrods-source-0.36.2/build/main/source/Beam.h:57:0,
from /home/tw296/software/rigsofrods-source-0.36.2/build/main/source/SoundScriptManager.h:24,
from /home/tw296/software/rigsofrods-source-0.36.2/build/main/source/CacheSystem.cpp:29:
/home/tw296/software/rigsofrods-source-0.36.2/build/main/source/approxmath.h: In function ‘float sign(float)’:
/home/tw296/software/rigsofrods-source-0.36.2/build/main/source/approxmath.h:116:18: warning: comparing floating point with == or != is unsafe
make[2]: *** [main/CMakeFiles/RoR.dir/source/CacheSystem.cpp.o] Error 1
make[1]: *** [main/CMakeFiles/RoR.dir/all] Error 2
make: *** [all] Error 2
[tw296@treno build]$
While the source checked out from subversion complained about being unable to find a file listed in cmakelists.
Linux maintainer (sortof) for RoR, I have not used ARCH linux before, does pkg-config not work there? I thin kOgre has a FindOgre.cmake module out there, I'll try to switch to that to be more cross platform compatible.
Also what version of MyGui are you using, RoR needs version 3.1 I believe, which has not been released yet, so it's available from CVS. have a look at this page for information on all the dependencies, it's kind of ugly so patients is appreciated.
It required me to cd into the dependencies build directory, then to run make, I then copyed the files it asked for into /usr/lib and voila. I think the problem is just versions. The OGRE and Mygui libs it needs are clearly 'too' ip to date for arch. I can't quite remember what I did but I do remember having to run ./RoR.sh for it to start as ./rorconfig.sh crashes when you save the changes (but they save anyway). I hope this helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.