我尝试在Octave中安装optim
包。
>> pkg install -forge optim
C:/PROGRA~1/GNU: line 1: [Paths]: command not found
C:/PROGRA~1/GNU: line 2: Octave/Octave-6.2.0/: No such file or directory
C:/PROGRA~1/GNU: line 3: OctaveOctave-6.2.0binqt.conf: No such file or directory
C:/PROGRA~1/GNU: line 4: OctaveOctave-6.2.0binqt.conf: No such file or directory
C:/PROGRA~1/GNU: line 5: OctaveOctave-6.2.0binqt.conf: No such file or directory
C:/PROGRA~1/GNU: line 6: OctaveOctave-6.2.0binqt.conf: No such file or directory
C:/PROGRA~1/GNU: line 7: OctaveOctave-6.2.0binqt.conf: No such file or directory
make: *** [Makefile:68: error-helpers.o] Error 127
make: Entering directory '/tmp/oct-jYpbYN/optim-1.6.1/src'
CXXFLAGS=" -Wall -Wno-deprecated-declarations" C:/PROGRA~1/GNU Octave/Octave-6.2.0/mingw64/bin/mkoctfile-6.2.0.exe -c error-helpers.cc
make: Leaving directory '/tmp/oct-jYpbYN/optim-1.6.1/src'
error: pkg: error running 'make' for the optim package.
error: called from
configure_make at line 110 column 9
install at line 196 column 7
pkg at line 568 column 9
>>
这个问题是关于什么的?
我在哪里可以找到文件binqt.conf
?
这是一个已知的bug。点击这里阅读更多内容:bug #59412: [octave forge] (ocl)编译包错误时在路径
中使用空格在bug报告讨论中,Jinchuan也提出了一个解决方案:
自从6.0.90的alpha版本以来,当我试图在win7和10 64位系统上安装伪造包时,我遇到了以下问题…这个问题可以通过将默认安装位置(例如
C:Program FilesGNU OctaveOctave-6.0.92
)更改为没有任何空白空间的位置来解决(我尝试了C:Octave-6.0.92
并且在安装forge包时没有问题)。