./configure --prefix=/usr/local/swipl --with-openssl --with-readline bash: ./configure: 没有那个文件或目录
时间: 2023-12-23 07:02:13 浏览: 49
这个错误提示表明当前目录下没有名为“configure”的文件或目录。请先确认您是否已经下载了需要编译安装的软件,并进入到该软件的源代码目录下。
如果已经进入了正确的目录,但仍然无法找到“configure”文件,可能是您需要先运行“autoreconf”或“autoconf”等命令来生成该文件。具体命令可能因软件而异,请查看软件的安装说明或官方文档以获取更多信息。
相关问题
./configure --with-apr=/usr/local/apr执行不成功
您好!我理解您的问题是在执行 `./configure --with-apr=/usr/local/apr` 命令时遇到了问题。可能是因为您的系统中没有安装 APR 或者 APR 安装路径不正确。
您可以尝试以下步骤来解决问题:
1. 确认您的系统中已经安装了 APR,并且安装路径为 `/usr/local/apr`。如果没有安装,可以使用以下命令进行安装:
```
sudo apt-get install libapr1-dev
```
2. 确认 APR 安装路径是否正确。您可以使用以下命令查看 APR 安装路径:
```
dpkg -L libapr1-dev
```
如果路径不是 `/usr/local/apr`,则需要使用正确的路径进行配置。
3. 如果以上步骤都没有解决问题,您可以尝试使用 `--with-apr-util` 选项指定 APR-util 的路径,例如:
```
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
```
希望这些步骤可以帮助您解决问题。如果您还有其他问题,请随时提问。
./configure --prefix=/usr/local/swipl --with-openssl --with-readline
As an AI language model, I do not have the capability to execute commands on a computer. However, I can explain what this command does.
This command is used to configure the installation of the SWI-Prolog software with certain options. Here's what each option does:
- `--prefix=/usr/local/swipl`: This specifies the installation directory where the SWI-Prolog software will be installed. In this case, it will be installed in the `/usr/local/swipl` directory.
- `--with-openssl`: This option enables support for OpenSSL, a software library for secure communication over the internet.
- `--with-readline`: This option enables support for the GNU Readline library, which provides advanced line editing and history capabilities for command-line interfaces.