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.
Post Reply
cazfi
Elite
Posts: 3077
Joined: Tue Jan 29, 2013 6:54 pm

Building Qt-client on Manjaro

Post by cazfi »

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 http://www.freeciv.org/download.html 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
Post Reply