Linux Dependencies (for Arch Linux) after SDL Integration
Moderator: Oberlus
Linux Dependencies (for Arch Linux) after SDL Integration
Could someone please have a look at the depencencies I use for Arch Linux?
depends=('boost' 'python2' 'sdl2' 'freealut' 'graphviz' 'libvorbis' 'libogg' 'glew')
makedepends=('subversion' 'cmake')
boost, python, sdl and glew I am quite sure about, subversion and cmake for compilation, too.
libvorbis is for sound as there are a number of ogg files?
What about freealut and graphviz?
Since cmake configures OIS, is it needed? Do I need to add it as dependency? Anything else I'm missing?
depends=('boost' 'python2' 'sdl2' 'freealut' 'graphviz' 'libvorbis' 'libogg' 'glew')
makedepends=('subversion' 'cmake')
boost, python, sdl and glew I am quite sure about, subversion and cmake for compilation, too.
libvorbis is for sound as there are a number of ogg files?
What about freealut and graphviz?
Since cmake configures OIS, is it needed? Do I need to add it as dependency? Anything else I'm missing?
Attached patches are released under GPL 2.0 or later.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
Not used. (And hasn't been for over 4 years...)Chriss wrote:graphviz?
Used on Win32, but I don't know about Arch.freealut
Not since the merge of the SDL/SDK branch in the last week, which removed all Ogre and Ogre-related stuff.Since cmake configures OIS, is it needed?
There are various other dependencies on Win32 like zlib, jpeg, libpng, freetype, possibly freeimage. I'm not sure whether or where these need to be listed as dependencies in Arch stuff, or whether Gigi and FreeOrion have distinct dependencies in that system.
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
I'll try without freealut, graphviz, ois and ogre installed. What about these:
Code: Select all
freeorion-svn E: Dependency libjpeg-turbo detected and not included (libraries ['usr/lib/libjpeg.so.8'] needed in files ['usr/lib/freeorion/libGiGi.so'])
freeorion-svn E: Dependency openal detected and not included (libraries ['usr/lib/libopenal.so.1'] needed in files ['usr/bin/freeorion'])
freeorion-svn E: Dependency libtiff detected and not included (libraries ['usr/lib/libtiff.so.5'] needed in files ['usr/lib/freeorion/libGiGi.so'])
Attached patches are released under GPL 2.0 or later.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
You probably need jpeg and openal... at least they are used on Windows. I don't think any tiffs are used in FreeOrion, but if Gigi won't build without it, then I suppose it's needed.
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
I can confirm that I need tiff, openal and jpeg. Not OIS for runtime.
But the cmake build still seems to need OIS:
Really needed, or not cleaned up yet?
But the cmake build still seems to need OIS:
Code: Select all
[...]
-- Configuring freeorion
-- Found GLEW: /usr/include
-- Found OpenAL: /usr/lib64/libopenal.so
-- Found Ogg: /usr/lib64/libogg.so
-- Found Vorbis: /usr/lib64/libvorbis.so
-- Found Bullet: /usr/lib64/libBulletDynamics.so
-- Looking for OIS...
-- OIS_PREFIX_PATH changed.
-- checking for module 'OIS'
-- package 'OIS' not found
-- Could not locate OIS
CMake Error at GG/cmake/FindPkgMacros.cmake:117 (message):
Required library OIS not found! Install the library (including dev
packages) and try again. If the library is already installed, set the
missing variables manually in cmake.
Call Stack (most recent call first):
GG/cmake/FindOIS.cmake:82 (findpkg_finish)
client/human/CMakeLists.txt:23 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/chris/freeorion-workspace/freeorion-code/build/CMakeFiles/CMakeOutput.log".
See also "/home/chris/freeorion-workspace/freeorion-code/build/CMakeFiles/CMakeError.log".
- Attachments
-
- CMakeError.log
- (3.66 KiB) Downloaded 176 times
-
- CMakeOutput.log
- (50.78 KiB) Downloaded 168 times
Attached patches are released under GPL 2.0 or later.
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
I'm pretty sure it's just not yet cleaned up. I did a first pass at updating the cmake files so that FO would compile without Ogre, but I didn't try to do a truly thorough cleanup. In the past it's been Marcel/Adrian doing our cmake upkeep, but it seems he's been too busy lately.Chriss wrote:OIS...Really needed, or not cleaned up yet?
For Ogre, I just changed the relevant option to default to Off instead of On, and I think that might have been all it took (along with removing references to a few source files that were no longer present due to other changes in the sdl branch). There is probably a similar option for OIS. Are you game to take a crack at cleaning up the cmake files?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
I gave it a try, and I think it's still referenced in the human client. See patch and call stack. But that's really just search and guess - I have no clue whatsoever about cmake.
That removes the issue with OIS, but it then fails because it can't find PythonUniverseGenerator.cpp:
I think that's new and unrelated?
That removes the issue with OIS, but it then fails because it can't find PythonUniverseGenerator.cpp:
Code: Select all
-- Configuring freeorion
-- Configuring done
CMake Error at CMakeLists.txt:261 (add_library):
Cannot find source file:
universe/PythonUniverseGenerator.h
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
CMake Error at server/CMakeLists.txt:54 (add_executable):
Cannot find source file:
../universe/PythonUniverseGenerator.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
-- Generating done
-- Build files have been written to: /home/chris/freeorion-workspace/freeorion-code/build
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
Attached patches are released under GPL 2.0 or later.
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
Yes, looks like Vezzra moved that stuff in 7985. See patch for new path. Seems to work with those 2 patches.
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
Attached patches are released under GPL 2.0 or later.
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
Thx.
Attached patches are released under GPL 2.0 or later.
Re: Linux Dependencies (for Arch Linux) after SDL Integratio
cmake needs another patch to remove bullet references. Compiles and runs for me (3 turns quickstart...)
Patch see Compiling test version for Linux step by step
Patch see Compiling test version for Linux step by step
Attached patches are released under GPL 2.0 or later.