2012-01-29 1 views
0

Обычно я начинаю с ./configure, но нет файла конфигурации. Это содержимое каталога:Как создать из источника, когда нет файла конфигурации

autogen.sh  configure.ac GNUmakefile.am Makefile.shared Source WebKitLibraries wscript 
CMakeLists.txt Examples  Makefile  ManualTests  Tools WebKit.pro 

Как построить это? Должен ли я запускать autogen.sh? Я пробовал это, и это было результатом:

autoreconf: Entering directory `.' 
autoreconf: configure.ac: not using Gettext 
autoreconf: running: aclocal -I Source/autotools 
autoreconf: configure.ac: tracing 
autoreconf: running: libtoolize --install --copy 
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `Source/autotools'. 
libtoolize: copying file `Source/autotools/config.guess' 
libtoolize: copying file `Source/autotools/config.sub' 
libtoolize: copying file `Source/autotools/install-sh' 
libtoolize: copying file `Source/autotools/ltmain.sh' 
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `Source/autotools'. 
libtoolize: copying file `Source/autotools/libtool.m4' 
libtoolize: copying file `Source/autotools/ltoptions.m4' 
libtoolize: copying file `Source/autotools/ltsugar.m4' 
libtoolize: copying file `Source/autotools/ltversion.m4' 
libtoolize: copying file `Source/autotools/lt~obsolete.m4' 
libtoolize: Consider adding `-I Source/autotools' to ACLOCAL_AMFLAGS in Makefile.am. 
autoreconf: running: /usr/bin/autoconf --include=Source/autotools 
autoreconf: running: /usr/bin/autoheader --include=Source/autotools 
autoreconf: running: automake --add-missing --copy --no-force 
configure.ac:81: installing `Source/autotools/compile' 
configure.ac:41: installing `Source/autotools/missing' 
Tools/GNUmakefile.am:285: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL 
GNUmakefile.am:235: `Tools/GNUmakefile.am' included from here 
GNUmakefile.am: installing `Source/autotools/depcomp' 
autoreconf: automake failed with exit status: 1 

Что случилось?

ответ

1

Похоже, этот проект использует cmake; попробуйте:

mkdir build 
cd build 
cmake ..