installing latest scilab (5.5.1) version on udoo

Discussion in 'Application & Utilities' started by pat, Jan 6, 2015.

  1. pat

    pat New Member

    Joined:
    Nov 10, 2014
    Messages:
    5
    Likes Received:
    0
    HI all,

    I've installed scilab on udoo using

    sudo apt-get install scilab

    which installs version 5.3.3.

    How can I upgrade scilab to the latest stable version 5.5.1 or alternatively reinstall latest version.

    Any help is very much welcome.

    Thanks.
     
  2. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
  3. pat

    pat New Member

    Joined:
    Nov 10, 2014
    Messages:
    5
    Likes Received:
    0
    HI there - thx for your reply.

    so I've tried to compile Scilab from the source file aswell as the prerequirements.
    To deal with the dependancies, after using sudo apt-get update I tried sudo apt-get build-dep scilab.

    So far so good , then installed gfortran, java jdk 1.8 (as described in Udoo FAQ).

    Then added the line deb-src http://ports.ubuntu.com/ precise main restricted universe multiverse
    in /etc/apt/sources.list

    sudo apt-get update again

    now ./configure wants to see jogl installed.

    Any ideas here - can't get it to work.

    as you can see I'm a complete novice in linux&udoo.

    Thanks.
     
  4. pat

    pat New Member

    Joined:
    Nov 10, 2014
    Messages:
    5
    Likes Received:
    0
    HI there,

    When I try to compile from scilab from source I get to the libjogl (dependancy) problem.
    Installing the binary and adding:
    deb http://ftp.de.debian.org/debian jessie main
    to /etc/apt/sources.list and run sudo apt-get update crashes the OS and I need to reinstall it.

    Is there no other way perhabs to update the lubuntu software center so that scilab 5.5.X not 5.5.3 lists as an option?

    Thanks for any help !
     
  5. pat

    pat New Member

    Joined:
    Nov 10, 2014
    Messages:
    5
    Likes Received:
    0
    hi,
    here's the error I get when trying to compile scilab on the UDOO from source:

    apt-get build-dep scilab
    for the dependancies gives not error.

    Trying ./configure it hangs on the following error:
    libjogl: LIbrary missing (cannot find symbol gLTextParameterf). Check if libjogl - C/Java (JNI) interface for JOGL2 - or libGL (OpenGl library) are installed and if the version is correct. Note you may have to update etc/librarypath.xml to provide path to JNI librarier.

    How can I install JOGL2 or libGL and update the librarypath.xml correctly?

    THANK YOU!
     
  6. pat

    pat New Member

    Joined:
    Nov 10, 2014
    Messages:
    5
    Likes Received:
    0
    I've tried the synaptic package manager before I find libjogl2-java and try to install it:

    error: could not apply changes . fix broken packages first.

    Edit->Fix broken packages and it reads:

    unable to correct problem you have held broken packages.
    unable to correct dependencies:Error , pkgProblemResolver: Resolve generated breaks, this may be cause by held packages.

    Then tried:

    apt-get install -f
    apt-get clean
    apt-get auto clean
    apt-get update
    apt-get upgrade
    apt-get dist-upgrade

    Reads: 0 upgraded, newly installed, remove and not upgraded

    Then:

    sudo apt-get install libjogl2-java
    error:
    Some packages could not be installed....
    The following packages have umnet dependencies:
    libjogl2-java: depends libjogl2-jni but is not installable
    E: unable to correct problems, you have held broken packages

    sudo aptitude install libjogl2-java
    -> same error
     

Share This Page