如何构建axis2c 非官方源码

How to build axis2c Unofficial source code

我必须使用 axis2C. But since axis2C is kind of not maintained properly as per this question, I have to use axis2C unofficial source code. But I could not see configure file to build the sources. How should I build this. I checked all the documentation both in here and in the github repo 在 C 中创建 SOAP 服务,但没有成功。都指向axis2C官方文档。我应该将源代码从非官方代码复制到官方代码并尝试使用官方文件夹中的配置脚本吗?

这个项目大概使用了GNU build system。在本系统中,./configure是一个可移植的shell脚本,由手写输入文件自动生成,主文件是configure.ac.

因此,源的分发包将包含 ./configure,因此任何平台上的任何人都可以使用 sh 兼容的 shell 和 make 实用程序来构建软件。但由于它是一个 生成的 文件,您不会在源代码存储库中找到它,例如在 github.

要直接从源代码控制使用 GNU 构建系统构建包,您必须自己使用 GNU 自动工具 来生成 ./configure。为此,请安装以下软件包:

  • autoconf -- 从 ./configure.ac.
  • 生成 ./configure
  • automake -- 从 Makefile.am 生成可移植的 makefile 模板 Makefile.in(这些模板然后由 ./configure 脚本填充值以编写最终的 Makefiles)
  • libtool -- 在不同平台上构建动态共享对象的工具

然后,源包根目录中给出的命令 autoreconf -i 应该会为您生成 ./configure 脚本。

请注意,有些软件包提供脚本 ./autogen.sh(或类似名称)。如果存在,您应该自己调用它而不是 运行ning autoreconf -i,它可能包含额外的必要准备步骤。 ./autogen.sh 通常会直接 运行 为您生成 ./configure