Re: [Freeciv-Dev] Error in running from custom build dir
> On 19 January 2013 00:43, Πρεκατές Αλέξανδρος 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
Re: [Freeciv-Dev] Error in running from custom build dir
On 19 January 2013 00:43, Πρεκατές Αλέξανδρος 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? > cd ~/freeciv/freecivbuild/bin > $ ./freeciv-gtk2 > 1: Invalid NULL default string for option default_tileset_name. > 1: in option_str_set() [options.c::752]: assertion '((void *)0) != str' > failed. > 1: Please report this message at http://gna.org/projects/freeciv/ > 0: No usable default tileset found, aborting! 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. > $ ./freeciv-server > This is the server for Freeciv version 2.4.99-dev > You can learn a lot about Freeciv at http://www.freeciv.org/ > 2: Loading rulesets. > 0: "/usr/local/share/freeciv/default/techs.ruleset": ruleset datafile appears This indicates that you have *not* configured with custom install location (--prefix -configure option) but default one (/usr/local) is in use. > 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
[Freeciv-Dev] Error in running from custom build dir
Compiling and installing TRUNK in my build dir i cant run the freeciv: cd ~/freeciv/freecivbuild/bin $ ./freeciv-gtk2 1: Invalid NULL default string for option default_tileset_name. 1: in option_str_set() [options.c::752]: assertion '((void *)0) != str' failed. 1: Please report this message at http://gna.org/projects/freeciv/ 0: No usable default tileset found, aborting! $ ./freeciv-server This is the server for Freeciv version 2.4.99-dev You can learn a lot about Freeciv at http://www.freeciv.org/ 2: Loading rulesets. 0: "/usr/local/share/freeciv/default/techs.ruleset": ruleset datafile appears incompatible: 0: datafile options: +Freeciv-2.3-ruleset 0: supported options: +Freeciv-ruleset-Devel-2012.Feb.28 0: Capability problem I've also found that related bug report: http://gna.org/bugs/?20114 What is the problem? Can it be fixed or must i install with the default dirs? chomwitt ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev