gpt4 book ai didi

linux - 没有配置文件时如何从源代码构建

转载 作者:太空宇宙 更新时间:2023-11-04 11:34:28 25 4
gpt4 key购买 nike

通常我从 ./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

发生了什么事?

最佳答案

这个项目好像用的是cmake;尝试:

 mkdir build
cd build
cmake ..

关于linux - 没有配置文件时如何从源代码构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9052105/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com