Building Qt-client on Manjaro

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
Posts: 1875
Joined: Tue Jan 29, 2013 6:54 pm

Building Qt-client on Manjaro

Postby cazfi » Fri Mar 02, 2018 8:40 pm

I promised in IRC that I would test building freeciv Qt-client on Manjaro linux. Here is how I got it working. I build in directory "freeciv" under my home directory, i.e., $HOME/freeciv/. The resulting binaries are installed to $HOME/freeciv/install-2.5.10/bin/ ( -> Qt-client is $HOME/freeciv/install-2.5.10/bin/freeciv-qt )

Code: Select all

> sudo pacman -Su gcc
> sudo pacman -Su make
> cd $HOME
> mkdir freeciv
# At this point, download freeciv-2.5.10.tar.bz2 from to $HOME/freeciv
> tar xjf freeciv-2.5.10.tar.bz2
> mkdir build-2.5.10
> cd build-2.5.10
> ../freeciv-2.5.10/configure --prefix=$HOME/freeciv/install-2.5.10 --enable-debug --enable-client=qt --enable-fcmp=qt
> make
> make install