Re: [Freeciv-Dev] Error in running from custom build dir

2013-01-20 Thread Πρεκατές Αλέξανδρος
> 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

2013-01-18 Thread Marko Lindqvist
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