supplied as the argument to --with-cross-build. Use an absolute path
时间: 2023-12-06 13:45:35 浏览: 87
This error message is related to the installation of a package or library in a Unix-like system. It means that a relative path was used as an argument to the `--with-cross-build` option instead of an absolute path.
To fix this error, you need to provide an absolute path as an argument to the `--with-cross-build` option. An absolute path is a path that starts from the root directory (`/`), while a relative path is a path that starts from the current directory (`.`).
To get the absolute path of a directory, you can use the `pwd` command, which stands for "print working directory". For example, if you want to use the directory `/home/user/my-project` as the argument to `--with-cross-build`, you can run the following command:
```
./configure --with-cross-build=/home/user/my-project
```
Alternatively, you can use the `readlink` command to get the absolute path of a directory. For example:
```
./configure --with-cross-build=$(readlink -f /path/to/directory)
```
Replace `/path/to/directory` with the actual path to the directory you want to use.
阅读全文