2012-01-29 3 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 .. 
관련 문제