[英]I am trying to build a program on linux
So I am trying to build this https://github.com/maxmind/geoip-api-c I have git cloned it and I followed the instructions but on the frist step it says to run ./configure, I can not find configure though. 所以我正在尝试构建这个https://github.com/maxmind/geoip-api-c我有git克隆它并且我按照说明操作但是在第一步说它运行./configure,我找不到配置虽然。 I have tried the configure.am but i get this error. 我已经尝试过configure.am但是我收到了这个错误。
root@------:/usr/share/nginx/www/Geo/geoip-api-c# ./configure.ac
./configure.ac: line 1: syntax error near unexpected token `('
./configure.ac: line 1: `dnl AM_CONFIG_HEADER(config.h)'
What am I missing? 我错过了什么?
One last question, what are the different make files extension/formats for? 最后一个问题,有哪些不同的make文件扩展名/格式? like .VC .in .am 比如.VC .in .am
EDIT: 编辑:
I ran that file and just got this error back: 我运行该文件,然后才收到此错误:
root@------:/usr/share/nginx/www/Geo/geoip-api-c# ./bootstrap
rm: cannot remove `ltmain.sh': No such file or directory
./bootstrap: 5: ./bootstrap: autoreconf: not found
root@------:/usr/share/nginx/www/Geo/geoip-api-c# ^C
root@------:/usr/share/nginx/www/Geo/geoip-api-c#
The section "Installation" in the README.md
explains how to build the software. README.md
中的“安装”部分介绍了如何构建软件。 You are missing this important step: 您错过了这一重要步骤:
If you are using a GitHub checkout, please run the
bootstrap
script first to set up the build environment. 如果您使用的是GitHub结帐,请首先运行bootstrap
脚本以设置构建环境。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.