Ask Your Question
0

Problem installing FreeOrion on fedora?

asked 2016-10-15 02:00:25 -0500

TWTOoth gravatar image

updated 2016-10-15 06:13:57 -0500

hhlp gravatar image

hi i was tring to install FreeOrion on fedora afte reading the article on the subject but the problem here is not FreeOrion installation spicificlly its that a problem accurs every time i try to install aprogramm or a pachage using the terminal. Now

First i ran

sudo dnf install python-devel cmake libvorbis-devel boost-devel zlib-static freetype-devel mesa-libGL-devel mesa-libGLU-devel SDL2-devel glew-devel openal-soft-devel
sudo dnf groupinstall "C Development Tools and Libraries"

it ran smoothly

then i ran

git clone https://github.com/freeorion/freeorion.git

&

mkdir freeorion_build
cd freeorion_build/

every thing went will

but when i ran

#$ cmake ../freeorion
-- Build type CMAKE_BUILD_TYPE set to Release
-- Building tests BUILD_TESTS set to OFF
-- Not building Tests
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
  (Required is at least version "2.7")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPythonLibs.cmake:265 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:113 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/TwTOoth/freeorion_build/CMakeFiles/CMakeOutput.log".
See also "/home/TwTOoth/freeorion_build/CMakeFiles/CMakeError.log".
#$ make -j4
make: *** No targets specified and no makefile found.  Stop.
#$ sudo make install
make: *** No rule to make target 'install'.  Stop.

what is the problem here ?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2016-10-18 21:37:43 -0500

cprofitt gravatar image

sudo dnf install python-devel

I corrected the article and this should resolve your issue.

edit flag offensive delete link more

Comments

it did thx

TWTOoth gravatar imageTWTOoth ( 2016-10-19 06:51:10 -0500 )edit
1

answered 2016-10-15 04:00:28 -0500

fcomida gravatar image

Read CMake output and you will see cmake is complaining about missing python-libs.

edit flag offensive delete link more

Comments

1

I know :) How do I solve it? simply trying to install the missing packages by names given isn't working

TWTOoth gravatar imageTWTOoth ( 2016-10-15 05:55:35 -0500 )edit
0

answered 2016-10-15 06:13:25 -0500

fcomida gravatar image

-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.12", minimum required is "2.7") -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.12", minimum required is "2.7")

f24, /usr/lib64/libpython2.7.so is provided by python-devel-2.7.12-6.fc24.x86_64

Please post "/home/TwTOoth/freeorion_build/CMakeFiles/CMakeOutput.log" and "/home/TwTOoth/freeorion_build/CMakeFiles/CMakeError.log".

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-10-15 02:00:25 -0500

Seen: 291 times

Last updated: Oct 18 '16