Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Error trying to install in scilab 6.0.1 #2

Open
doquen opened this issue Aug 31, 2018 · 2 comments
Open

Error trying to install in scilab 6.0.1 #2

doquen opened this issue Aug 31, 2018 · 2 comments

Comments

@doquen
Copy link

doquen commented Aug 31, 2018

Hi, when trying to install on scilab 6.0.1 in Ubuntu 18.04 Machine, i get this error when running builder.sce:

genlib: Processing file: Scilab2CDeps.sci
at line   106 of function genlib             
at line    42 of function tbx_build_macros   ( /home/pablo/scilab-6.0.1/share/scilab/modules/modules_manager/macros/tbx_build_macros.sci line 56 )
in builtin                exec               ( /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/macros/findDeps/buildmacros.sce line -1 )
at line    10 of executed file /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/macros/buildmacros.sce
at line    13 of function tbx_builder        ( /home/pablo/scilab-6.0.1/share/scilab/modules/modules_manager/macros/tbx_builder.sci line 26 )
at line    36 of function tbx_builder_macros ( /home/pablo/scilab-6.0.1/share/scilab/modules/modules_manager/macros/tbx_builder_macros.sci line 51 )
at line    29 of executed file /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/builder.sce

scilab2ccode.deps.zranda=["drands","DoubleComplex","zreals",]
                                                            ^^
Error: syntax error, unexpected ]
genlib: Error in file /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/macros/findDeps/Scilab2CDeps.sci

I removed the "," after zreals, and then get the following error:

at line    24 of function genlib             
at line    42 of function tbx_build_macros   ( /home/pablo/scilab-6.0.1/share/scilab/modules/modules_manager/macros/tbx_build_macros.sci line 56 )
at line    -1 of executed file /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/macros/Hardware/RasberryPi/pwm/buildmacros.sce
at line    23 of executed file /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/macros/Hardware/RasberryPi/buildmacros.sce
at line    10 of executed file /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/macros/buildmacros.sce
at line    13 of function tbx_builder        ( /home/pablo/scilab-6.0.1/share/scilab/modules/modules_manager/macros/tbx_builder.sci line 26 )
at line    36 of function tbx_builder_macros ( /home/pablo/scilab-6.0.1/share/scilab/modules/modules_manager/macros/tbx_builder_macros.sci line 51 )
at line    29 of executed file /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/builder.sce

    else:
        ^^
Error: syntax error, unexpected :
genlib: Error in file /home/pablo/scilab-6.0.1/share/scilab/contrib/scilab2c/macros/Hardware/RasberryPi/pwm/RPI_pwmMode.sci.

removed the ":" after the else, and get this:

WARNING: tbx_build_localization: tbx_build_localization(name, path) is obsolete. Please use tbx_build_localization(path) instead.
Generating localization
-- Building for "en_US" --
Building help...

which is only a warning.. it's ok what i did?

@doquen
Copy link
Author

doquen commented Aug 31, 2018

Also, scilab_gui was buggie... i replaced

"value", [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ],

with:

"value",[1]

in line 180 of sci2c_gui.sce and apparently it's fixed.

@SwizzleMaster
Copy link

SwizzleMaster commented Dec 7, 2021

I also can't get this installed in release 6.x.
Anyone working on updating this module to get it working? It would be nice to be able to use it without manually compiling. I'm just moving to scilab from the octave world so I'm not up to speed on how to do certain things.

Where's the documentation on how to build and install an atoms module from source ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants