war2edit icon indicating copy to clipboard operation
war2edit copied to clipboard

Build on Xenial

Open Lewiscowles1986 opened this issue 9 years ago • 2 comments

looks like this doesn't build on xenial. First problems with detecting enlightenment libs (bypassed by commenting out check, libs are installed), then a cmake error compiling the theme

cmake --build .
[  5%] Generating default.edj
edje_cc: Error. /src/war2edit/data/themes/default.edc:34 unhandled keyword war2edit/main
edje_cc: Error. PARSE STACK:
collections.group.war2edit/main
edje_cc: Error. PARAMS:
data/themes/CMakeFiles/themes.dir/build.make:60: recipe for target 'data/themes/default.edj' failed
make[2]: *** [data/themes/default.edj] Error 255
CMakeFiles/Makefile2:263: recipe for target 'data/themes/CMakeFiles/themes.dir/all' failed
make[1]: *** [data/themes/CMakeFiles/themes.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

...
-- Performing Test C_COMPILER_Wcast-align - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'eina>=1.18.0'
--   
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
  CMakeLists.txt:72 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/src/war2edit/build/CMakeFiles/CMakeOutput.log".

Lewiscowles1986 avatar Jan 13 '17 22:01 Lewiscowles1986

got it to build, had to build EFL from scratch. Would you accept a PR to add to README.md?

Lewiscowles1986 avatar Jan 14 '17 10:01 Lewiscowles1986

Hi,

according to https://launchpad.net/ubuntu/+source/efl, the efl package for ubuntu is kind of old (1.8.y vs 1.18.y). However, this one: https://launchpad.net/~ross-kallisti/+archive/ubuntu/efl+e is up-to-date. If the package is well-formed, you should be able to build without compiling the EFL themselves.

If you think the README is not clear enough (it is so short I'm sure it is not ;)), feel free to open a PR :).

jeanguyomarch avatar Jan 14 '17 10:01 jeanguyomarch