Asterisk 用相对路径编译星号
我使用星号11.2.1,我想用--prefix编译它 此命令引发异常Asterisk 用相对路径编译星号,asterisk,Asterisk,我使用星号11.2.1,我想用--prefix编译它 此命令引发异常 configure: error: expected an absolute directory name for --prefix: .. 我想使用相对路径。有人能帮我吗?你可以这样写 mindia@localhost asterisk-11.2.1]$ ./configure --prefix=/relative/path 不是 您从configure configure: error: expected an a
configure: error: expected an absolute directory name for --prefix: ..
我想使用相对路径。有人能帮我吗?你可以这样写
mindia@localhost asterisk-11.2.1]$ ./configure --prefix=/relative/path
不是
您从
configure
configure: error: expected an absolute directory name for --prefix: ..
所以不允许使用相对路径,需要提供绝对路径。我认为,这种行为的原因在于,由于
前缀
目录路径,相对路径没有意义。如果您仍然必须使用相对路径,那么只需使用一些bash
或您的操作系统实用程序将相对路径转换为绝对路径,并将该路径替换为您的configure命令。您能解释一下为什么需要前缀作为相对路径吗?它应该类似于/usr或/home/username
--prefix=../something
configure: error: expected an absolute directory name for --prefix: ..