Package Details: fife 0.4.2-5

Git Clone URL: https://aur.archlinux.org/fife.git (read-only, click to copy)
Package Base: fife
Description: Flexible Isometric Free Engine is a cross platform game creation framework
Upstream URL: http://fifengine.net/
Licenses: LGPL
Submitter: ChrisOelmueller
Maintainer: Lucki
Last Packager: Lucki
Votes: 11
Popularity: 0.000000
First Submitted: 2015-08-14 07:52 (UTC)
Last Updated: 2022-04-01 10:17 (UTC)

Latest Comments

lightdot commented on 2022-04-01 02:54 (UTC)

Can't build ATM, due to this error (fixed, but ureleased): https://github.com/fifengine/fifengine/issues/1080

Perhaps a patch could be carried until the upstream makes a release again?

Lucki commented on 2021-04-05 13:53 (UTC)

I don't get such error in a clean build environment. The repository doesn't even have a configure script in it.

Please try with a clean directory (makepkg -Cc…). Also try to change the build folder "$_githubname-$pkgver/build" in line 38, 47 and 51 to something like "$_githubname-$pkgver/aur-build" and try building again. That's a change I haven't pushed yet.

simona commented on 2021-04-05 09:30 (UTC)

./configure: line 26302: syntax error near unexpected token newline'<br> ./configure: line 26302: '''
==> ERRORE: Si è verificato un errore in build().

Lukas1818 commented on 2021-02-08 20:26 (UTC)

Because the getchildren function is deprecated this package must been patched to work with Pytton3.9.

You can do this by adding the following sed commands to the prepare funktion of the PKGBUILB file or using this commit as patch.

sed -i 's/moduleTree\.getchildren():/moduleTree:/g'                   "./engine/python/fife/extensions/serializers/simplexml.py"

sed -i 's/self\._root_element\.getchildren():/self\._root_element:/g' "./engine/python/fife/extensions/serializers/simplexml.py"

sed -i 's/c\.getchildren():/c:/g'                                     "./engine/python/fife/extensions/serializers/simplexml.py"

Otherwise you get this error AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' if you execute unknown-horizons.

MartinX3 commented on 2020-08-15 17:43 (UTC)

I can confirm it The package should add libstdc++5 as an dependency or it won't be buildable.

AlphaJack commented on 2020-07-07 14:14 (UTC)

At first I got

[...]
==> Making package: fife 0.4.2-2 (Tue Jul  7 16:09:06 2020)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> libstdc++5
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
[...]

After installing libstdc++5 I got:

[...]
- Configuring done
CMake Error in CMakeLists.txt:
  Imported target "Boost::system" includes non-existent path
    "/include"
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
  * The path was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and references files it does not
  provide.

CMake Error in CMakeLists.txt:
  Imported target "Boost::system" includes non-existent path
    "/include"
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
  * The path was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and references files it does not
  provide.

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
    Aborting...
[...]

commented on 2019-05-11 09:24 (UTC)

The compilation fail due to deprecated/unsupported swig flags

Modify the PKGBUILD file please to include this sed or create a patch

build() {
  cd "$_githubname-$pkgver"
  [[ -d "build" ]] && rm -r "build"
  mkdir -p "build" && cd "build"
  cmake \
    -DCMAKE_INSTALL_PREFIX:PATH=/usr \
    ..
  sed -r -i 's/(-noproxydel|-fastinit|-fastunpack|-fastquery|-modernargs|-nobuildnone|-modern|-nosafecstrings)\b//g' CMakeFiles/fife*_swig_compilation.dir/build.make
  make
  # If compilation seems to stall at 99% for ages, do not abort!
  # While not perfectly convenient, that is to be expected from
  # SWIG. Eventually, you'll reach the holy triple-digit land.
}

Lucki commented on 2019-01-18 14:13 (UTC) (edited on 2019-01-18 14:14 (UTC) by Lucki)

An updated PKGBUILD can be found here.

I would happily adopt or co-maintain this package.

stubb commented on 2018-12-08 11:33 (UTC)

have the same problems like pmav99. fife-git works fine. Maybe a problem with glee which was replaced by glew in fife-git.

pmav99 commented on 2018-11-28 21:12 (UTC) (edited on 2018-11-28 21:13 (UTC) by pmav99)

Compilation error: https://gist.github.com/pmav99/79b615fc5b6fd157161004b3a7c00524

dixi_minga commented on 2017-02-10 19:52 (UTC)

I needed fifechan 1.4 to build

dixi_minga commented on 2017-02-10 19:34 (UTC)

Compilation error: Scanning dependencies of target _fifechan [ 99%] Building CXX object CMakeFiles/_fifechan.dir/fifechanPYTHON_wrap.cxx.o /tmp/yaourt-tmp-dixi/aur-fife/src/fifengine-0.4.1/build/fifechanPYTHON_wrap.cxx: In function 'PyObject* _wrap_MouseListener_mouseWheelMovedRight(PyObject*, PyObject*)': /tmp/yaourt-tmp-dixi/aur-fife/src/fifengine-0.4.1/build/fifechanPYTHON_wrap.cxx:5114:35: error: 'class fcn::MouseListener' has no member named 'mouseWheelMovedRight'; did you mean 'mouseWheelMovedUp'? (arg1)->fcn::MouseListener::mouseWheelMovedRight(*arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/yaourt-tmp-dixi/aur-fife/src/fifengine-0.4.1/build/fifechanPYTHON_wrap.cxx:5116:15: error: 'class fcn::MouseListener' has no member named 'mouseWheelMovedRight'; did you mean 'mouseWheelMovedUp'? (arg1)->mouseWheelMovedRight(*arg2); ^~~~~~~~~~~~~~~~~~~~ /tmp/yaourt-tmp-dixi/aur-fife/src/fifengine-0.4.1/build/fifechanPYTHON_wrap.cxx: In function 'PyObject* _wrap_MouseListener_mouseWheelMovedLeft(PyObject*, PyObject*)': /tmp/yaourt-tmp-dixi/aur-fife/src/fifengine-0.4.1/build/fifechanPYTHON_wrap.cxx:5159:35: error: 'class fcn::MouseListener' has no member named 'mouseWheelMovedLeft'; did you mean 'mouseWheelMovedUp'? (arg1)->fcn::MouseListener::mouseWheelMovedLeft(*arg2); ^~~~~~~~~~~~~~~~~~~ /tmp/yaourt-tmp-dixi/aur-fife/src/fifengine-0.4.1/build/fifechanPYTHON_wrap.cxx:5161:15: error: 'class fcn::MouseListener' has no member named 'mouseWheelMovedLeft'; did you mean 'mouseWheelMovedUp'? (arg1)->mouseWheelMovedLeft(*arg2); ^~~~~~~~~~~~~~~~~~~ make[2]: *** [CMakeFiles/_fifechan.dir/build.make:78: CMakeFiles/_fifechan.dir/fifechanPYTHON_wrap.cxx.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/_fifechan.dir/all] Error 2 make: *** [Makefile:128: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build fife.

ChrisOelmueller commented on 2017-02-10 18:09 (UTC) (edited on 2017-02-11 21:07 (UTC) by ChrisOelmueller)

[fife] v0.4.1-1: New patch release [fife] v0.4.1-2: Correct fifechan dependency

LinuxDonald commented on 2017-02-08 14:08 (UTC)

The lag problem is here since years? With fife 0.4.1 the lag is fixed.

LinuxDonald commented on 2017-02-07 22:39 (UTC)

New version 0.4.1 https://github.com/fifengine/fifengine/releases/tag/0.4.1

ChrisOelmueller commented on 2017-01-28 15:43 (UTC)

[fife] v0.4.0-2: Clean up some dependencies (LinuxDonald) Thanks! Hopefully that fixes your compilation.

dixi_minga commented on 2017-01-28 13:23 (UTC)

my system is uptodate and cmake was installed asdependency: pacman -Qi cmake Name : cmake Version : 3.7.2-1 but with the PKGBUILD of LinuxDonald with his changed dependencies: Works! Thanks

LinuxDonald commented on 2017-01-28 13:08 (UTC)

Fixed PKG file http://www.file-upload.net/download-12272430/PKGBUILD.html

dixi_minga commented on 2017-01-28 12:02 (UTC)

> Hm. Is `glibc` installed on your system? yes, it is pacman -Qi glibc Name : glibc Version : 2.24-2 Description : GNU C Library Architecture : x86_64

dixi_minga commented on 2017-01-28 10:26 (UTC)

I got an error: -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable exact version "2.7.13") -- Python install directory is '/usr/lib/python2.7/site-packages/fife'. CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: Boost_INCLUDE_DIR (ADVANCED) used as include directory in directory /tmp/fife/src/fifengine-0.4.0 used as include directory in directory /tmp/fife/src/fifengine-0.4.0 used as include directory in directory /tmp/fife/src/fifengine-0.4.0 used as include directory in directory /tmp/fife/src/fifengine-0.4.0 used as include directory in directory /tmp/fife/src/fifengine-0.4.0 used as include directory in directory /tmp/fife/src/fifengine-0.4.0 used as include directory in directory /tmp/fife/src/fifengine-0.4.0 used as include directory in directory /tmp/fife/src/fifengine-0.4.0 -- Configuring incomplete, errors occurred! See also "/tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeOutput.log". See also "/tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeError.log". /CMakeError.log". more /tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeError.log Determining if the pthread_create exist failed with the following output: Change Dir: /tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_346ab/fast" /usr/bin/make -f CMakeFiles/cmTC_346ab.dir/build.make CMakeFiles/cmTC_346ab.dir/build make[1]: Entering directory '/tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_346ab.dir/CheckSymbolExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -o CMakeFiles/cmTC_346 ab.dir/CheckSymbolExists.c.o -c /tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeTmp/CheckSymbolExi sts.c Linking C executable cmTC_346ab /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_346ab.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--a s-needed,-z,relro CMakeFiles/cmTC_346ab.dir/CheckSymbolExists.c.o -o cmTC_346ab -rdynamic CMakeFiles/cmTC_346ab.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x6): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status make[1]: *** [CMakeFiles/cmTC_346ab.dir/build.make:98: cmTC_346ab] Error 1 make[1]: Leaving directory '/tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeTmp' make: *** [Makefile:126: cmTC_346ab/fast] Error 2 File /tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <pthread.h> int main(int argc, char** argv) { (void)argv; #ifndef pthread_create return ((int*)(&pthread_create))[argc]; #else (void)argc; return 0; #endif } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_2363a/fast" /usr/bin/make -f CMakeFiles/cmTC_2363a.dir/build.make CMakeFiles/cmTC_2363a.dir/build make[1]: Entering directory '/tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_2363a.dir/CheckFunctionExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=p thread_create -o CMakeFiles/cmTC_2363a.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.7/Modules/C heckFunctionExists.c Linking C executable cmTC_2363a /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2363a.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pth read_create -Wl,-O1,--sort-common,--as-needed,-z,relro CMakeFiles/cmTC_2363a.dir/CheckFunctionExists.c .o -o cmTC_2363a -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status make[1]: *** [CMakeFiles/cmTC_2363a.dir/build.make:98: cmTC_2363a] Error 1 make[1]: Leaving directory '/tmp/fife/src/fifengine-0.4.0/build/CMakeFiles/CMakeTmp' make: *** [Makefile:126: cmTC_2363a/fast] Error 2

ChrisOelmueller commented on 2017-01-27 22:59 (UTC)

Updated to new release 0.4.0. The build process was changed from Scons to cmake. If weird stuff happens, please leave a comment here and I'll get back to you!