Nokia N900 >> Easy Debian

解決"mcu8051ide: invalid character ] ... CLI_next_arg ..."問題


問題如下:

invalid character "]"
in expression "... $::CLI_OPTION($key)])]
    "
    (parsing expression "
      [file isdirectory ...")
    invoked from within
"if {
      [file isdirectory $::CLI_OPTION($key)]  ||
      ![file exists $::CLI_OPTION($key)]  ||
      (!$::MICROSOFT_WINDOWS && ![file readable $::CLI_OPTION(..."
    (procedure "CLI_next_arg" line 17)
    invoked from within
"CLI_next_arg $i {--compile} {compile}"
    invoked from within
"if {$argc} {
  # iterate over all given arguments
  for {set i 0} {$i < $argc} {incr i} {
    set arg [lindex $argv $i]

    # decide what to do with each o..."
    (file "/usr/share/mcu8051ide/lib/cli.tcl" line 206)
    invoked from within
"source "${::LIB_DIRNAME}/cli.tcl""
    (file "/usr/share/mcu8051ide/lib/main.tcl" line 95)

解法如下:

$ cd 
$ wget https://sourceforge.net/projects/mcu8051ide/files/mcu8051ide/1.4.9/mcu8051ide-1.4.9.tar.gz/download
$ tar xvf download
$ cd mcu8051ide-1.4.9
$ cmake .
$ make
$ sudo make install

P.S. 重新Reboot後即可


返回上一頁