Scilab,后门错误,八度冲突 [英] Scilab, backdoor error, octave conflict

查看:228
本文介绍了Scilab,后门错误,八度冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从scilab网站安装了scilab.6.0.0和后门程序(无法从Application> Module maneger> atom> Technical找到它).我将后门文件移到家中,并从scilab命令行中安装了它

I installed scilab.6.0.0 and backdoor fromscilab website (which I could not find it from Application>Module maneger>atom>Technical). I moved the backdoor file my home and from scilab command line I installed it

-->atomsInstall('/home/user/BackDoor_0.2_5.5.bin.x86_64.linux.tar.gz')

即使它成功安装了后门程序,当我重新启动scilab时,我也收到了后门错误消息

Even though, it installed backdoor successfully, when I restart the scilab I got this error message with backdoor

Start Toolbox BackDoor
    Load macros
atomsLoad: An error occurred while loading 'BackDoor-0.2':
    lib: Old binary lib detected. Please recompile it for Scilab 6.

据我了解,我需要更新库,但是我不知道如何? sb会明确告诉我(因为我是scilab的新手用户)如何解决该错误吗? 在,我尝试连接octave和scilab,当我尝试在octave上运行演示脚本时,我也收到此错误

As I understand I need to update the library, but I don't know how? Would sb tell me explicitly (because I am a newbie user of scilab) how can I get over the error? at the and I try to connect octave and scilab and when I try to run a demo script at octave I get also this error

>> sci_sim_example
Scilab connection failed

仅供参考:我已经安装了sci_cosim软件包(下载该软件包后,我将写入八度提示>>pkg install sci_cosim_0.1.3.tar.gz),并在运行脚本之前将其加载.

FYI: I already installed sci_cosim package (after I downloaded the package, I write to octave prompt >>pkg install sci_cosim_0.1.3.tar.gz), and I load it before running the script.

如何重新编译 lib:检测到旧的二进制库

How can I recompile the lib: Old binary lib detected

非常感谢您的提前帮助

推荐答案

这是对我有用的.

  • 下载Scilab 5.5.2(/opt .
  • Download Scilab 5.5.2 (link for Linux 64bit version)
  • Extract the .tar.gz file in your preferred system location to install it there. Generally, my preferred location to extract / install self-contained packages is inside /opt .

您可以使用文件浏览器的图形功能或在命令行上提取.tar.gz文件.如果/optroot拥有(通常是),则在提取后可能需要更改所有权.例如.您的安装可能看起来像这样:

You can extract the .tar.gz file using your filebrowser's graphical facilities, or on the command line; if /opt is owned by root (which it usually is) you may need to change ownership after extraction. E.g. your installation might look something like this:

cd /opt
sudo wget http://www.scilab.org/download/5.5.2/scilab-5.5.2.bin.linux-x86_64.tar.gz
sudo tar -xvzf ./scilab-5.5.2.bin.linux-x86_64.tar.gz
sudo rm scilab-5.5.2.bin.linux-x86_64.tar.gz
sudo chown $USER ./scilab-5.5.2 -R

  • 通过键入

  • Launch scilab by typing

    /opt/scilab-5.5.2/bin/scilab &
    

    在您的终端中.

    退出Scilab,然后从终端再次启动它.如果您看到一条消息:

    Exit Scilab, and launch it again from the terminal. If you see a message:

    atomsLoad:加载"BackDoor-0.2"时发生错误: 文件"/opt/scilab-5.5.2/share/scilab/contrib/BackDoor/0.2/etc/backdoor.start"不存在. 然后在终端中键入以下命令来重命名受影响的文件:

    atomsLoad: An error occurred while loading 'BackDoor-0.2': File "/opt/scilab-5.5.2/share/scilab/contrib/BackDoor/0.2/etc/backdoor.start" does not exist. then type the following commands in your terminal to rename the affected files:

    cd /opt/scilab-5.5.2/share/scilab/contrib/BackDoor/0.2/etc/
    mv BackDoor.start backdoor.start
    mv BackDoor.quit  backdoor.quit
    

    再次重新启动SciLab.希望这次能够正常运行,并且SciLab会通知您BackDoor正在侦听某个端口上的连接.

    Restart SciLab again. Hopefully this time it will work and SciLab will inform you that BackDoor is listening for connections at a certain port.

    PS.还要注意,从八度角度来看,执行pkg install时不再接受-auto选项.每次要使用此软件包时,都需要手动加载socketssci_cosim软件包.

    PS. Also note that from the octave side of things, the -auto option is no longer accepted when you perform a pkg install. You will need to load the sockets and sci_cosim packages manually each time you want to use this.

    这篇关于Scilab,后门错误,八度冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆