I need to compile freeciv with prefix set to "." (directory set as current working directory, when the programs run).
I type:
Code: Select all
./autogen.sh
Code: Select all
configure: error: expected an absolute directory name for --prefix: .
configure failed
Code: Select all
+ checking for autoconf >= 2.61 ... found 2.69, ok.
+ checking for autoheader >= 2.61 ... found 2.69, ok.
+ checking for automake >= 1.10 ... found 1.15, ok.
+ checking for aclocal >= 1.10 ... found 1.15, ok.
+ checking for libtoolize >= 1.5.2 ... found 2.4.6, ok.
+ checking for python ... found 2.7.12, ok.
+ checking for xgettext >= 0.14 ... found 0.19.8.1, ok.
+ checking for msgfmt >= 0.14 ... found 0.19.8.1, ok.
+ running aclocal ...
+ running autoheader ...
+ running libtoolize ...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'bootstrap'.
libtoolize: copying file 'bootstrap/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
+ running aclocal for libtool installed files...
+ running autoconf ...
+ running automake ...
configure.ac:16: installing 'bootstrap/compile'
configure.ac:78: installing 'bootstrap/missing'
ai/Makefile.am: installing 'bootstrap/depcomp'
+ removing config.cache ...
+ running configure ...
using: --prefix=.
configure: error: expected an absolute directory name for --prefix: .
configure failed
Any help?