简体   繁体   English

我正在尝试在linux上构建一个程序

[英]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.

相关问题 我正在使用 amazon Linux 2 & 每当我尝试使用 yum 命令时,我都会收到错误消息 - I am working on amazon Linux 2 & whenever I am trying to use yum command I am getting error 我正在尝试使该run.bat在Linux CentOS上运行 - I am trying to get this run.bat to work on Linux CentOS 我正在尝试从 PHP 创建 Linux 用户 - I am trying to create Linux users from PHP 我正在尝试将文本的特定部分分配给 Linux 中的 a.txt 文件 - I am trying to assign a certain portion of text to a .txt file in Linux 我正在尝试为xbuild构建一个msbuild项目,但它一直失败 - I am trying to build a msbuild project for xbuild but it keeps failing 我正在尝试使用 gtk+ 2.0 构建 emacs 24.5 - I am trying to build emacs 24.5 with gtk+ 2.0 在Linux上使用GLFW3构建程序 - Build a program with GLFW3 on Linux 我正在尝试使用 std::signal 干净地结束我的多线程程序,我做错了什么? - I'm trying to used std::signal to cleanly end my multithreaded program, what am I doing wrong? 我正在尝试将整个目录从一台Linux计算机复制到另一台Linux计算机,包括权限 - I am trying to copy entire directories from one Linux machine to another, including permissions 我正在尝试在 linux 中使用 grep 命令。 grep 相似词组 - I am trying to use the grep command in linux. how to grep similar words and phrases
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM