On 19 January 2013 00:43, Πρεκατές Αλέξανδρος apreka...@gmail.com wrote:
Compiling and installing TRUNK in my build dir i cant run the freeciv:
Just to clarify: Install and builddirs are two different things. Have
you installed ('make install') this version of freeciv, or are you
simply running from builddir?
Thanks for the clarification. I did think that build dirs contain ALL the
related files of the installation. Although i still have some trouble
understanding the build process.
IF you are running from builddir, you should be using wrapper scripts
./fcgui ./fcser that set environment suitable for running from
builddir, and not freeciv-xxx directly.
./fcgui run my freeciv from build dir worked ok.
This indicates that you have *not* configured with custom install
location (--prefix -configure option) but default one (/usr/local) is
in use.
In svn trunk case i always use autogen.sh? never configure?
incompatible:
0: datafile options: +Freeciv-2.3-ruleset
Further, you have freeciv-2.3 installed to default location, and
freeciv (when not run via ./fcser ./fcgui) finds its data files,
incompatible with current version.
To install custom location, there's 3 distinct directory hierarchies:
srcdir, builddir, and installdir.
cd $HOME
mkdir freecivbuild
cd freecivbuild
../freecivsrc/autogen.sh --prefix=$HOME/freecivinstall
make install
cd ..
freecivinstall/bin/freeciv-gtk2
- ML
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev