LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 04-30-2010, 02:31 PM   #1
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
Rigs Of Rods: "package 'OGRE' not found"


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!
How can I make cmake see ogre?
 
Old 04-30-2010, 02:39 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,031

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
is /usr/local in your system path??
most of the time it is not used
i use --prefix=/usr for almost all programs i build

with /usr/local
the oger.pc file is in /usr/local/lib/pkgconfig and not in /usr/lib/pkgconfig
Quote:
The PKGBUILD in the AUR doesn't work,
what is the error ?
why is it not working ?
 
Old 04-30-2010, 03:19 PM   #3
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
[tw296@treno joyutils]$ echo $PATH
/usr/local/bin:/opt/wine/bin:/bin:/usr/bin:/sbin:/usr/sbin:/opt/grass/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin

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.

Last edited by cantab; 04-30-2010 at 03:22 PM.
 
Old 05-01-2010, 09:41 AM   #4
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Original Poster
Rep: Reputation: 102Reputation: 102
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.
 
Old 05-13-2010, 10:58 PM   #5
Aperion
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
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.
 
Old 06-10-2010, 07:26 AM   #6
bananaoomarang
Member
 
Registered: Aug 2009
Posts: 35

Rep: Reputation: 15
HI

This is a field I have had success in. I used the ubuntu installer found here:

http://forum.rigsofrods.com/index.php?topic=28110.0


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.

bananaoomarang
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"No package 'fuse' found" when trying to ./configure gphoto2 on debian etch zerynthia Linux - Newbie 2 10-18-2008 06:15 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: DreamWorks Animation "Shrek the Third": Linux Feeds an Ogre LXer Syndicated Linux News 0 06-06-2007 08:16 AM
LXer: DreamWorks Animation"Shrek the Third": Linux Feeds an Ogre LXer Syndicated Linux News 0 06-06-2007 07:31 AM
RH keeps on giving me "Package Not Found" when installing PHP-related RPMs guest Linux - Newbie 4 03-24-2005 11:07 PM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration