From daniel.neutzler at haw-hamburg.de Wed Feb 1 08:29:06 2017 From: daniel.neutzler at haw-hamburg.de (danielN) Date: Wed, 1 Feb 2017 00:29:06 -0700 (MST) Subject: [Scilab-Dev] Problem with advanced mode using scilab within Eclipse In-Reply-To: <1464877243.2462.35.camel@scilab-enterprises.com> References: <1463954776963-4034100.post@n3.nabble.com> <1464074206.3361.22.camel@scilab-enterprises.com> <1464184507513-4034120.post@n3.nabble.com> <1464877243.2462.35.camel@scilab-enterprises.com> Message-ID: <1485934146033-4035434.post@n3.nabble.com> Hi everybody, I have the same problem in Scilab 5.5.2 (Windows 10). In normal mode I can open and comunicate with Scilab. But I want to use graphics in the script I want to open from Java. If I use advanced Mode it crashes. I Use Eclipes. Your Tips doesnt work. What am I doing wrong ? Picture: And I get a PopUp from Java: If Scilab is used froim Java, make sure that your IDE is not adding extra dependencies wich could not be found at runtime Thanks, Daniel -- View this message in context: http://mailinglists.scilab.org/Problem-with-advanced-mode-using-scilab-within-Eclipse-tp4034100p4035434.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From martin.marmsoler at gmail.com Wed Feb 1 11:06:28 2017 From: martin.marmsoler at gmail.com (Martin Marmsoler) Date: Wed, 1 Feb 2017 11:06:28 +0100 Subject: [Scilab-Dev] Appimage or Flatpak for Scilab In-Reply-To: <1485883705.2059.9.camel@scilab-enterprises.com> References: <1485872494776-4035432.post@n3.nabble.com> <1485883705.2059.9.camel@scilab-enterprises.com> Message-ID: ok I understand what you mean. Thank you for you explanation!. Martin On Jan 31, 2017 18:28, "Cl?ment David" wrote: > Hello Martin, > > Le mardi 31 janvier 2017 ? 07:21 -0700, Murmele a ?crit : > > Hello, > > > > I would like to ask if there already exist a flatpak or appimage package > for > > scilab or if there is a plan to build one? > > Currently there is no plan to do so as the scilab binary is working well > on Linux. > > I though about making a flatpack based on org.freedesktop.Platform some > months ago but the hard task > is to rebuild Scilab dependencies on the restricted env. to be consistent. > AFAIK there is also no > flatpak runtime for OpenJDK/JRE. > > -- > Cl?ment > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.strelkov at gmail.com Wed Feb 8 21:11:58 2017 From: n.strelkov at gmail.com (nikolay) Date: Wed, 8 Feb 2017 13:11:58 -0700 (MST) Subject: [Scilab-Dev] 6.0 branched from master In-Reply-To: <1485537182.2387.13.camel@scilab-enterprises.com> References: <1485537182.2387.13.camel@scilab-enterprises.com> Message-ID: Dear Scilab developers! It is great that Scilab 6 will become available soon! But please do not forget to fix bugs in it. For example I found these under Scilab 6.0.0.1486471292 amd64 on Ubuntu 12.04.5 LTS amd64: Scilab: 14742 - printf formatted output changed for %nan values in Scilab 6.0.0-beta2 14682 - Scilab closes immediately after opening in fedora 24 14266 - Reintroduce stacksize in Scilab 6 13601 - Scilab should have a function for calculating argument (angle) for a complex number Graphics: 13602 - Scilab should have functions for axes limits manipulation such as xlim, ylim, zlim uicontrols: 14709 - LaTeX is not supported in uicontrols - checkbox, radiobutton, listbox, createBorder 14711 - I n uicontrol with new axes colorbar uses figure space, but not displayed Xcos: 13770 - Set Context window should react to + shortcut for closing with applying changes 14570 - In demo files, example System-Observer.zcos doesn't work 14636 - xcos model with modelica electrical blocks (created in 5.5.2) crashes Scilab 6.0.0-beta2 14637 - xcos models with simple blocks (created in 5.5.2) produces error in Scilab 6.0.0-beta2 14644 - Some of Xcos examples produce errors in Xcos 6.0.0-beta2 14645 - Lorenz.zcos demo does not stop 14646 - Some of Xcos demos produce errors in Xcos 6.0.0-beta2 For now the most buggy component is Xcos. I'm ready to help by testing. -- *With best regards,Ph.D., assistant professor at MPEI ,IEEE member,maintainer of Mathieu functions toolbox for Scilab ,Nikolay Strelkov.* 2017-01-27 20:13 GMT+03:00 Cl?ment David-2 [via Scilab / Xcos - Mailing Lists Archives] : > Dear developers, advanced users, > > The 6.0 branch has been created and will be used for Scilab 6.0.0 . If you > want to have a bug > correction applied for the release you should now `git push > HEAD:refs/for/6.0` or edit your > .git/config file to do so. > > Do not hesitate to ping us if you already have some bugfix commit in > review on master and want them > to be applied on the 6.0 branch. > > Thanks for your involvement, > > -- > Cl?ment & the Scilab team > _______________________________________________ > dev mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/dev > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://mailinglists.scilab.org/6-0-branched-from-master-tp4035418.html > To start a new topic under Scilab developers - Mailing Lists Archives, > email ml-node+s994242n2574944h49 at n3.nabble.com > To unsubscribe from Scilab developers - Mailing Lists Archives, click here > > . > NAML > > -- View this message in context: http://mailinglists.scilab.org/6-0-branched-from-master-tp4035418p4035455.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lise.Lebouc at cnes.fr Fri Feb 10 16:37:29 2017 From: Lise.Lebouc at cnes.fr (Lebouc Lise (CS SI)) Date: Fri, 10 Feb 2017 15:37:29 +0000 Subject: [Scilab-Dev] undefined reference to `dgeqpf_' et `zgeqpf_' during compilation of scilab on CentOs7 Message-ID: <75C9376C9FC78D488E1C9F55FBFEBC803A01B253@TW-MBX-P01.cnesnet.ad.cnes.fr> Hi, I want to install Scilab 5.5.2 from source on Cent OS 7 with the minimal option and I obtain an error during the compilation step of Scilab. My option for configure are : configure --prefix=/install_directory --without-gui --without-javasci --without-jdk --disable-build-help --disable-build-localization --without-xcos --without-modelica --without-fftw --without-umfpack --without-matio --without-tk --without-openmp --without-arpack-ng --with-lapack-library=/install_directory/lapack/3.6.1/lib --with-blas-library=/install_directory/lapack/3.6.1/lib I used lapack 3.6.1. Configure worked well but I got this message during the compilation : g++ -DHAVE_CONFIG_H -I. -I./modules/core/includes -I./modules/io/includes/ -I./modules/console/includes/ -I./modules/localization/includes/ -DNDEBUG -fno-stack-protector -g -O2 -MT modules/startup/src/c/scilab_bin-mainscic.o -MD -MP -MF modules/startup/src/c/.deps/scilab_bin-mainscic.Tpo -c -o modules/startup/src/c/scilab_bin-mainscic.o `test -f 'modules/startup/src/c/mainscic.cpp' || echo './'`modules/startup/src/c/mainscic.cpp mv -f modules/startup/src/c/.deps/scilab_bin-mainscic.Tpo modules/startup/src/c/.deps/scilab_bin-mainscic.Po /bin/sh ./libtool --tag=CXX --mode=link g++ -DNDEBUG -fno-stack-protector -g -O2 -static-libstdc++ -static-libgcc -Wl,--no-as-needed -o scilab-bin modules/startup/src/c/scilab_bin-mainscic.o ./modules/libscilab.la ./modules/libscilab-cli.la -lxml2 -lz -lm -ldl -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath ./modules/console/libsciconsole-minimal.la ./modules/jvm/libscijvm-disable.la -lpthread -ldl -lcurses -lm libtool: link: g++ -DNDEBUG -fno-stack-protector -g -O2 -static-libstdc++ -static-libgcc -Wl,--no-as-needed -o .libs/scilab-bin modules/startup/src/c/scilab_bin-mainscic.o ./modules/.libs/libscilab.so -L/work/logiciels/rh7/lapack/3.6.1/lib /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so ./modules/.libs/libscilab-cli.so -lcurl /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/functions/.libs/libscifunctions.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/call_scilab/.libs/libscicall_scilab.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/localization/.libs/libscilocalization.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/special_functions/.libs/libscispecial_functions.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/completion/.libs/libscicompletion.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/history_manager/.libs/libscihistory_manager.so -lpcreposix -lpcre /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/hdf5/.libs/libscihdf5.so -lhdf5 -lhdf5_hl /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/statistics/.libs/libscistatistics.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/xml/.libs/libscixml.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/external_objects/.libs/libsciexternal_objects.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/preferences/.libs/libscipreferences-cli.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/gui/.libs/libscigui-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphics/.libs/libscigraphics-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphic_export/.libs/libscigraphic_export-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/console/.libs/libsciconsole-minimal.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/action_binding/.libs/libsciaction_binding-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/jvm/.libs/libscijvm-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/xcos/.libs/libscixcos-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphic_objects/.libs/libscigraphic_objects-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/scinotes/.libs/libsciscinotes-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/ui_data/.libs/libsciui_data-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/history_browser/.libs/libscihistory_browser-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/commons/.libs/libscicommons-disable.so -llapack -lblas -lxml2 -lz -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lgfortran -lquadmath ./modules/console/.libs/libsciconsole-minimal.so ./modules/jvm/.libs/libscijvm-disable.so -lpthread -ldl -lcurses -lm -Wl,-rpath -Wl,/work/ADM/hpc/leboucl/INSTALL/rh7/scilab/5.5.2/lib/scilab /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so: undefined reference to `dgeqpf_' /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so: undefined reference to `zgeqpf_' collect2: error: ld returned 1 exit status make[1]: *** [scilab-bin] Error 1 make[1]: Leaving directory `/work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2' make: *** [all-recursive] Error 1 Do you have any idea about what is missing to find the symbol dgeqpf_ and zgeqpf_ ? In which library should I find them? Thanks, Lise -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.bignier at scilab-enterprises.com Fri Feb 10 17:15:07 2017 From: paul.bignier at scilab-enterprises.com (Paul Bignier) Date: Fri, 10 Feb 2017 17:15:07 +0100 Subject: [Scilab-Dev] undefined reference to `dgeqpf_' et `zgeqpf_' during compilation of scilab on CentOs7 In-Reply-To: <75C9376C9FC78D488E1C9F55FBFEBC803A01B253@TW-MBX-P01.cnesnet.ad.cnes.fr> References: <75C9376C9FC78D488E1C9F55FBFEBC803A01B253@TW-MBX-P01.cnesnet.ad.cnes.fr> Message-ID: Hello Lise, dgeqpf & zgeqpf seem are deprecated in Lapack 3.6+, that may be the issue here, could you please try with a less recent version ? 3.5.0 should do. Let us know hos it goes, Regards, Paul On 02/10/2017 04:37 PM, Lebouc Lise (CS SI) wrote: > > Hi, > > I want to install Scilab 5.5.2 from source on Cent OS 7 with the > minimal option and I obtain an error during the compilation step of > Scilab. > > My option for configure are : > > configure --prefix=/install_directory > > --without-gui > > --without-javasci > > --without-jdk > > --disable-build-help > > --disable-build-localization > > --without-xcos > > --without-modelica > > --without-fftw > > --without-umfpack > > --without-matio > > --without-tk > > --without-openmp > > --without-arpack-ng > > --with-lapack-library=/install_directory/lapack/3.6.1/lib > > --with-blas-library=/install_directory/lapack/3.6.1/lib > > I used lapack 3.6.1. Configure worked well but I got this message > during the compilation : > > g++ -DHAVE_CONFIG_H -I. -I./modules/core/includes > -I./modules/io/includes/ -I./modules/console/includes/ > -I./modules/localization/includes/ -DNDEBUG -fno-stack-protector -g > -O2 -MT modules/startup/src/c/scilab_bin-mainscic.o -MD -MP -MF > modules/startup/src/c/.deps/scilab_bin-mainscic.Tpo -c -o > modules/startup/src/c/scilab_bin-mainscic.o `test -f > 'modules/startup/src/c/mainscic.cpp' || echo > './'`modules/startup/src/c/mainscic.cpp > > mv -f modules/startup/src/c/.deps/scilab_bin-mainscic.Tpo > modules/startup/src/c/.deps/scilab_bin-mainscic.Po > > /bin/sh ./libtool --tag=CXX --mode=link g++ -DNDEBUG > -fno-stack-protector -g -O2 -static-libstdc++ -static-libgcc > -Wl,--no-as-needed -o scilab-bin > modules/startup/src/c/scilab_bin-mainscic.o ./modules/libscilab.la > ./modules/libscilab-cli.la -lxml2 -lz -lm -ldl > -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 > -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 > -L/lib/../lib64 -L/usr/lib/../lib64 > -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lpthread -ldl > -lcurses -lgfortran -lm -lquadmath > ./modules/console/libsciconsole-minimal.la > ./modules/jvm/libscijvm-disable.la -lpthread -ldl -lcurses -lm > > libtool: link: g++ -DNDEBUG -fno-stack-protector -g -O2 > -static-libstdc++ -static-libgcc -Wl,--no-as-needed -o > .libs/scilab-bin modules/startup/src/c/scilab_bin-mainscic.o > ./modules/.libs/libscilab.so -L/work/logiciels/rh7/lapack/3.6.1/lib > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so > ./modules/.libs/libscilab-cli.so -lcurl > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/functions/.libs/libscifunctions.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/call_scilab/.libs/libscicall_scilab.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/localization/.libs/libscilocalization.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/special_functions/.libs/libscispecial_functions.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/completion/.libs/libscicompletion.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/history_manager/.libs/libscihistory_manager.so > -lpcreposix -lpcre > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/hdf5/.libs/libscihdf5.so > -lhdf5 -lhdf5_hl > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/statistics/.libs/libscistatistics.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/xml/.libs/libscixml.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/external_objects/.libs/libsciexternal_objects.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/preferences/.libs/libscipreferences-cli.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/gui/.libs/libscigui-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphics/.libs/libscigraphics-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphic_export/.libs/libscigraphic_export-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/console/.libs/libsciconsole-minimal.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/action_binding/.libs/libsciaction_binding-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/jvm/.libs/libscijvm-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/xcos/.libs/libscixcos-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphic_objects/.libs/libscigraphic_objects-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/scinotes/.libs/libsciscinotes-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/ui_data/.libs/libsciui_data-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/history_browser/.libs/libscihistory_browser-disable.so > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/commons/.libs/libscicommons-disable.so > -llapack -lblas -lxml2 -lz -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 > -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 > -L/lib/../lib64 -L/usr/lib/../lib64 > -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lgfortran > -lquadmath ./modules/console/.libs/libsciconsole-minimal.so > ./modules/jvm/.libs/libscijvm-disable.so -lpthread -ldl -lcurses -lm > -Wl,-rpath -Wl,/work/ADM/hpc/leboucl/INSTALL/rh7/scilab/5.5.2/lib/scilab > > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so: > undefined reference to `dgeqpf_' > > /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so: > undefined reference to `zgeqpf_' > > collect2: error: ld returned 1 exit status > > make[1]: *** [scilab-bin] Error 1 > > make[1]: Leaving directory > `/work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2' > > make: *** [all-recursive] Error 1 > > Do you have any idea about what is missing to find the symbol dgeqpf_ > and zgeqpf_ ? In which library should I find them? > > Thanks, > > Lise > > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Paul BIGNIER Development engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.68 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From erik.benkler at ptb.de Sun Feb 12 13:40:42 2017 From: erik.benkler at ptb.de (E_Ben) Date: Sun, 12 Feb 2017 05:40:42 -0700 (MST) Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 Message-ID: <1486903242298-4035469.post@n3.nabble.com> I'm rather a newbie to Linux and to building Scilab, so I have the feeling that my issue might be trivial. However, I couldn't find a solution after several hours searching the web and this email list archive. I successfully built scilab from sources using the master branch as of 2017/02/10. I can start scilab from the scilab/bin subfolder of the folder where I have built scilab using ./configure and make, which finished without errors. Now, I want to install it to the Ubuntu 16.10 tree using sudo make install, which finishes without errors (without sudo, I get access errors). When I now start scilab by typing "scilab &" in a terminal, there are no error messages, but the scilab gui doesn't appear. By typing "ps -A | grep sci", I see two running processes, named "scilab" and "scilab-bin", which I have to kill manually. Why is the scilab window not shown, as it is the case when executed from the build folder? During build, I only added --without-modelica option to ./configure Do I have to add further options to ./configure? Do I have to modify some access rights? Are libraries missing? However, in the last two cases, I thought that configure, make and make install should manage that. So it is related to Ubuntu 16.10 or am I just blind and stupid? Thanks for your help, Erik -- View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after-make-install-on-Ubuntu-16-10-tp4035469.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From Lise.Lebouc at cnes.fr Mon Feb 13 14:21:32 2017 From: Lise.Lebouc at cnes.fr (Lebouc Lise (CS SI)) Date: Mon, 13 Feb 2017 13:21:32 +0000 Subject: [Scilab-Dev] undefined reference to `dgeqpf_' et `zgeqpf_' during compilation of scilab on CentOs7 In-Reply-To: References: <75C9376C9FC78D488E1C9F55FBFEBC803A01B253@TW-MBX-P01.cnesnet.ad.cnes.fr> Message-ID: <75C9376C9FC78D488E1C9F55FBFEBC803A01B494@TW-MBX-P01.cnesnet.ad.cnes.fr> Hi ! Perfect, I installed lapack/3.5.0 and it's solved my problem. Thanks! Lise De : dev [mailto:dev-bounces at lists.scilab.org] De la part de Paul Bignier Envoy? : vendredi 10 f?vrier 2017 17:15 ? : List dedicated to the development of Scilab Objet : Re: [Scilab-Dev] undefined reference to `dgeqpf_' et `zgeqpf_' during compilation of scilab on CentOs7 Hello Lise, dgeqpf & zgeqpf seem are deprecated in Lapack 3.6+, that may be the issue here, could you please try with a less recent version? 3.5.0 should do. Let us know hos it goes, Regards, Paul On 02/10/2017 04:37 PM, Lebouc Lise (CS SI) wrote: Hi, I want to install Scilab 5.5.2 from source on Cent OS 7 with the minimal option and I obtain an error during the compilation step of Scilab. My option for configure are : configure --prefix=/install_directory --without-gui --without-javasci --without-jdk --disable-build-help --disable-build-localization --without-xcos --without-modelica --without-fftw --without-umfpack --without-matio --without-tk --without-openmp --without-arpack-ng --with-lapack-library=/install_directory/lapack/3.6.1/lib --with-blas-library=/install_directory/lapack/3.6.1/lib I used lapack 3.6.1. Configure worked well but I got this message during the compilation : g++ -DHAVE_CONFIG_H -I. -I./modules/core/includes -I./modules/io/includes/ -I./modules/console/includes/ -I./modules/localization/includes/ -DNDEBUG -fno-stack-protector -g -O2 -MT modules/startup/src/c/scilab_bin-mainscic.o -MD -MP -MF modules/startup/src/c/.deps/scilab_bin-mainscic.Tpo -c -o modules/startup/src/c/scilab_bin-mainscic.o `test -f 'modules/startup/src/c/mainscic.cpp' || echo './'`modules/startup/src/c/mainscic.cpp mv -f modules/startup/src/c/.deps/scilab_bin-mainscic.Tpo modules/startup/src/c/.deps/scilab_bin-mainscic.Po /bin/sh ./libtool --tag=CXX --mode=link g++ -DNDEBUG -fno-stack-protector -g -O2 -static-libstdc++ -static-libgcc -Wl,--no-as-needed -o scilab-bin modules/startup/src/c/scilab_bin-mainscic.o ./modules/libscilab.la ./modules/libscilab-cli.la -lxml2 -lz -lm -ldl -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath ./modules/console/libsciconsole-minimal.la ./modules/jvm/libscijvm-disable.la -lpthread -ldl -lcurses -lm libtool: link: g++ -DNDEBUG -fno-stack-protector -g -O2 -static-libstdc++ -static-libgcc -Wl,--no-as-needed -o .libs/scilab-bin modules/startup/src/c/scilab_bin-mainscic.o ./modules/.libs/libscilab.so -L/work/logiciels/rh7/lapack/3.6.1/lib /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so ./modules/.libs/libscilab-cli.so -lcurl /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/functions/.libs/libscifunctions.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/call_scilab/.libs/libscicall_scilab.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/localization/.libs/libscilocalization.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/special_functions/.libs/libscispecial_functions.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/completion/.libs/libscicompletion.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/history_manager/.libs/libscihistory_manager.so -lpcreposix -lpcre /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/hdf5/.libs/libscihdf5.so -lhdf5 -lhdf5_hl /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/statistics/.libs/libscistatistics.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/xml/.libs/libscixml.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/external_objects/.libs/libsciexternal_objects.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/preferences/.libs/libscipreferences-cli.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/gui/.libs/libscigui-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphics/.libs/libscigraphics-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphic_export/.libs/libscigraphic_export-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/console/.libs/libsciconsole-minimal.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/action_binding/.libs/libsciaction_binding-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/jvm/.libs/libscijvm-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/xcos/.libs/libscixcos-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/graphic_objects/.libs/libscigraphic_objects-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/scinotes/.libs/libsciscinotes-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/ui_data/.libs/libsciui_data-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/history_browser/.libs/libscihistory_browser-disable.so /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/commons/.libs/libscicommons-disable.so -llapack -lblas -lxml2 -lz -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lgfortran -lquadmath ./modules/console/.libs/libsciconsole-minimal.so ./modules/jvm/.libs/libscijvm-disable.so -lpthread -ldl -lcurses -lm -Wl,-rpath -Wl,/work/ADM/hpc/leboucl/INSTALL/rh7/scilab/5.5.2/lib/scilab /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so: undefined reference to `dgeqpf_' /work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2/modules/.libs/libscilab-cli.so: undefined reference to `zgeqpf_' collect2: error: ld returned 1 exit status make[1]: *** [scilab-bin] Error 1 make[1]: Leaving directory `/work/ADM/hpc/leboucl/2017-SUPPORT/SCILAB/SOURCE/scilab-5.5.2' make: *** [all-recursive] Error 1 Do you have any idea about what is missing to find the symbol dgeqpf_ and zgeqpf_ ? In which library should I find them? Thanks, Lise _______________________________________________ dev mailing list dev at lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev -- Paul BIGNIER Development engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.68 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Mon Feb 13 14:49:33 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Mon, 13 Feb 2017 14:49:33 +0100 Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1486903242298-4035469.post@n3.nabble.com> References: <1486903242298-4035469.post@n3.nabble.com> Message-ID: <1486993773.2114.5.camel@scilab-enterprises.com> Hi Erik, In the recent past, I had similar issues with TCL mismatch between my system version and the thirdparty ones. Could you try attaching gdb to the scilab process and printing a backtrace ? $ gdb -ex 'thread apply all bt' --pid=$(pidof lt-scilab-bin) PS: removing SCIHOME (eg. '~/.Scilab') might help Thanks, -- Cl?ment Le dimanche 12 f?vrier 2017 ? 05:40 -0700, E_Ben a ?crit?: > I'm rather a newbie to Linux and to building Scilab, so I have the feeling > that my issue might be trivial. However, I couldn't find a solution after > several hours searching the web and this email list archive. > > I successfully built scilab from sources using the master branch as of > 2017/02/10. I can start scilab from the scilab/bin subfolder of the folder > where I have built scilab using ./configure and make, which finished without > errors. Now, I want to install it to the Ubuntu 16.10 tree using sudo make > install, which finishes without errors (without sudo, I get access errors).? > When I now start scilab by typing "scilab &" in a terminal, there are no > error messages, but the scilab gui doesn't appear. By typing "ps -A | grep > sci", I see two running processes, named "scilab" and "scilab-bin", which I > have to kill manually. > > Why is the scilab window not shown, as it is the case when executed from the > build folder? During build, I only added --without-modelica option to > ./configure > Do I have to add further options to ./configure? Do I have to modify some > access rights? Are libraries missing? However, in the last two cases, I > thought that configure, make and make install should manage that. So it is > related to Ubuntu 16.10 or am I just blind and stupid? > > Thanks for your help, > Erik > > > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after- > make-install-on-Ubuntu-16-10-tp4035469.html > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev From erik.benkler at ptb.de Mon Feb 13 16:02:30 2017 From: erik.benkler at ptb.de (E_Ben) Date: Mon, 13 Feb 2017 08:02:30 -0700 (MST) Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1486993773.2114.5.camel@scilab-enterprises.com> References: <1486903242298-4035469.post@n3.nabble.com> <1486993773.2114.5.camel@scilab-enterprises.com> Message-ID: <1486998150255-4035478.post@n3.nabble.com> Dear Clement, thanks for your quick answer. I tried your suggestion. Removing SCIHOME does not help. When trying to attach gdb to the scilab process as normal user, I received an error mentioning I should try as root, so I did as root. The output of the terminal is below. I have no idea what it means, but maybe you or someone else does. @:~$ scilab & [1] 3657 @:~$ ps -A|grep sci 3657 pts/8 00:00:00 scilab 3688 pts/8 00:00:00 scilab-bin @:~$ sudo gdb -ex 'thread apply all bt' --pid=3657 GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 3657 Reading symbols from /bin/dash...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so...done. done. Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.23.so...done. done. 0x00007f05e599f57a in wait4 () at ../sysdeps/unix/syscall-template.S:84 84 ../sysdeps/unix/syscall-template.S: Datei oder Verzeichnis nicht gefunden. Thread 1 (process 3657): #0 0x00007f05e599f57a in wait4 () at ../sysdeps/unix/syscall-template.S:84 #1 0x000055c3ebdd0db2 in ?? () #2 0x000055c3ebdd0b12 in ?? () #3 0x000055c3ebdcc571 in ?? () #4 0x000055c3ebdcbbb5 in ?? () #5 0x000055c3ebdcbbf1 in ?? () ---Type to continue, or q to quit--- #6 0x000055c3ebdcbc52 in ?? () #7 0x000055c3ebdcbc52 in ?? () #8 0x000055c3ebdd636c in ?? () #9 0x000055c3ebdcc6c6 in ?? () #10 0x000055c3ebdcbbb5 in ?? () #11 0x000055c3ebdc3244 in ?? () #12 0x000055c3ebdcbc52 in ?? () #13 0x000055c3ebdd71c4 in ?? () #14 0x000055c3ebdcba31 in ?? () #15 0x00007f05e58f4830 in __libc_start_main (main=0x55c3ebdcb960, argc=2, argv=0x7ffcef505d48, init=, fini=, rtld_fini=, stack_end=0x7ffcef505d38) at ../csu/libc-start.c:291 #16 0x000055c3ebdd5b59 in ?? () (gdb) -- View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after-make-install-on-Ubuntu-16-10-tp4035469p4035478.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From clement.david at scilab-enterprises.com Mon Feb 13 16:18:16 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Mon, 13 Feb 2017 16:18:16 +0100 Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1486998150255-4035478.post@n3.nabble.com> References: <1486903242298-4035469.post@n3.nabble.com> <1486993773.2114.5.camel@scilab-enterprises.com> <1486998150255-4035478.post@n3.nabble.com> Message-ID: <1486999096.2114.7.camel@scilab-enterprises.com> > @:~$ ps -A|grep sci > ?3657 pts/8????00:00:00 scilab > ?3688 pts/8????00:00:00 scilab-bin > @:~$ sudo gdb -ex 'thread apply all bt' --pid=3657 h?h? you picked the wrong one :) ; scilab is just a wrapper script used to detect options, set SCI and launch the scilab-bin (or lt-scilab-bin) binary. To get a backtrace you should attach to the binary. From erik.benkler at ptb.de Mon Feb 13 17:20:47 2017 From: erik.benkler at ptb.de (E_Ben) Date: Mon, 13 Feb 2017 09:20:47 -0700 (MST) Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1486999096.2114.7.camel@scilab-enterprises.com> References: <1486903242298-4035469.post@n3.nabble.com> <1486993773.2114.5.camel@scilab-enterprises.com> <1486998150255-4035478.post@n3.nabble.com> <1486999096.2114.7.camel@scilab-enterprises.com> Message-ID: <1487002847861-4035480.post@n3.nabble.com> Hi Clement, oh, sorry. Here is the output for scilab-bin: @:~$ scilab & [1] 24758 @:~$ ps -A|grep sci 24758 pts/8 00:00:00 scilab 24789 pts/8 00:00:00 scilab-bin @:~$ sudo gdb -ex 'thread apply all bt' --pid=24789 GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 24789 Reading symbols from /usr/local/bin/scilab-bin...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/scilab/libscilab-cli.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciconsole.so.6...done. Reading symbols from /usr/local/lib/scilab/libscijvm.so.6...done. Reading symbols from /usr/local/lib/scilab/libscicommons.so.6...done. Reading symbols from /usr/local/lib/scilab/libscilab.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/scilab/libscigui.so.6...done. Reading symbols from /usr/local/lib/scilab/libscirenderer.so.6...done. Reading symbols from /usr/local/lib/scilab/libscigraphics.so.6...done. Reading symbols from /usr/local/lib/scilab/libscigraphic_export.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciaction_binding.so.6...done. Reading symbols from /usr/local/lib/scilab/libscigraphic_objects.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciscinotes.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciui_data.so.6...done. Reading symbols from /usr/local/lib/scilab/libscihistory_browser.so.6...done. Reading symbols from /usr/local/lib/scilab/libscitypes-java.so.6...done. Reading symbols from /usr/local/lib/scilab/libscipreferences.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciexternal_objects_java.so.6...done. Reading symbols from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjava.so...(no debugging symbols found)...done. Reading symbols from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libverify.so...(no debugging symbols found)...done. Reading symbols from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/scilab/libscihelptools.so.6...done. Reading symbols from /usr/local/lib/scilab/libscitclsci.so.6...done. Reading symbols from /usr/lib/libtk8.5.so...done. Reading symbols from /usr/lib/libtcl8.5.so...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libcurl.so.4...(no debugging symbols found)...done. Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols found)...done. Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.23.so...done. done. Reading symbols from /usr/local/lib/scilab/libscifunctions.so.6...done. Reading symbols from /usr/local/lib/scilab/libscicall_scilab.so.6...done. Reading symbols from /usr/local/lib/scilab/libscilocalization.so.6...done. Reading symbols from /usr/local/lib/scilab/libscispecial_functions.so.6...done. Reading symbols from /usr/local/lib/scilab/libscicompletion.so.6...done. Reading symbols from /usr/local/lib/scilab/libscihistory_manager.so.6...done. Reading symbols from /usr/lib/libpcreposix.so.0...done. Reading symbols from /usr/lib/libpcre.so.1...done. Reading symbols from /usr/local/lib/scilab/libscihdf5.so.6...done. Reading symbols from /usr/lib/libhdf5.so.7...done. Reading symbols from /usr/lib/libhdf5_hl.so.7...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libfftw3.so.3...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/scilab/libscistatistics.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciast.so.6...done. Reading symbols from /usr/local/lib/scilab/libscifunctions_manager.so.6...done. Reading symbols from /usr/local/lib/scilab/libscixml.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciexternal_objects.so.6...done. Reading symbols from /usr/local/lib/scilab/libscislint.so.6...done. Reading symbols from /usr/local/lib/scilab/libscicoverage.so.6...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libxml2.so.2...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/scilab/libscigui-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libscigraphics-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libscigraphic_export-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciconsole-minimal.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciaction_binding-disable.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/scilab/libscijvm-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libscixcos-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libscigraphic_objects-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciscinotes-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libsciui_data-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libscihistory_browser-disable.so.6...done. Reading symbols from /usr/local/lib/scilab/libscicommons-disable.so.6...(no debugging symbols found)...done. Reading symbols from /usr/local/lib/scilab/libscipreferences-cli.so.6...done. Reading symbols from /usr/local/lib/scilab/libscitclsci-disable.so.6...done. Reading symbols from /usr/lib/liblapack.so.3...done. Reading symbols from /usr/lib/libblas.so.3...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libgfortran.so.3...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libquadmath.so.0...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols from /usr/lib/debug/.build-id/4d/7f52f335dc9665c2dcf308ce6514a6ae86dede.debug...done. done. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.23.so...done. done. Reading symbols from /lib/x86_64-linux-gnu/libncurses.so.5...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.23.so...done. done. Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so...done. done. Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.23.so...done. done. Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libidn.so.11...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/librtmp.so.1...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libicuuc.so.55...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls.so.30...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libhogweed.so.4...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libnettle.so.6...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libgmp.so.10...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.3...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libcom_err.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libresolv-2.23.so...done. done. Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi.so.3...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libicudata.so.55...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.6...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libkeyutils.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libheimntlm.so.0...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.26...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libasn1.so.8...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libhcrypto.so.4...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libroken.so.18...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libffi.so.6...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libwind.so.0...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libheimbase.so.1...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libhx509.so.5...(no debugging symbols found)...done. Reading symbols from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0...(no debugging symbols found)...done. Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libcrypt-2.23.so...done. done. Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.23.so...done. done. Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.23.so...done. done. Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.23.so...done. done. Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.23.so...done. done. pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 185 ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Datei oder Verzeichnis nicht gefunden. Thread 1 (Thread 0x7f8ea5c45740 (LWP 24789)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007f8ea5438e55 in __Wait (signalName=, lockName=) at src/cpp/Thread_Wrapper.cpp:116 #2 0x00007f8ea16ee9bf in OpenTCLsci () at src/c/InitTclTk.c:254 ---Type to continue, or q to quit--- #3 0x00007f8ea16eeafd in InitializeTclTk () at src/c/InitializeTclTk.c:25 #4 0x00007f8ea5240cd0 in StartScilabEngine (_pSEI=_pSEI at entry=0x1b75970) at src/cpp/InitScilab.cpp:259 #5 0x000000000040199a in main (argc=1, argv=0x7ffdbf961978) at modules/startup/src/cpp/scilab.cpp:446 (gdb) -- View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after-make-install-on-Ubuntu-16-10-tp4035469p4035480.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From clement.david at scilab-enterprises.com Mon Feb 13 17:26:12 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Mon, 13 Feb 2017 17:26:12 +0100 Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1487002847861-4035480.post@n3.nabble.com> References: <1486903242298-4035469.post@n3.nabble.com> <1486993773.2114.5.camel@scilab-enterprises.com> <1486998150255-4035478.post@n3.nabble.com> <1486999096.2114.7.camel@scilab-enterprises.com> <1487002847861-4035480.post@n3.nabble.com> Message-ID: <1487003172.2114.9.camel@scilab-enterprises.com> Ok this is the exact same problem as we had in our test machinery and some of the developer machines (with tcl8.5 vs tcl8.6 on the system). You should update the git repo, ensure "SCI/modules/tclsci/tcl/tcl8.5" comes from our thirdparty, `./configure && make -j4`. -- Cl?ment Le lundi 13 f?vrier 2017 ? 09:20 -0700, E_Ben a ?crit?: > Hi Clement,? > > oh, sorry. Here is the output for scilab-bin: > > @:~$ scilab & > [1] 24758 > @:~$ ps -A|grep sci > 24758 pts/8????00:00:00 scilab > 24789 pts/8????00:00:00 scilab-bin > @:~$ sudo gdb -ex 'thread apply all bt' --pid=24789 > GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 > Copyright (C) 2016 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law.??Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-linux-gnu". > Type "show configuration" for configuration details. > For bug reporting instructions, please see: > . > Find the GDB manual and other documentation resources online at: > . > For help, type "help". > Type "apropos word" to search for commands related to "word". > Attaching to process 24789 > Reading symbols from /usr/local/bin/scilab-bin...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no > debugging symbols found)...done. > Reading symbols from /usr/local/lib/scilab/libscilab-cli.so.6...done. > Reading symbols from /usr/local/lib/scilab/libsciconsole.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscijvm.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscicommons.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscilab.so.6...(no debugging > symbols found)...done. > Reading symbols from /usr/local/lib/scilab/libscigui.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscirenderer.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscigraphics.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscigraphic_export.so.6...done. > Reading symbols from /usr/local/lib/scilab/libsciaction_binding.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscigraphic_objects.so.6...done. > Reading symbols from /usr/local/lib/scilab/libsciscinotes.so.6...done. > Reading symbols from /usr/local/lib/scilab/libsciui_data.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscihistory_browser.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscitypes-java.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscipreferences.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libsciexternal_objects_java.so.6...done. > Reading symbols from > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjava.so...(no debugging > symbols found)...done. > Reading symbols from > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libverify.so...(no debugging > symbols found)...done. > Reading symbols from > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so...(no > debugging symbols found)...done. > Reading symbols from /usr/local/lib/scilab/libscihelptools.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscitclsci.so.6...done. > Reading symbols from /usr/lib/libtk8.5.so...done. > Reading symbols from /usr/lib/libtcl8.5.so...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libcurl.so.4...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/libssl.so.0.9.8...(no debugging symbols > found)...done. > Reading symbols from /usr/lib/libcrypto.so.0.9.8...(no debugging symbols > found)...done. > Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...Reading symbols from > /usr/lib/debug//lib/x86_64-linux-gnu/librt-2.23.so...done. > done. > Reading symbols from /usr/local/lib/scilab/libscifunctions.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscicall_scilab.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscilocalization.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscispecial_functions.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscicompletion.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscihistory_manager.so.6...done. > Reading symbols from /usr/lib/libpcreposix.so.0...done. > Reading symbols from /usr/lib/libpcre.so.1...done. > Reading symbols from /usr/local/lib/scilab/libscihdf5.so.6...done. > Reading symbols from /usr/lib/libhdf5.so.7...done. > Reading symbols from /usr/lib/libhdf5_hl.so.7...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libfftw3.so.3...(no debugging > symbols found)...done. > Reading symbols from /usr/local/lib/scilab/libscistatistics.so.6...done. > Reading symbols from /usr/local/lib/scilab/libsciast.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscifunctions_manager.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscixml.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libsciexternal_objects.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscislint.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscicoverage.so.6...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libxml2.so.2...(no debugging > symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols > found)...done. > Reading symbols from /usr/local/lib/scilab/libscigui-disable.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscigraphics-disable.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscigraphic_export-disable.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libsciconsole-minimal.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libsciaction_binding-disable.so.6...(no debugging > symbols found)...done. > Reading symbols from /usr/local/lib/scilab/libscijvm-disable.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscixcos-disable.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscigraphic_objects-disable.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libsciscinotes-disable.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libsciui_data-disable.so.6...done. > Reading symbols from > /usr/local/lib/scilab/libscihistory_browser-disable.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscicommons-disable.so.6...(no > debugging symbols found)...done. > Reading symbols from > /usr/local/lib/scilab/libscipreferences-cli.so.6...done. > Reading symbols from /usr/local/lib/scilab/libscitclsci-disable.so.6...done. > Reading symbols from /usr/lib/liblapack.so.3...done. > Reading symbols from /usr/lib/libblas.so.3...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libgfortran.so.3...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libquadmath.so.0...(no > debugging symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...Reading symbols > from > /usr/lib/debug/.build-id/4d/7f52f335dc9665c2dcf308ce6514a6ae86dede.debug...done. > done. > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...Reading symbols from > /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.23.so...done. > done. > Reading symbols from /lib/x86_64-linux-gnu/libncurses.so.5...(no debugging > symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging > symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...Reading symbols from > /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.23.so...done. > done. > Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging > symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...Reading symbols from > /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.23.so...done. > done. > Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from > /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.23.so...done. > done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libidn.so.11...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/librtmp.so.1...(no debugging > symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libssl.so.1.0.0...(no debugging > symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libcrypto.so.1.0.0...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libicuuc.so.55...(no > debugging symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls.so.30...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libhogweed.so.4...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libnettle.so.6...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libgmp.so.10...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.3...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3...(no > debugging symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libcom_err.so.2...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0...(no > debugging symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...Reading symbols > from /usr/lib/debug//lib/x86_64-linux-gnu/libresolv-2.23.so...done. > done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi.so.3...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libicudata.so.55...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.6...(no debugging > symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libkeyutils.so.1...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libheimntlm.so.0...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.26...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libasn1.so.8...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libhcrypto.so.4...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libroken.so.18...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libffi.so.6...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libwind.so.0...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libheimbase.so.1...(no > debugging symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libhx509.so.5...(no debugging > symbols found)...done. > Reading symbols from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0...(no > debugging symbols found)...done. > Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...Reading symbols > from /usr/lib/debug//lib/x86_64-linux-gnu/libcrypt-2.23.so...done. > done. > Reading symbols from /lib/x86_64-linux-gnu/libnss_compat.so.2...Reading > symbols from > /usr/lib/debug//lib/x86_64-linux-gnu/libnss_compat-2.23.so...done. > done. > Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...Reading symbols > from /usr/lib/debug//lib/x86_64-linux-gnu/libnsl-2.23.so...done. > done. > Reading symbols from /lib/x86_64-linux-gnu/libnss_nis.so.2...Reading symbols > from /usr/lib/debug//lib/x86_64-linux-gnu/libnss_nis-2.23.so...done. > done. > Reading symbols from /lib/x86_64-linux-gnu/libnss_files.so.2...Reading > symbols from > /usr/lib/debug//lib/x86_64-linux-gnu/libnss_files-2.23.so...done. > done. > pthread_cond_wait@@GLIBC_2.3.2 () > ????at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 > 185 ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Datei oder > Verzeichnis nicht gefunden. > > Thread 1 (Thread 0x7f8ea5c45740 (LWP 24789)): > #0??pthread_cond_wait@@GLIBC_2.3.2 () > ????at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 > #1??0x00007f8ea5438e55 in __Wait (signalName=,? > ????lockName=) at src/cpp/Thread_Wrapper.cpp:116 > #2??0x00007f8ea16ee9bf in OpenTCLsci () at src/c/InitTclTk.c:254 > ---Type to continue, or q to quit--- > #3??0x00007f8ea16eeafd in InitializeTclTk () at src/c/InitializeTclTk.c:25 > #4??0x00007f8ea5240cd0 in StartScilabEngine (_pSEI=_pSEI at entry=0x1b75970) > ????at src/cpp/InitScilab.cpp:259 > #5??0x000000000040199a in main (argc=1, argv=0x7ffdbf961978) > ????at modules/startup/src/cpp/scilab.cpp:446 > (gdb)? > > > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after- > make-install-on-Ubuntu-16-10-tp4035469p4035480.html > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev From erik.benkler at ptb.de Mon Feb 13 23:52:13 2017 From: erik.benkler at ptb.de (E_Ben) Date: Mon, 13 Feb 2017 15:52:13 -0700 (MST) Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1487003172.2114.9.camel@scilab-enterprises.com> References: <1486903242298-4035469.post@n3.nabble.com> <1486993773.2114.5.camel@scilab-enterprises.com> <1486998150255-4035478.post@n3.nabble.com> <1486999096.2114.7.camel@scilab-enterprises.com> <1487002847861-4035480.post@n3.nabble.com> <1487003172.2114.9.camel@scilab-enterprises.com> Message-ID: <1487026333926-4035483.post@n3.nabble.com> Dear Clement, - You should update the git repo => I update the repo using "git pull", it says it's already up to date. - ensure "SCI/modules/tclsci/tcl/tcl8.5" comes from our thirdparty => How do I do that? The output of ls command in folder SCI/modules/tclsci/tcl/tcl8.5 is: auto.tcl history.tcl msgs parray.tcl tclIndex clock.tcl http1.0 opt0.4 safe.tcl tm.tcl encoding init.tcl package.tcl tclAppInit.c word.tcl -- View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after-make-install-on-Ubuntu-16-10-tp4035469p4035483.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From martin.marmsoler at gmail.com Tue Feb 14 20:52:34 2017 From: martin.marmsoler at gmail.com (Martin Marmsoler) Date: Tue, 14 Feb 2017 20:52:34 +0100 Subject: [Scilab-Dev] Appimage or Flatpak for Scilab In-Reply-To: References: <1485872494776-4035432.post@n3.nabble.com> <1485883705.2059.9.camel@scilab-enterprises.com> Message-ID: Hello, I found on this link: https://bintray.com/probono/AppImages/Scilab an AppImage package. Is this an official AppImage or generated by someone? I tried it out and it works fine :) Best regards, Martin 2017-02-01 11:06 GMT+01:00 Martin Marmsoler : > ok I understand what you mean. Thank you for you explanation!. > > Martin > > On Jan 31, 2017 18:28, "Cl?ment David" ses.com> wrote: > >> Hello Martin, >> >> Le mardi 31 janvier 2017 ? 07:21 -0700, Murmele a ?crit : >> > Hello, >> > >> > I would like to ask if there already exist a flatpak or appimage >> package for >> > scilab or if there is a plan to build one? >> >> Currently there is no plan to do so as the scilab binary is working well >> on Linux. >> >> I though about making a flatpack based on org.freedesktop.Platform some >> months ago but the hard task >> is to rebuild Scilab dependencies on the restricted env. to be >> consistent. AFAIK there is also no >> flatpak runtime for OpenJDK/JRE. >> >> -- >> Cl?ment >> _______________________________________________ >> dev mailing list >> dev at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/dev >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Wed Feb 15 09:57:12 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 15 Feb 2017 09:57:12 +0100 Subject: [Scilab-Dev] [Scilab-users] C/C++ compiler for Mac OS Sierra In-Reply-To: <781bd288-44fd-866f-2804-3733c4aa78b3@scilab-enterprises.com> References: <1250060948.3619555.1487011570813.ref@mail.yahoo.com> <1250060948.3619555.1487011570813@mail.yahoo.com> <781bd288-44fd-866f-2804-3733c4aa78b3@scilab-enterprises.com> Message-ID: <1487149032.2114.2.camel@scilab-enterprises.com> Hi Reinaldo and welcome, Yes Paul is right and just for completness (and CC-ing dev) : We currently do not require an IDE to build Scilab ; you can program using vim / emacs / notepad++, gcc / clang / msbuild. As common IDEs provide a way to import an exiting code base as a new project, we also do not provide project files (other than the VisualStudio ones required by msbuild). PS: I personally use Netbeans and/or Eclipse JDT for Java programming. Eclipse CDT and/or Vim (with YouCompleteMe) for C/C++ programming. -- Cl?ment Le mardi 14 f?vrier 2017 ? 09:03 +0100, Paul Bignier a ?crit?: > > Hello Reinaldo, > > You don't have to install the whole Xcode to have gcc (pointing to clang) available, you can > simply install the command-line tools. > > Regards, > Paul > > On 02/13/2017 07:46 PM, Reinaldo Golmia Dante wrote: > > Hi Scilab users, > > > > I would like to install only a C/C++ compiler for Mac OS Sierra. I had installed Xcode, but it > > was very heavy (about 4.5GB) for the SMD disk in my MacBook Air. I'd like to install Eclipse IDE > > C++ to program C/C++, but I think it requires a C/C++ compiler, doesn't it? > > > > Thank you in advance. > > > > Best, > > Reinaldo. > > > > > > _______________________________________________ > > users mailing list > > users at lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/users > ? > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From clement.david at scilab-enterprises.com Wed Feb 15 10:33:52 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 15 Feb 2017 10:33:52 +0100 Subject: [Scilab-Dev] Appimage or Flatpak for Scilab In-Reply-To: References: <1485872494776-4035432.post@n3.nabble.com> <1485883705.2059.9.camel@scilab-enterprises.com> Message-ID: <1487151232.2114.4.camel@scilab-enterprises.com> Hi Martin, That's probably a repack of your scilab binary so not official :) . After some reading on AppImage it is really similar to our current tar.gz executable version so after our minimal platform upgrade we might switch to it. Could you file a bug with detailed description of your need (basically why the current executable version is not suitable for you and AppImage is much better) ? Thanks, -- Cl?ment Le mardi 14 f?vrier 2017 ? 20:52 +0100, Martin Marmsoler a ?crit?: > Hello, > > I found on this link: https://bintray.com/probono/AppImages/Scilab an AppImage package. Is this an > official AppImage or generated by someone? I tried it out and it works fine :) > > Best regards, > > Martin > > 2017-02-01 11:06 GMT+01:00 Martin Marmsoler : > > ok I understand what you mean. Thank you for you explanation!. > > > > Martin > > > > On Jan 31, 2017 18:28, "Cl?ment David" wrote: > > > Hello Martin, > > > > > > Le mardi 31 janvier 2017 ? 07:21 -0700, Murmele a ?crit?: > > > > Hello,? > > > > > > > > I would like to ask if there already exist a flatpak or appimage package for > > > > scilab or if there is a plan to build one? > > > > > > Currently there is no plan to do so as the scilab binary is working well on Linux. > > > > > > I though about making a flatpack based on org.freedesktop.Platform some months ago but the > > > hard task > > > is to rebuild Scilab dependencies on the restricted env. to be consistent. AFAIK there is also > > > no > > > flatpak runtime for OpenJDK/JRE. > > > > > > -- > > > Cl?ment > > > _______________________________________________ > > > dev mailing list > > > dev at lists.scilab.org > > > http://lists.scilab.org/mailman/listinfo/dev > > > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev From chinluh at tritytech.com Thu Feb 16 06:04:57 2017 From: chinluh at tritytech.com (Tan Chin Luh) Date: Thu, 16 Feb 2017 13:04:57 +0800 Subject: [Scilab-Dev] Multiple Functions in a sci file Message-ID: Hi, I am trying to troubleshoot the issue on the guibuilder in Scilab 6 windows platform as reported by : https://atoms.scilab.org/toolboxes/guibuilder/3.1#comment2713 ----------- I used guibuilder in 5.5.2 and was able to create a gui, open an existing gui. I just installed it for 6.0 and the guibuilder launches, but am unable to create anything, i get the error "Undefined variable: draw_uicontrol5" for anything that I click on to create. Or even to open an existing GUI. ----------- I tried to reproduce the error in a simpler manner: 1. Write a simple sci file with 2 functions in it. function y = test1(x) y = x+1; endfunction function y = testa(x) y = x+2; endfunction 2. Put the file in a folder and use genlib to generate the lib 3. Load the library and call "test1(1)" and "testa(1)" In Scilab 5.5.2, both functions are callable, but in Scilab 6, only test1 is, and calling testa will either return error "undefined variable" or just crashed the Scilab. Is this meant to behave this way under "new parser and new core"? I try to screen through what's news in Scilab 6 and bugzilla, and the similar but not exact issue found is : http://bugzilla.scilab.org/show_bug.cgi?id=14525 I try to avoid breaking out all the functions to separate files as it will be tones of files in the folder then. Thanks. Regards, Chin Luh To reproduce the case, following lines works for Scilab 5.5.2 but not Scilab 6 //// lib_path = TMPDIR + "/test1"; mkdir(lib_path); file_path = lib_path + "/test1.sci"; fd = mopen(file_path, 'wt'); mputl(["function y = test1(x)" "y = x+1;" "endfunction" "" "function y = testa(x)" "y = x+2;" "endfunction"], fd); mclose(fd); genlib('libfoo', lib_path); lib(lib_path); test1(1) testa(1) /// -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Thu Feb 16 09:23:46 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Thu, 16 Feb 2017 09:23:46 +0100 Subject: [Scilab-Dev] Scilab 6.0.0 has been released ! Message-ID: <1487233426.2065.1.camel@scilab-enterprises.com> Dear Scilab developers, Scilab 6.0.0 is now out [1]. Thanks to everyone who helped build this brand new version?! We still have bugs and want to start adding features using Scilab 6 brand new capabilities. For the upcoming 6.0.1 release, we will continue the bug fixes and help improvement started on the 6.0 branch. Do not hesitate to set up the git branch and push your changes ! As a mid-term target, we also planned some work for 6.1.0 and we have some idea about our next revision. For exemple (incomplete list): * help browser improvement (targetting a best indexation and removing javahelp dependency) * using analysis for execution speedup * more demos and help dedicated pages * import() like python and javascript * graphical improvement (treeview in uicontrols, uicontrol graphic export) Do you have other ideas, requests for the near future ? [1]: http://www.scilab.org/community/news/scilab6 [2]: https://wiki.scilab.org/CategorySep Thanks for your involvement, ? Cl?ment From clement.david at scilab-enterprises.com Thu Feb 16 14:19:10 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Thu, 16 Feb 2017 14:19:10 +0100 Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1487026333926-4035483.post@n3.nabble.com> References: <1486903242298-4035469.post@n3.nabble.com> <1486993773.2114.5.camel@scilab-enterprises.com> <1486998150255-4035478.post@n3.nabble.com> <1486999096.2114.7.camel@scilab-enterprises.com> <1487002847861-4035480.post@n3.nabble.com> <1487003172.2114.9.camel@scilab-enterprises.com> <1487026333926-4035483.post@n3.nabble.com> Message-ID: <1487251150.2065.6.camel@scilab-enterprises.com> Hi Erik, If you have the modules/tclsci/tcl/tcl8.5 directory is provided by the prerequirements, it is not part of our source code. Could you try a clean build ? -- Cl?ment Le lundi 13 f?vrier 2017 ? 15:52 -0700, E_Ben a ?crit?: > Dear Clement, > > - You should update the git repo => I update the repo using "git pull", it > says it's already up to date. > - ensure "SCI/modules/tclsci/tcl/tcl8.5" comes from our thirdparty => How do > I do that? The output of ls command in folder SCI/modules/tclsci/tcl/tcl8.5 > is: > auto.tcl???history.tcl??msgs?????????parray.tcl????tclIndex > clock.tcl??http1.0??????opt0.4???????safe.tcl??????tm.tcl > encoding???init.tcl?????package.tcl??tclAppInit.c??word.tcl > > > > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after- > make-install-on-Ubuntu-16-10-tp4035469p4035483.html > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev From erik.benkler at ptb.de Thu Feb 16 17:53:21 2017 From: erik.benkler at ptb.de (E_Ben) Date: Thu, 16 Feb 2017 09:53:21 -0700 (MST) Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1487251150.2065.6.camel@scilab-enterprises.com> References: <1486903242298-4035469.post@n3.nabble.com> <1486993773.2114.5.camel@scilab-enterprises.com> <1486998150255-4035478.post@n3.nabble.com> <1486999096.2114.7.camel@scilab-enterprises.com> <1487002847861-4035480.post@n3.nabble.com> <1487003172.2114.9.camel@scilab-enterprises.com> <1487026333926-4035483.post@n3.nabble.com> <1487251150.2065.6.camel@scilab-enterprises.com> Message-ID: <1487264001426-4035503.post@n3.nabble.com> Hi Clement, since I still cannot resolve the problem, I try to be as precise as possible in my decription of what I did: 1) As you recommended, I did a clean build of scilab again (although I had actually done that already before). Here is what I did in a terminal, starting in a new, empty folder ~/scilab_build: git clone -b master --depth=1 git://git.scilab.org/scilab.git ~/scilab_build/scilab_master svn --force checkout --username anonymous --password Scilab svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/linux_x64/ ~/scilab_build/scilab_master/scilab cd ~/scilab_build/scilab_master/scilab ./configure --without-modelica make 2) I think the building process itself is not the problem, because I can successfully start the scilab gui from the build folder by typing "scilab" in the folder ~/scilab_build/scilab_master/scilab/bin/ -> scilab starts as expected in gui mode. There are two processes running: scilab and lt-scilab-bin The folders BWidget, tcl8, tcl8.5 and tk8.5 are present in ~/scilab_build/scilab_master/scilab/modules/tclsci/tcl/ 3) However, when I install scilab in the Ubuntu tree by typing sudo make install and run scilab from anywhere in the tree, and as any user, by simply typing "scilab" on the prompt, it starts the two processes scilab and scilab-bin (without lt-), but no gui opens. The backtrace is the same that I posted already in this thread. The folders BWidget, tcl8, tcl8.5 and tk8.5 are missing in /usr/local/share/scilab/modules/tclsci/tcl/ which is probably part of the problem. Hence, I copied the 4 folders there and set permissions to 644 as done by make install with the other files, but that also didn't help. It seems that make install does not copy all required files to the proper places? Because in the build path (~/scilab_build/scilab_master/scilab), all required files seem to be present, because it works when started from there. -- View this message in context: http://mailinglists.scilab.org/Scilab-does-not-start-properly-after-make-install-on-Ubuntu-16-10-tp4035469p4035503.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Fri Feb 17 18:41:04 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 17 Feb 2017 18:41:04 +0100 Subject: [Scilab-Dev] 6.0 branched from master In-Reply-To: <1485537182.2387.13.camel@scilab-enterprises.com> References: <1485537182.2387.13.camel@scilab-enterprises.com> Message-ID: <4f48b395-8ff4-2a7e-133d-2f878bbb5437@free.fr> Hello Cl?ment, Le 27/01/2017 ? 18:13, Cl?ment David a ?crit : > Dear developers, advanced users, > > The 6.0 branch has been created and will be used for Scilab 6.0.0 . Now that this version is released, where should we commit changes for 6.0.1? In my thoughts, 6.0 included all forthcoming 6.0.x. But the 6.0 CHANGES is still the 6.0.0 one. If merging 6.0 => master is always possible, i guess that at some point, merging master => 6.0 will become impossible unless releasing 6.1.. BR Samuel From antoine.elias at scilab-enterprises.com Fri Feb 17 23:03:23 2017 From: antoine.elias at scilab-enterprises.com (antoine.elias at scilab-enterprises.com) Date: Fri, 17 Feb 2017 23:03:23 +0100 Subject: [Scilab-Dev] 6.0 branched from master In-Reply-To: <4f48b395-8ff4-2a7e-133d-2f878bbb5437@free.fr> References: <1485537182.2387.13.camel@scilab-enterprises.com> <4f48b395-8ff4-2a7e-133d-2f878bbb5437@free.fr> Message-ID: <9d23bdabb9d8b90a8247d314387b1b93@scilab-enterprises.com> Hello Samuel, branch 6.0 is for version 6.0.0 to 6.0.x branch master is for 6.1.0 to < 7.0.0 Normally, 6.0.1 is for bug fixes or small improvement. In doubt, push your commits on branch master and we cherry pick commits on 6.0 branch if needed. Branch 6.0 will be regularly merged in master. The opposite will never happen. HTH Antoine Le 2017-02-17 18:41, Samuel Gougeon a ?crit?: > Hello Cl?ment, > > Le 27/01/2017 ? 18:13, Cl?ment David a ?crit : >> Dear developers, advanced users, >> >> The 6.0 branch has been created and will be used for Scilab 6.0.0 . > > Now that this version is released, where should we commit changes for > 6.0.1? > In my thoughts, 6.0 included all forthcoming 6.0.x. But the 6.0 > CHANGES is still the 6.0.0 one. > > If merging 6.0 => master is always possible, i guess that at some > point, merging master => 6.0 will become impossible unless releasing > 6.1.. > > BR > Samuel > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev From grocer.toolbox at gmail.com Sat Feb 18 09:27:12 2017 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Sat, 18 Feb 2017 09:27:12 +0100 Subject: [Scilab-Dev] Scilab 6.0.0 has been released ! In-Reply-To: <1487233426.2065.1.camel@scilab-enterprises.com> References: <1487233426.2065.1.camel@scilab-enterprises.com> Message-ID: Thanks for this great achievement and for asking our opinion on Scilab future. For me the priority should be to improve execution speed, which lags behind state of art similar software, in particular since Julia ( http://julialang.org/), which is a valuable competitor for the kind of applications I develop, has been released. Almost as important, it should be urgent I think to make readxls work with Excel versions beyond 2003: yes, you can always save an Excel file created in recent versions into an Excel 2003 one but a) it is still less straigthforward than importing directly the original file b) it prevents automatic treatment, such as importing automatically data from internet each time they are updated and running automated treatments on them. Two less important avenues: - updating the mfile2sci program, which has some shortcomings and which has not been updated to more recent Matlab releases; - making toolboxes developped over time by various Scilab developpers work with Scilab-6.0.0 (for instance Xls link that does insatll properly even with Scilab 5.5.2). Best regards ?ric 2017-02-16 9:23 GMT+01:00 Cl?ment David < clement.david at scilab-enterprises.com>: > Dear Scilab developers, > > Scilab 6.0.0 is now out [1]. Thanks to everyone who helped build this > brand new version ! > > We still have bugs and want to start adding features using Scilab 6 brand > new capabilities. For the > upcoming 6.0.1 release, we will continue the bug fixes and help > improvement started on the 6.0 > branch. Do not hesitate to set up the git branch and push your changes ! > > As a mid-term target, we also planned some work for 6.1.0 and we have some > idea about our next > revision. For exemple (incomplete list): > * help browser improvement (targetting a best indexation and removing > javahelp dependency) > * using analysis for execution speedup > * more demos and help dedicated pages > * import() like python and javascript > * graphical improvement (treeview in uicontrols, uicontrol graphic export) > > Do you have other ideas, requests for the near future ? > > > [1]: http://www.scilab.org/community/news/scilab6 > [2]: https://wiki.scilab.org/CategorySep > > Thanks for your involvement, > > ? > Cl?ment > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.strelkov at gmail.com Sat Feb 18 18:55:18 2017 From: n.strelkov at gmail.com (Nikolay Strelkov) Date: Sat, 18 Feb 2017 20:55:18 +0300 Subject: [Scilab-Dev] MinGw toolbox 0.10.0 is not compatible with Scilab 6.0 Message-ID: Dear Scilab users and developers! I have installed Scilab 6.0 x86 and x86_64 on my Windows 8.1 x86_64 laptop. Also I have downloaded and installed gcc-6.2.0 for x86 and x86_64 as prerequisites of MingGw toolbox . Then I installed MinGw toolbox in Scilabs with atomsInstall('mingw'). This process was successful. Then I restarted Scilab and tried to test MinGw toolbox with atomsTest('mingw'). The results are not good - on both x86 and x86_64 - 13 tests of 15 are failed. Only *G_make* and *dllinfo* are passed. I do not attach logs - the error is always the same "failed: Slave Scilab exited with error code 1 ". If I launch these unit-tests manually (with cd SCIHOME\atoms\x64\mingw\0.10. 0\tests\unit_tests\ and corresponding exec *.tst ) I got messages such as WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\ atoms\x64\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found. make: *** No rule to make target 'all'. Stop. at line 25 of function dlwCompile ( C:\Users\nikolay\AppData\ Roaming\Scilab\SCILAB~2.0\atoms\x64\mingw\010~1.0\macros\windows\dlwCompile.sci line 34 ) at line 70 of function ilib_compile ( C:\Program Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_compile.sci line 86 ) at line 129 of function ilib_build ( C:\Program Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_build.sci line 142 ) at line 17 of executed file C:\Users\nikolay\AppData\ Roaming\Scilab\scilab-6.0.0\atoms\x64\mingw\0.10.0\tests\ unit_tests\addinter.tst ilib_compile: Error while executing Makelib. Also I tried to launch Xcos model with Modelica blocks with xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos"); then with Simulation->Start got error in console --> xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos"); --------------------------------------------\ Main Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\ Bridge_Rectifier_im.mo Flat Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\ Bridge_Rectifier_imf.mo Simulation C code :C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\ Bridge_Rectifier_im.c Generate a loader file Generate a Makefile WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\ atoms\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found. Running the Makefile Compilation of Bridge_Rectifier_im.obj Building shared library (be patient) make: *** No rule to make target 'clean'. Stop. !sorry compiling problem ! ! ! !ilib_compile: Error while executing Makelib. ! c_pass1: build the modelica meta-block failed xcos_simulate: Error during block parameters update. After manual move of 'scripts/TEMPLATE_MAKEFILE.MINGW' to 'macros/scripts/TEMPLATE_MAKEFILE.MINGW' atomsTest('mingw') reports 10 passed tests (failed are: *addinter, ilib_build, ilib_build_2, ilib_build_cpp, links*). But Xcos models with Modelica blocks can be simulated except 2 crashes (*Ball on a Platform* and *Chaos Modelica*) Scilab 5.5.2 (x86 and x86_64) works normally on the same machine with mingw-0.9.3 (and gcc-4.6.3). Where is an error - in Scilab or in MinGw toolbox? Should I report bug? -- *With best regards,Ph.D., assistant professor at MPEI ,IEEE member,maintainer of Mathieu functions toolbox for Scilab ,Nikolay Strelkov.* -------------- next part -------------- An HTML attachment was scrubbed... URL: From lambdasoftware at yahoo.es Sun Feb 19 00:58:23 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Sat, 18 Feb 2017 21:58:23 -0200 Subject: [Scilab-Dev] Object Orientation Message-ID: <1487462303.3561.1.camel@yahoo.es> Hi everybody, i'm implementing object orientation in SciLAB, begin for inheritance, encapsulation, and aggregation. With a syntax like: class GeometricHandle public attribute = 5; public function calc(x) return x = x * attribute; endfunction endclass instance = GeometricHandle(); instance.calc(10); --> I'm searching for inspiration in Struct DataType. I believe I can use it as a base. So, I need to ask. What prevents me to insert a function inside a struct ? Like someting:? instance = struct(); instance.attribute = 5; instance.calc = function(x) return x = x * attribute; endfunction; Because of what i understood, in the Scilab's??core the??struct datatype uses a class named SingleStruct , which in turn,??uses the class InternalType to handle the struct's content. And the class InternalType can handle functions. If someone has a better idea I would like to listen. -- Amanda Osvaldo -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Mon Feb 20 09:56:40 2017 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 20 Feb 2017 09:56:40 +0100 Subject: [Scilab-Dev] =?utf-8?b?Pz09P3V0Zi04P3E/ICBTY2lsYWIgNi4wLjAgIGhh?= =?utf-8?q?s_been_released_!?= In-Reply-To: <1487233426.2065.1.camel@scilab-enterprises.com> Message-ID: <35a0-58aaaf80-5-7e4ee700@119358731> Hi, Thanks for this good news. I think ironing out the most annoying bugs (like comments stopping code execution from scinotes) is crucial now that 6.0 is out of beta. That being said, I see the following as major improvements for the next version to come: - improve the help content. That's were Scilab is really behind comparable softwares (octave, matlab, ...). Most of the time, the help page for a given function looks more like some notes hastily taken by someone who already know how to use the function instead of a proper help page.- make uman part of scilab by default (I already briefly discuss this with Samuel). When one uses scilab in the command line, having a decent help system in the command line is key. - uicontrols: there is a lot of work to do. The help pages are really terrible and confusing. Try 'help layout' to see what I mean: I had to browse java help pages to try to understand what the differences are between the different layouts and how to tune them. There are many bugs, missing functionalities and incoherences related to uicontrols. - better/new graphic export functions. As such, it's almost impossible to export in a vectorial format (svg, pdf or eps) a graph containing a complex contourf or grayplot. Could we get a hybrid export: bitmap for the complex grayplot embedded in a svg/pdf/eps file where all the rest (axes, labels, ticks) are vectorial? - transparency support in graphics: again, what can be achieved with scilab cannot compete with matplotlib and the likes. - proper debug & breakpoint support in scinotes. That's all I can think of for the moment. Cheers, Antoine Le Jeudi, F?vrier 16, 2017 09:23 CET, Cl?ment David a ?crit: > Dear Scilab developers, > > Scilab 6.0.0 is now out [1]. Thanks to everyone who helped build this brand new version?! > > We still have bugs and want to start adding features using Scilab 6 brand new capabilities. For the > upcoming 6.0.1 release, we will continue the bug fixes and help improvement started on the 6.0 > branch. Do not hesitate to set up the git branch and push your changes ! > > As a mid-term target, we also planned some work for 6.1.0 and we have some idea about our next > revision. For exemple (incomplete list): > * help browser improvement (targetting a best indexation and removing javahelp dependency) > * using analysis for execution speedup > * more demos and help dedicated pages > * import() like python and javascript > * graphical improvement (treeview in uicontrols, uicontrol graphic export) > > Do you have other ideas, requests for the near future ? > > > [1]: http://www.scilab.org/community/news/scilab6 > [2]: https://wiki.scilab.org/CategorySep > > Thanks for your involvement, > > ? > Cl?ment > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > From clement.david at scilab-enterprises.com Mon Feb 20 10:36:33 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Mon, 20 Feb 2017 10:36:33 +0100 Subject: [Scilab-Dev] Object Orientation In-Reply-To: <1487462303.3561.1.camel@yahoo.es> References: <1487462303.3561.1.camel@yahoo.es> Message-ID: <1487583393.2130.5.camel@scilab-enterprises.com> Hi Amanda, > I'm searching for inspiration in Struct DataType. I believe I can use it as a base. > > So, I need to ask. > > What prevents me to insert a function inside a struct ? Nothing :) ! From the user point of view, a function can be passed by value and called later. > Because of what i understood, in the Scilab's??core the??struct datatype uses a class named > SingleStruct , which in turn,??uses the class InternalType to handle the struct's content. > > And the class InternalType can handle functions. > > If someone has a better idea I would like to listen. Some times ago, a detailed analysis has been done to implement (aka emulate as this is not native) an object oriented paradigm. Like in Javascript or Python, the user should just follow some coding conventions to define the object and pass it around. However I prefer using an mlist() rather than a struct() to avoid multi-dimensional issues ; a struct() have multiple dimensions defined by : a.b = 1; a // 1x1 struct a(4,5).b = 2; // resize a a // 4x5 struct with empty "b" values Do not hesitate to contribute and edit the wiki if you need / look for more tests ! [1]: https://wiki.scilab.org/Emulate%20Object%20Oriented%20in%20Scilab Thanks, -- Cl?ment From Alain.Lamy at cnes.fr Mon Feb 20 10:36:19 2017 From: Alain.Lamy at cnes.fr (Lamy Alain) Date: Mon, 20 Feb 2017 09:36:19 +0000 Subject: [Scilab-Dev] [Scilab-users] MinGw toolbox 0.10.0 is not compatible with Scilab 6.0 In-Reply-To: References: Message-ID: <8F232902ADB4E14EB16789FB7006FC8459E8A9E0@TW-MBX-P01.cnesnet.ad.cnes.fr> Hello ! I had the same problem. The work-around is to copy the ?scripts? directory (in MinGW home directory) in ?macros?. I already opened a ticket about this point. Alain De : users [mailto:users-bounces at lists.scilab.org] De la part de Nikolay Strelkov Envoy? : samedi 18 f?vrier 2017 18:55 ? : International users mailing list for Scilab.; dev at lists.scilab.org Objet : [Scilab-users] MinGw toolbox 0.10.0 is not compatible with Scilab 6.0 Dear Scilab users and developers! I have installed Scilab 6.0 x86 and x86_64 on my Windows 8.1 x86_64 laptop. Also I have downloaded and installed gcc-6.2.0 for x86 and x86_64 as prerequisites of MingGw toolbox. Then I installed MinGw toolbox in Scilabs with atomsInstall('mingw'). This process was successful. Then I restarted Scilab and tried to test MinGw toolbox with atomsTest('mingw'). The results are not good - on both x86 and x86_64 - 13 tests of 15 are failed. Only G_make and dllinfo are passed. I do not attach logs - the error is always the same "failed: Slave Scilab exited with error code 1 ". If I launch these unit-tests manually (with cd SCIHOME\atoms\x64\mingw\0.10.0\tests\unit_tests\ and corresponding exec *.tst ) I got messages such as WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\atoms\x64\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found. make: *** No rule to make target 'all'. Stop. at line 25 of function dlwCompile ( C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\atoms\x64\mingw\010~1.0\macros\windows\dlwCompile.sci line 34 ) at line 70 of function ilib_compile ( C:\Program Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_compile.sci line 86 ) at line 129 of function ilib_build ( C:\Program Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_build.sci line 142 ) at line 17 of executed file C:\Users\nikolay\AppData\Roaming\Scilab\scilab-6.0.0\atoms\x64\mingw\0.10.0\tests\unit_tests\addinter.tst ilib_compile: Error while executing Makelib. Also I tried to launch Xcos model with Modelica blocks with xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos"); then with Simulation->Start got error in console --> xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos"); --------------------------------------------\ Main Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\Bridge_Rectifier_im.mo Flat Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\Bridge_Rectifier_imf.mo Simulation C code :C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\Bridge_Rectifier_im.c Generate a loader file Generate a Makefile WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\atoms\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found. Running the Makefile Compilation of Bridge_Rectifier_im.obj Building shared library (be patient) make: *** No rule to make target 'clean'. Stop. !sorry compiling problem ! ! ! !ilib_compile: Error while executing Makelib. ! c_pass1: build the modelica meta-block failed xcos_simulate: Error during block parameters update. After manual move of 'scripts/TEMPLATE_MAKEFILE.MINGW' to 'macros/scripts/TEMPLATE_MAKEFILE.MINGW' atomsTest('mingw') reports 10 passed tests (failed are: addinter, ilib_build, ilib_build_2, ilib_build_cpp, links). But Xcos models with Modelica blocks can be simulated except 2 crashes (Ball on a Platform and Chaos Modelica) Scilab 5.5.2 (x86 and x86_64) works normally on the same machine with mingw-0.9.3 (and gcc-4.6.3). Where is an error - in Scilab or in MinGw toolbox? Should I report bug? -- With best regards, Ph.D., assistant professor at MPEI, IEEE member, maintainer of Mathieu functions toolbox for Scilab, Nikolay Strelkov. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Mon Feb 20 17:46:09 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Mon, 20 Feb 2017 17:46:09 +0100 Subject: [Scilab-Dev] Problem with advanced mode using scilab within Eclipse In-Reply-To: <1485934146033-4035434.post@n3.nabble.com> References: <1463954776963-4034100.post@n3.nabble.com> <1464074206.3361.22.camel@scilab-enterprises.com> <1464184507513-4034120.post@n3.nabble.com> <1464877243.2462.35.camel@scilab-enterprises.com> <1485934146033-4035434.post@n3.nabble.com> Message-ID: <1487609169.2130.12.camel@scilab-enterprises.com> Hi Daniel, Le mercredi 01 f?vrier 2017 ? 00:29 -0700, danielN a ?crit?: > our Tips doesnt work. What am I doing wrong ? > > Picture: > ? This error is due to a mis-initialization of Scilab (either a missing jar, missing dll/so, missing "SCI" or "SCIHOME") we used to launch scilab [1]. To have a full backtrace and ease your developments, I suggest you to use local jar built with debugging enabled ; you will be the line thus the missing thing. [1]: http://cgit.scilab.org/cgit.cgi/scilab/tree/scilab/modules/commons/src/java/org/scilab/modules/ commons/xml/XConfiguration.java#n74 Thanks, -- Cl?ment From n.strelkov at gmail.com Mon Feb 20 18:31:18 2017 From: n.strelkov at gmail.com (nikolay) Date: Mon, 20 Feb 2017 10:31:18 -0700 (MST) Subject: [Scilab-Dev] [Scilab-users] MinGw toolbox 0.10.0 is not compatible with Scilab 6.0 Message-ID: Thank you, Alain! I found your ticket on Scilab forge. It seems to be fixed with latest source version of the toolbox - 0.10.1 ( http://atoms.scilab.org/toolboxes/mingw/0.10.1/files/MinGW-toolbox.zip, MD5= 553c9f4659cbc2f7bbdaba9d24507324). I reported two new issues about wrong links.dia.ref and failed unit-tests ('addinter', 'ilib_build', 'ilib_build_2', 'ilib_build_cpp') because of missed sci_mem_alloc.h header file. As toolbox maintainer and developer I could say that unit-testing is very important and I'm very happy when my toolbox passes all unit-tests in current and fresh versions of Scilab. -- *With best regards,Ph.D., assistant professor at MPEI ,IEEE member,maintainer of Mathieu functions toolbox for Scilab ,Nikolay Strelkov.* 2017-02-20 12:46 GMT+03:00 Alain LAMY [via Scilab / Xcos - Mailing Lists Archives] : > Hello ! > > > > I had the same problem. > > The work-around is to copy the ?scripts? directory (in MinGW home > directory) in ?macros?. > > I already opened a ticket about this point. > > > > Alain > > > > > > *De :* users [mailto:[hidden email] > ] *De la part de* > Nikolay Strelkov > *Envoy? :* samedi 18 f?vrier 2017 18:55 > *? :* International users mailing list for Scilab.; [hidden email] > > *Objet :* [Scilab-users] MinGw toolbox 0.10.0 is not compatible with > Scilab 6.0 > > > > Dear Scilab users and developers! > > > > I have installed Scilab 6.0 x86 and x86_64 on my Windows 8.1 x86_64 laptop. > > > > Also I have downloaded and installed gcc-6.2.0 for x86 > > and x86_64 > as > prerequisites of MingGw toolbox > . > > Then I installed MinGw toolbox in Scilabs with atomsInstall('mingw'). > This process was successful. > > Then I restarted Scilab and tried to test MinGw toolbox with > atomsTest('mingw'). > > > > The results are not good - on both x86 and x86_64 - 13 tests of 15 are > failed. Only *G_make* and *dllinfo* are passed. > > I do not attach logs - the error is always the same "failed: Slave Scilab > exited with error code 1 ". > > > > If I launch these unit-tests manually (with cd > SCIHOME\atoms\x64\mingw\0.10.0\tests\unit_tests\ and corresponding exec > *.tst ) > > I got messages such as > > > > WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\ > atoms\x64\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found. > > > > make: *** No rule to make target 'all'. Stop. > > at line 25 of function dlwCompile ( C:\Users\nikolay\AppData\ > Roaming\Scilab\SCILAB~2.0\atoms\x64\mingw\010~1.0\macros\windows\dlwCompile.sci > line 34 ) > > at line 70 of function ilib_compile ( C:\Program > Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_compile.sci line 86 ) > > at line 129 of function ilib_build ( C:\Program > Files\scilab-6.0.0\modules\dynamic_link\macros\ilib_build.sci line 142 ) > > at line 17 of executed file C:\Users\nikolay\AppData\ > Roaming\Scilab\scilab-6.0.0\atoms\x64\mingw\0.10.0\tests\ > unit_tests\addinter.tst > > > > ilib_compile: Error while executing Makelib. > > > > > > Also I tried to launch Xcos model with Modelica blocks with > xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos"); > > then with Simulation->Start got error in console > > --> xcos("SCI/modules/xcos/demos/Electrical/Bridge_Rectifier.zcos"); > > --------------------------------------------\ > > Main Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\ > Bridge_Rectifier_im.mo > > > > Flat Modelica : C:\Users\nikolay\AppData\Local\Temp\SCI_TMP_6052_26419\ > Bridge_Rectifier_imf.mo > > Simulation C code :C:\Users\nikolay\AppData\ > Local\Temp\SCI_TMP_6052_26419\Bridge_Rectifier_im.c > > Generate a loader file > > Generate a Makefile > > WARNING: C:\Users\nikolay\AppData\Roaming\Scilab\SCILAB~2.0\ > atoms\mingw\010~1.0\macros\scripts\TEMPLATE_MAKEFILE.MINGWnot found. > > Running the Makefile > > Compilation of Bridge_Rectifier_im.obj > > Building shared library (be patient) > > > > make: *** No rule to make target 'clean'. Stop. > > > > !sorry compiling problem ! > > ! ! > > !ilib_compile: Error while executing Makelib. ! > > > > c_pass1: build the modelica meta-block failed > > > > xcos_simulate: Error during block parameters update. > > > > > > After manual move of 'scripts/TEMPLATE_MAKEFILE.MINGW' to > 'macros/scripts/TEMPLATE_MAKEFILE.MINGW' atomsTest('mingw') > > reports 10 passed tests (failed are: *addinter, ilib_build, ilib_build_2, > ilib_build_cpp, links*). > > But Xcos models with Modelica blocks can be simulated except 2 crashes (*Ball > on a Platform* and *Chaos Modelica*) > > > > Scilab 5.5.2 (x86 and x86_64) works normally on the same machine with > mingw-0.9.3 (and gcc-4.6.3). > > > > > > > > Where is an error - in Scilab or in MinGw toolbox? > > Should I report bug? > > > > > -- > > > *With best regards, * > > > *Ph.D., assistant professor at MPEI > , IEEE member, maintainer of > Mathieu functions toolbox for Scilab > , Nikolay Strelkov.* > > _______________________________________________ > dev mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/dev > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://mailinglists.scilab.org/MinGw-toolbox-0-10-0-is- > not-compatible-with-Scilab-6-0-tp4035515p4035531.html > To start a new topic under Scilab developers - Mailing Lists Archives, > email ml-node+s994242n2574944h49 at n3.nabble.com > To unsubscribe from Scilab developers - Mailing Lists Archives, click here > > . > NAML > > -- View this message in context: http://mailinglists.scilab.org/Re-Scilab-users-MinGw-toolbox-0-10-0-is-not-compatible-with-Scilab-6-0-tp4035538.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.strelkov at gmail.com Tue Feb 21 12:09:17 2017 From: n.strelkov at gmail.com (nikolay) Date: Tue, 21 Feb 2017 04:09:17 -0700 (MST) Subject: [Scilab-Dev] [Scilab-users] MinGw toolbox 0.10.0 is not compatible with Scilab 6.0 Message-ID: Version 0.10.2 (MD5=a6540533136213e248e81770f1573991) fixes all bugs. Thank you, Antoine, for great toolbox and fast support! I reported bug in Scilab 6 about Modelica demos - "Chaos Modelica" and wrote comment on "Ball on a Platform" . -- *With best regards,Ph.D., assistant professor at MPEI ,IEEE member,maintainer of Mathieu functions toolbox for Scilab ,Nikolay Strelkov.* -- View this message in context: http://mailinglists.scilab.org/Re-Scilab-users-MinGw-toolbox-0-10-0-is-not-compatible-with-Scilab-6-0-tp4035541.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at kybdr.de Sat Feb 18 14:02:30 2017 From: lists at kybdr.de (Dirk Reusch) Date: Sat, 18 Feb 2017 14:02:30 +0100 Subject: [Scilab-Dev] Scilab 6.0 // Implementation of user-defined types Message-ID: <20170218140230.69ab10af@lemon> Hello, is there (apart from source code of Scilab itself) any documentation/tutorial/example available, which provides a good starting point on how to implement user-defined types in the new Scilab 6.0? Thanks, Dirk From clement.david at scilab-enterprises.com Tue Feb 21 16:58:44 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Tue, 21 Feb 2017 16:58:44 +0100 Subject: [Scilab-Dev] Scilab 6.0 // Implementation of user-defined types In-Reply-To: <20170218140230.69ab10af@lemon> References: <20170218140230.69ab10af@lemon> Message-ID: <1487692724.2090.5.camel@scilab-enterprises.com> Hi Dirk, > is there (apart from source code of Scilab itself) any > documentation/tutorial/example available, which provides > a good starting point on how to implement user-defined types > in the new Scilab 6.0? Nice question, we currently only have internal code using it even if the code contains some documentation. You can find example in the Scilab code : * on Xcos adapters, see modules/scicos/src/cpp/view_scilab/BaseAdapter.hxx and other file on this directory. written by me (and Paul) without previous knowledge * on MPI Communicators, see modules/mpi/includes/sciMpiComm.hxx written by C?dric who also implemented part of the visitor_common.cpp (the interpreter) As you will have access to all the inner implementation details of Scilab 6, you will probably experience some crashes while developing and suffer on reference-counting issues but you will be free to implement whatever you want ! Do not hesitate to share your experience or ask questions. Thanks, -- Cl?ment From clement.david at scilab-enterprises.com Tue Feb 21 18:18:41 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Tue, 21 Feb 2017 18:18:41 +0100 Subject: [Scilab-Dev] Scilab does not start properly after make install on Ubuntu 16.10 In-Reply-To: <1487264001426-4035503.post@n3.nabble.com> References: <1486903242298-4035469.post@n3.nabble.com> <1486993773.2114.5.camel@scilab-enterprises.com> <1486998150255-4035478.post@n3.nabble.com> <1486999096.2114.7.camel@scilab-enterprises.com> <1487002847861-4035480.post@n3.nabble.com> <1487003172.2114.9.camel@scilab-enterprises.com> <1487026333926-4035483.post@n3.nabble.com> <1487251150.2065.6.camel@scilab-enterprises.com> <1487264001426-4035503.post@n3.nabble.com> Message-ID: <1487697521.2090.7.camel@scilab-enterprises.com> Hi Erik, > 3) However, when I install scilab in the Ubuntu tree by typing > > sudo make install > > and run scilab from anywhere in the tree, and as any user, by simply typing > "scilab" on the prompt, it starts the two processes scilab and scilab-bin > (without lt-), but no gui opens. The backtrace is the same that I posted > already in this thread.? > The folders BWidget, tcl8, tcl8.5 and tk8.5 are missing in > /usr/local/share/scilab/modules/tclsci/tcl/ > which is probably part of the problem. Hence, I copied the 4 folders there > and set permissions to 644 as done by make install with the other files, but > that also didn't help. It seems that make install does not copy all required > files to the proper places? Because in the build path > (~/scilab_build/scilab_master/scilab), all required files seem to be > present, because it works when started from there. Nice catch, this is probably the issue. In the current binary version, we copy the prerequirements after the make install. You have to do so on any local install. I never use a local install build to check but prefer to use a locally packaged version without Scilab prerequirements but packaged dependencies instead OR a local build (in the git directory) with Scilab prerequirements. IMHO we can add special prerequirement copies on `make install` to ease developer life and simplify local install. Could you open a bug on it please ? Thanks for the information, -- Cl?ment From lambdasoftware at yahoo.es Tue Feb 21 19:48:03 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Tue, 21 Feb 2017 15:48:03 -0300 Subject: [Scilab-Dev] Object Orientation In-Reply-To: <1487583393.2130.5.camel@scilab-enterprises.com> References: <1487462303.3561.1.camel@yahoo.es> <1487583393.2130.5.camel@scilab-enterprises.com> Message-ID: <1487702883.18976.1.camel@yahoo.es> Hi Cl?ment. I'm happy to know the community appreciate the object oriented approaching in SciLAB. I want to start with a fake Object Orientation, however, how I can learn about the SciLAB's bytecodes to implement a true Object Orientation ? -- Amanda Osvaldo On Mon, 2017-02-20 at 10:36 +0100, Cl?ment David wrote: > Hi Amanda, > > > I'm searching for inspiration in Struct DataType. I believe I can > > use it as a base. > > > > So, I need to ask. > > > > What prevents me to insert a function inside a struct ? > > Nothing :) ! From the user point of view, a function can be passed by > value and called later. > > > Because of what i understood, in the Scilab's??core the??struct > > datatype uses a class named > > SingleStruct , which in turn,??uses the class InternalType to > > handle the struct's content. > > > > And the class InternalType can handle functions. > > > > If someone has a better idea I would like to listen. > > Some times ago, a detailed analysis has been done to implement (aka > emulate as this is not native) > an object oriented paradigm. Like in Javascript or Python, the user > should just follow some coding > conventions to define the object and pass it around. However I prefer > using an mlist() rather than a > struct() to avoid multi-dimensional issues ; a struct() have multiple > dimensions defined by : > > a.b = 1; > a // 1x1 struct > a(4,5).b = 2; // resize a > a // 4x5 struct with empty "b" values > > Do not hesitate to contribute and edit the wiki if you need / look > for more tests ! > > [1]: https://wiki.scilab.org/Emulate%20Object%20Oriented%20in%20Scila > b > > Thanks, > > -- > Cl?ment > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Feb 21 21:44:40 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 21 Feb 2017 21:44:40 +0100 Subject: [Scilab-Dev] Scilab 6.0 // Implementation of user-defined types In-Reply-To: <20170218140230.69ab10af@lemon> References: <20170218140230.69ab10af@lemon> Message-ID: Hello Dirk, Your question is funny, because it could be somewhat about the typename() function, that has been simplified in Scilab 6: The syntax*typename**(**name**, **type**)* has been removed: 5.5.2: https://help.scilab.org/docs/5.5.2/en_US/typename.html 6.0.0: https://help.scilab.org/docs/6.0.0/en_US/typename.html IMO, it was in the top 5 most obscure feature of Scilab <6 :) I never saw any clear explanation nor example of usage about it for 20 years. Maybe it was only silently failing: In Scilab 5: -->t = tlist(["test" "r"],%pi); -->t.r ans = 3.1415927 -->typename("test", 140) -->type(t) ans = 16. Maybe the only really related (and not concluding) entry in the whole Scilab knowledges database is: http://bugzilla.scilab.org/5621 But your question could also be about custom "typeof". Then, the best entries are likely https://help.scilab.org/docs/6.0.0/en_US/tlist.html and https://help.scilab.org/docs/6.0.0/en_US/mlist.html Coming back to the example here-above: --> // Creating a new typeof object named "mytype" --> // with fields "num", "bool", "poly", "txt" --> t = tlist(["mytype" "num" "bool" "poly" "txt"]); --> // Assigning initial values to fields --> t.num = %pi; --> t.bool = %f; --> t.poly = (1-%z)^3; --> t.txt = ["Hello" "Allo" "Hallo"] t = t(1) !mytype num bool poly txt ! t(2) 3.1415927 t(3) F t(4) 2 3 1 -3z +3z -z t(5) !Hello Allo Hallo ! --> typeof(t) ans = mytype Nothing has changed between Scilab 5 and Scilab 6 about that. HTH Samuel Le 18/02/2017 ? 14:02, Dirk Reusch a ?crit : > Hello, > > is there (apart from source code of Scilab itself) any > documentation/tutorial/example available, which provides > a good starting point on how to implement user-defined types > in the new Scilab 6.0? > > Thanks, > > Dirk > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Feb 21 21:49:30 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 21 Feb 2017 21:49:30 +0100 Subject: [Scilab-Dev] Object Orientation In-Reply-To: <1487702883.18976.1.camel@yahoo.es> References: <1487462303.3561.1.camel@yahoo.es> <1487583393.2130.5.camel@scilab-enterprises.com> <1487702883.18976.1.camel@yahoo.es> Message-ID: <6e013e5d-0eb7-dfbd-8b0b-0782b4457638@free.fr> Hi Amanda, Le 21/02/2017 ? 19:48, Amanda Osvaldo a ?crit : > Hi Cl?ment. > > I'm happy to know the community appreciate the object oriented > approaching in SciLAB. > > I want to start with a fake Object Orientation, however, how I can > learn about the SciLAB's bytecodes to implement a true Object > Orientation ? You might find the top of the iceberg by editing the macro --> edit tree2code and by analysing the macr2tree() builtin function HTH Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Feb 21 21:52:15 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 21 Feb 2017 21:52:15 +0100 Subject: [Scilab-Dev] Scilab 6.0 // Implementation of user-defined types In-Reply-To: References: <20170218140230.69ab10af@lemon> Message-ID: <9e9d6ae9-b813-b821-7585-3955d64ca346@free.fr> Le 21/02/2017 ? 21:44, Samuel Gougeon a ?crit : > .../... > Nothing has changed between Scilab 5 and Scilab 6 about that. Except that types names can now be longer than 8 characters. Regards From lambdasoftware at yahoo.es Tue Feb 21 22:19:28 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Tue, 21 Feb 2017 18:19:28 -0300 Subject: [Scilab-Dev] Object Orientation In-Reply-To: <6e013e5d-0eb7-dfbd-8b0b-0782b4457638@free.fr> References: <1487462303.3561.1.camel@yahoo.es> <1487583393.2130.5.camel@scilab-enterprises.com> <1487702883.18976.1.camel@yahoo.es> <6e013e5d-0eb7-dfbd-8b0b-0782b4457638@free.fr> Message-ID: <1487711968.29253.1.camel@yahoo.es> Hi, it's very interesting. I have followed it at sci_macr2tree.c that appears the macr2tree macro. But i don't understand how sci_macr2tree.c separates the function code from all SciLAB's memory.I think the SciLAB macro memory it's like a binary stream without any markers that define where a macro starts or ends. Someone, tell me if I'm wrong. Apropos, what it's te AST module ?It appears a Virtual Machine with a parser. -- Amanda On Tue, 2017-02-21 at 21:49 +0100, Samuel Gougeon wrote: > ????Hi Amanda, > > ?????? > > ??????Le 21/02/2017 ? 19:48, Amanda Osvaldo a ?crit?: > > ???? > > ???? > > ??????Hi Cl?ment. > > ?????? > > > > ?????? > > ?????? > > ????????I'm happy to know the community appreciate the object > > ??????????oriented approaching in SciLAB. > > ???????? > > > > ???????? > > ????????I want to start with a fake Object Orientation, however, > > ??????????how I can learn about the SciLAB's bytecodes to implement > > a > > ??????????true Object Orientation ? > > ?????? > > ???? > > ???? > > ????You might find the top of the iceberg by editing the macro > > ????--> edit tree2code > > ????and by analysing the macr2tree() builtin function > > ???? > > ????HTH > > ????Samuel > > ???? > > ?? > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Feb 21 22:22:48 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 21 Feb 2017 22:22:48 +0100 Subject: [Scilab-Dev] Private functions in a .sci file <= Re: Multiple Functions in a sci file In-Reply-To: References: Message-ID: Hi, Le 16/02/2017 ? 06:04, Tan Chin Luh a ?crit : > > Hi, > > I am trying to troubleshoot the issue on the guibuilder in Scilab 6 > windows platform as reported by : > > https://atoms.scilab.org/toolboxes/guibuilder/3.1#comment2713 > > ----------- > I used guibuilder in 5.5.2 and was able to create a gui, open an existing gui. I just > installed it for 6.0 and the guibuilder launches, but am unable to create anything, i > get the error "Undefined variable: draw_uicontrol5" for anything that I click on > to > create. Or even to open an existing GUI. > ----------- > > I tried to reproduce the error in a simpler manner: > > 1. Write a simple sci file with 2 functions in it. > > function y = test1(x) > y = x+1; > endfunction > > function y = testa(x) > y = x+2; > endfunction > > 2. Put the file in a folder and use genlib to generate the lib > > 3. Load the library and call "test1(1)" and "testa(1)" > > In Scilab 5.5.2, both functions are callable, but in Scilab 6, only > test1 is, and calling testa will either return error "undefined > variable" or just crashed the Scilab. > > Is this meant to behave this way under "new parser and new core"? > AFAIK : yes. Now, only the first function defined in the file (or the one whose name matches the file name? To be tested) is public. All other ones are private (their domain is unclear: (likely) only the main function? or the whole library it belongs to? To be tested and documented). One of the (nice) consequences is that, now none of the private functions appears in the whos list of defined functions. They were formerly rather spamming the list. > I try to screen through what's news in Scilab 6 and bugzilla, and the > similar but not exact issue found is : > http://bugzilla.scilab.org/show_bug.cgi?id=14525 > You are right, i don't think it is already correctly documented. There were some discussions on users@ about this change since mid-2015, but since Scilab 5.5.2, the genlib() help page was improved for Scilab 5, without being updated for Scilab 6. > I try to avoid breaking out all the functions to separate files as it > will be tones of files in the folder then. > I am afraid that, if each of your functions is -- say -- a callback, it must be public, and then now it requires to be defined in a separate .sci file. Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Feb 21 22:34:20 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 21 Feb 2017 22:34:20 +0100 Subject: [Scilab-Dev] Object Orientation In-Reply-To: <1487711968.29253.1.camel@yahoo.es> References: <1487462303.3561.1.camel@yahoo.es> <1487583393.2130.5.camel@scilab-enterprises.com> <1487702883.18976.1.camel@yahoo.es> <6e013e5d-0eb7-dfbd-8b0b-0782b4457638@free.fr> <1487711968.29253.1.camel@yahoo.es> Message-ID: <81ba75d1-6a0d-b0a9-13a7-7397f64eeac8@free.fr> Le 21/02/2017 ? 22:19, Amanda Osvaldo a ?crit : > Hi, it's very interesting. > > I have followed it at *sci_macr2tree.c* that appears the macr2tree macro. > > But i don't understand how sci_macr2tree.c separates the function code > from all SciLAB's memory. > I think the SciLAB macro memory it's like a binary stream without any > markers that define where a macro starts or ends. > > *Someone, tell me if I'm wrong.* > > *Apropos, what it's te AST module ?* It is the Abstract Syntax Tree of Scilab to interpret Scilab language I guess that all rules to parse Scilab codes are now defined there. https://en.wikipedia.org/wiki/Abstract_syntax_tree -------------- next part -------------- An HTML attachment was scrubbed... URL: From lambdasoftware at yahoo.es Tue Feb 21 22:38:03 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Tue, 21 Feb 2017 18:38:03 -0300 Subject: [Scilab-Dev] How Core works ? Message-ID: <1487713083.29253.3.camel@yahoo.es> Hi, everbody. Someone knows the Java VisualVM ? It's a tool to visualize the internal function of Java Virtual Machine, it's very useful to track how the Java application it's working in real time. We have something similar for SciLAB ? For example, we have how to see in real time how the SciLAB's memory management it's working? For example, we have how to do a real time maptree from the SciLAB's macro memory ? And we can see, in real time, how user action flows into SciLAB's core in a more dynamic way without activating a C++ code coverage and mining millions of stack logs? In another words ... we have a SciLAB VisualVM ? https://www.google.com.br/search?espv=2&tbm=isch&sa=1&q=Java+VisualVM&o q=Java+VisualVM&gs_l=img.3..0i19k1.21046.21363.0.21602.4.4.0.0.0.0.136. 448.2j2.4.0.fptle%2Chm-qwp-shp- fpl%3D1%2Ccfro%3D1...0...1.1.64.img..2.2.221...0i7i30k1.Aqd7yXEtbgo -- Amanda Osvaldo -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Feb 21 22:42:14 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 21 Feb 2017 22:42:14 +0100 Subject: [Scilab-Dev] 6.0 branched from master In-Reply-To: <1485870785.2059.5.camel@scilab-enterprises.com> References: <1485537182.2387.13.camel@scilab-enterprises.com> <1485870785.2059.5.camel@scilab-enterprises.com> Message-ID: Hi Cl?ment, Le 31/01/2017 ? 14:53, Cl?ment David a ?crit : > >> Finally, >>> Do not hesitate to ping us if you already have some bugfix commit in review on master and want >>> them >>> to be applied on the 6.0 branch. >> Doesn't the CodeReview +1 flag just mean this? I believed it does. > Yes it does for commit to be merged *in the master branch*. > For already pushed commits that are currently in master but expected to be part of 6.0.0, you should > ask the team or re-push on refs/for/6.0 by yourself. I think that, by default, every commiter aims to propose and actually use in Scilab /as soon as possible/ the code he/she commits , whatever is the branch. Otherwise, he/she raises a CR-1 flag or put a WIP: in the commit message. From here, if there are restrictions to enthusiastic commits, there are also gatekeepers :) Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From chinluh at tritytech.com Wed Feb 22 02:50:19 2017 From: chinluh at tritytech.com (Tan Chin Luh) Date: Wed, 22 Feb 2017 09:50:19 +0800 Subject: [Scilab-Dev] Private functions in a .sci file <= Re: Multiple Functions in a sci file In-Reply-To: References: Message-ID: <655b16cc-8712-08e6-b67a-af14988e5cc6@tritytech.com> Hi Samuel, Thanks for your answers. best regards, Chin Luh On 22/2/2017 5:22 AM, Samuel Gougeon wrote: > Hi, > > Le 16/02/2017 ? 06:04, Tan Chin Luh a ?crit : >> >> Hi, >> >> I am trying to troubleshoot the issue on the guibuilder in Scilab 6 >> windows platform as reported by : >> >> https://atoms.scilab.org/toolboxes/guibuilder/3.1#comment2713 >> >> ----------- >> I used guibuilder in 5.5.2 and was able to create a gui, open an existing gui. I just >> installed it for 6.0 and the guibuilder launches, but am unable to create anything, i >> get the error "Undefined variable: draw_uicontrol5" for anything that I click on >> to >> create. Or even to open an existing GUI. >> ----------- >> >> I tried to reproduce the error in a simpler manner: >> >> 1. Write a simple sci file with 2 functions in it. >> >> function y = test1(x) >> y = x+1; >> endfunction >> >> function y = testa(x) >> y = x+2; >> endfunction >> >> 2. Put the file in a folder and use genlib to generate the lib >> >> 3. Load the library and call "test1(1)" and "testa(1)" >> >> In Scilab 5.5.2, both functions are callable, but in Scilab 6, only >> test1 is, and calling testa will either return error "undefined >> variable" or just crashed the Scilab. >> >> Is this meant to behave this way under "new parser and new core"? >> > > AFAIK : yes. > Now, only the first function defined in the file (or the one whose > name matches the file name? To be tested) is public. All other ones > are private (their domain is unclear: (likely) only the main function? > or the whole library it belongs to? To be tested and documented). > One of the (nice) consequences is that, now none of the private > functions appears in the whos list of defined functions. They were > formerly rather spamming the list. > >> I try to screen through what's news in Scilab 6 and bugzilla, and the >> similar but not exact issue found is : >> http://bugzilla.scilab.org/show_bug.cgi?id=14525 >> > > You are right, i don't think it is already correctly documented. There > were some discussions on users@ about this change since mid-2015, but > since Scilab 5.5.2, the genlib() help page was improved for Scilab 5, > without being updated for Scilab 6. > >> I try to avoid breaking out all the functions to separate files as it >> will be tones of files in the folder then. >> > > I am afraid that, if each of your functions is -- say -- a callback, > it must be public, and then now it requires to be defined in a > separate .sci file. > > Regards > Samuel > > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Wed Feb 22 08:48:56 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 22 Feb 2017 08:48:56 +0100 Subject: [Scilab-Dev] Object Orientation In-Reply-To: <81ba75d1-6a0d-b0a9-13a7-7397f64eeac8@free.fr> References: <1487462303.3561.1.camel@yahoo.es> <1487583393.2130.5.camel@scilab-enterprises.com> <1487702883.18976.1.camel@yahoo.es> <6e013e5d-0eb7-dfbd-8b0b-0782b4457638@free.fr> <1487711968.29253.1.camel@yahoo.es> <81ba75d1-6a0d-b0a9-13a7-7397f64eeac8@free.fr> Message-ID: <1487749736.2765.3.camel@scilab-enterprises.com> Hi Amanda and Samuel, Le mardi 21 f?vrier 2017 ? 22:34 +0100, Samuel Gougeon a ?crit?: > > But i don't understand how sci_macr2tree.c separates the function code from all SciLAB's memory. > > I think the SciLAB macro memory it's like a binary stream without any markers that define where > > a macro starts or ends. Just to clarify and provide more information about the global design of Scilab 6 by my understanding. There is only one module called "ast" [1] involved in parsing, interpreting, values (or types) definition. Sub-directories (both inside includes/ or src/cpp/) implement theses behaviors. A bison/flex parser is used to allocate Exp (for expressions) [2] based on the syntax, all the Exp objects then represent an abstract syntax tree of any Scilab code. To interpret the code, we do use intermediate bytecode but simply implemented a "visitor pattern" that traverses the Exp objects interpreting each Exp and passing values around. So the old-school switch/case bytecode interpreter is replaced by a `visit(Exp*)` function dispatch for each Exp class. Values allocated by matrix definitions (by the parser) or function calls are all defined by Type objects [3]. And most of our gateways are now using these internal Type management rather than API Scilab to distinguish internal API and external API (aka API Scilab). Note: the macr2tree is implemented as a visitor that encode each Exp to a specific Type, it just traverses the Exp tree to reproduce a Scilab 5 compatible values encoding. [1]: modules/ast [2]: modules/ast/includes/exps and modules/ast/includes/exps/exp.hxx [3]: modules/ast/includes/types and modules/ast/includes/types/internal.hxx Regards, -- Cl?ment From clement.david at scilab-enterprises.com Wed Feb 22 09:44:49 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 22 Feb 2017 09:44:49 +0100 Subject: [Scilab-Dev] How Core works ? In-Reply-To: <1487713083.29253.3.camel@yahoo.es> References: <1487713083.29253.3.camel@yahoo.es> Message-ID: <1487753089.2765.5.camel@scilab-enterprises.com> Hi Amanda, > Someone knows the Java VisualVM ? Yes I used it when debugging memory issues in Xcos and other Java coded components. It provides *a lot* of information about running but requires runtime instrumentation which is not available in released Scilab build. > We have something similar for SciLAB ? We have some "inspector" gateways available in a Scilab debug build which provides `inspectorShowItem()`, `inspectorGetItem()`, etc... This is not enabled in a released build due to the overhead. At runtime in release mode, Scilab 5 `who()` was able to return the size of the allocated data but this is not implemented yet as this is not clear to us if we should return the size of the allocated raw data or the size of the Scilab value. For exemple : a = zeros(10,10); 1. `a` is 10x10 matrix of double, and thus with size: 10*10*8 bytes. 2. `a` is an ArrayOf with size : sizeof(types::Double) + 10*10*8 bytes Both computation are valuable, to determine either the data weight in memory or the memory allocated by scilab to use them. Note: currently our Types implementation are heavy due to the added multi-dimensional array ; on my machine : (gdb) p sizeof(types::Double) $1 = 216 (gdb) p sizeof(types::ArrayOf) $2 = 208 (gdb) p sizeof(types::GenericType) $3 = 192 (gdb) p sizeof(types::InternalType) $4 = 40 Thanks for your questions, -- Cl?ment From antoine.elias at scilab-enterprises.com Wed Feb 22 14:28:00 2017 From: antoine.elias at scilab-enterprises.com (antoine.elias at scilab-enterprises.com) Date: Wed, 22 Feb 2017 14:28:00 +0100 Subject: [Scilab-Dev] =?utf-8?q?Private_functions_in_a_=2Esci_file_=3C=3D_?= =?utf-8?q?Re=3A_Multiple_Functions_in_a_sci_file?= In-Reply-To: <655b16cc-8712-08e6-b67a-af14988e5cc6@tritytech.com> References: <655b16cc-8712-08e6-b67a-af14988e5cc6@tritytech.com> Message-ID: <12b52853c7dbebdfb1f0552bc2060ddd@scilab-enterprises.com> Hello, After some tests, it seems that Scilab 5 loads in local context "sub functions" only when you call the main function. with your sample, test1 and testa in the same test1.sci file genlib -> load -> testa -> KO -> test1 -> testa -> OK In Scilab 6, we load "sub functions" as nested functions of the main function. So they can be called in main function but after the call, they are "cleared". It is a regression, can you open a bug with a link to this thread ? Regards, Antoine Le 2017-02-22 02:50, Tan Chin Luh a ?crit?: > Hi Samuel, > > Thanks for your answers. > > best regards, > Chin Luh > > On 22/2/2017 5:22 AM, Samuel Gougeon wrote: > >> Hi, >> >> Le 16/02/2017 ? 06:04, Tan Chin Luh a ?crit : >> >>> Hi, >>> >>> I am trying to troubleshoot the issue on the guibuilder in Scilab >>> 6 windows platform as reported by : >>> >>> https://atoms.scilab.org/toolboxes/guibuilder/3.1#comment2713 [1] >>> >>> ----------- >>> >>> I used guibuilder in 5.5.2 and was able to create a gui, open an >>> existing gui. I just >>> installed it for 6.0 and the guibuilder launches, but am unable to >>> create anything, i >>> get the error "Undefined variable: draw_uicontrol5" for anything >>> that I click on >>> to >>> create. Or even to open an existing GUI. >>> ----------- >>> >>> I tried to reproduce the error in a simpler manner: >>> >>> 1. Write a simple sci file with 2 functions in it. >>> >>> function y = test1(x) >>> y = x+1; >>> endfunction >>> >>> function y = testa(x) >>> y = x+2; >>> endfunction >>> >>> 2. Put the file in a folder and use genlib to generate the lib >>> >>> 3. Load the library and call "test1(1)" and "testa(1)" >>> >>> In Scilab 5.5.2, both functions are callable, but in Scilab 6, >>> only test1 is, and calling testa will either return error >>> "undefined variable" or just crashed the Scilab. >>> >>> Is this meant to behave this way under "new parser and new core"? >> >> AFAIK : yes. >> Now, only the first function defined in the file (or the one whose >> name matches the file name? To be tested) is public. All other ones >> are private (their domain is unclear: (likely) only the main >> function? or the whole library it belongs to? To be tested and >> documented). >> One of the (nice) consequences is that, now none of the private >> functions appears in the whos list of defined functions. They were >> formerly rather spamming the list. >> >>> I try to screen through what's news in Scilab 6 and bugzilla, and >>> the similar but not exact issue found is : >>> http://bugzilla.scilab.org/show_bug.cgi?id=14525 [2] >> >> You are right, i don't think it is already correctly documented. >> There were some discussions on users@ about this change since >> mid-2015, but since Scilab 5.5.2, the genlib() help page was >> improved for Scilab 5, without being updated for Scilab 6. >> >>> I try to avoid breaking out all the functions to separate files as >>> it will be tones of files in the folder then. >> >> I am afraid that, if each of your functions is -- say -- a >> callback, it must be public, and then now it requires to be defined >> in a separate .sci file. >> >> Regards >> Samuel >> >> _______________________________________________ >> dev mailing list >> dev at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/dev [3] > > > > Links: > ------ > [1] https://atoms.scilab.org/toolboxes/guibuilder/3.1#comment2713 > [2] http://bugzilla.scilab.org/show_bug.cgi?id=14525 > [3] http://lists.scilab.org/mailman/listinfo/dev > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev From lambdasoftware at yahoo.es Wed Feb 22 21:50:25 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Wed, 22 Feb 2017 17:50:25 -0300 Subject: [Scilab-Dev] Scilab 6.0.0 has been released ! In-Reply-To: <1487233426.2065.1.camel@scilab-enterprises.com> References: <1487233426.2065.1.camel@scilab-enterprises.com> Message-ID: <1487796625.30700.1.camel@yahoo.es> Hi, since they opened the subject of new updates, I am sending these suggestions. They are the accumulation of at least 6 years of know-how, I tried to make them simple and small, so if you have any doubts and want to deepen some topic, just make the question. Basically I focused on the ability to extend SciLAB and usability. The ability to extend is very important because it allows you to go beyond calculation and give new resources to SciLAB quickly. I believe that many of the problems presented here can be solved by link and call macros and by creating new macros. I particularly avoid creating modules in C / C ++ because I believe that this escapes the mathematical domain of the problem, since it requires a longer time to debug. The complete list it's attached in this e-mail. On Thu, 2017-02-16 at 09:23 +0100, Cl?ment David wrote: > Dear Scilab developers, > > Scilab 6.0.0 is now out [1]. Thanks to everyone who helped build this > brand new version?! > > We still have bugs and want to start adding features using Scilab 6 > brand new capabilities. For the > upcoming 6.0.1 release, we will continue the bug fixes and help > improvement started on the 6.0 > branch. Do not hesitate to set up the git branch and push your > changes ! > > As a mid-term target, we also planned some work for 6.1.0 and we have > some idea about our next > revision. For exemple (incomplete list): > * help browser improvement (targetting a best indexation and removing > javahelp dependency) > * using analysis for execution speedup > * more demos and help dedicated pages > * import() like python and javascript > * graphical improvement (treeview in uicontrols, uicontrol graphic > export) > > Do you have other ideas, requests for the near future ? > > > [1]: http://www.scilab.org/community/news/scilab6 > [2]: https://wiki.scilab.org/CategorySep > > Thanks for your involvement, > > ? > Cl?ment > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SciLAB.odt Type: application/vnd.oasis.opendocument.text Size: 25158 bytes Desc: not available URL: From sgougeon at free.fr Thu Feb 23 00:03:13 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 23 Feb 2017 00:03:13 +0100 Subject: [Scilab-Dev] Q/A about features In-Reply-To: <1487796625.30700.1.camel@yahoo.es> References: <1487233426.2065.1.camel@scilab-enterprises.com> <1487796625.30700.1.camel@yahoo.es> Message-ID: Hello Amanda, Thanks for this very long list of nice ideas and/or questions. I guess you already know this wiki page: https://wiki.scilab.org/GSoC_project_proposal You may add some ideas and open new pages to describe them. But thinking about is quite easy. Doing things is nicer :) I would like just answer to some of your questions: > * Salvar o ambiente > I have not found in the manual, is there any way to save all the > variables and macros that are in memory in an HDF5 file to then load > it again? > This allows a person to stop what he is doing and continue later from > where he left off. /This is possible from the console menu File => Save/Load environment.."// /This includes opened figures, that are also saved and restored. > * Interaction with users > I believe it's important to give more openness to users. > Starting with a button to allow reporting a bug from SciLAB itself and > send an evaluation about usability. Maybe even the documentation > should be open for users to re-write Each embedded help page has a "Report a bug" link available at its top, pointing to the Bugzilla online bug tracker. The only issue with this link is that it appears also for pages of external modules, whose bugs trackers are not on bugzilla. The "uman" module proposes other facilities around the documentation, bug reporting, archives of mailing lists, etc. The online help pages allow any logged visitor to make some online comments about the page, in his/her chosen language. This service has been designed as for the PHP documentation. It is poorly used for Scilab pages, but nothing prevents using it more intensively. Any user knowing well Scilab features can already contribute to improve help pages, through GIT and the Scilab codereview: https://codereview.scilab.org/ If not already done, you can create your own Scilab account and logging on help pages, the wiki, bugzilla, codeReview, etc. > * % keyword as comment: > For better compatibility with Octave and MatLAB. Just let me know why Scilab should be Matlab compatible. Matlabers have already Octave, that clones Matlab, and that have a rather official policy to be such a clone. And now it has a nice IDE! So, i would be really interested knowing the interest to build and use the twin of a clone, whereas there are so many original things to do and build, without being so servile. Then, why not joining more simply the Octave community? When time to time newbies ask on Scilab mailing list "why using Scilab rather than Matlab", i feel that answers are most often very rare and poor. So, the reasons making Matlab lobbyists so shy to answer to this kind of questions is still really a mystery to me. But i am still curious ! :)) > * Colors and arrays with names instead of numbers > .../... > I am not sure that i have caught what you meant. But please have a look to the rather straightforward following: --> m = rand(4,3) m = 0.3616361 0.3321719 0.2693125 0.2922267 0.5935095 0.6325745 0.5664249 0.5015342 0.4051954 0.4826472 0.4368588 0.9184708 --> m(m<0.2 | m>0.5) = %nan m = 0.3616361 0.3321719 0.2693125 0.2922267 Nan Nan Nan Nan 0.4051954 0.4826472 0.4368588 Nan .../... > ** Pool of formulas* > > .../... > Why not let SciLAB run ODF and MathML files and convert them to > functions automatically? > > Something like > > exec ?formula.odf? > > exec ?formula.mml? > > In the case of MathML, because it is an XML format, SciLAB itself > already has the infrastructure to load and convert to a macro. > AFAIU, definitely not. Your formulae hold some formal expressions, not numerical ones/codes. Scilab is made for Numerical computing, not for formal computing like Maxima. HTH Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Thu Feb 23 00:50:36 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 23 Feb 2017 00:50:36 +0100 Subject: [Scilab-Dev] Private functions in a .sci file <= Re: Multiple Functions in a sci file In-Reply-To: <12b52853c7dbebdfb1f0552bc2060ddd@scilab-enterprises.com> References: <655b16cc-8712-08e6-b67a-af14988e5cc6@tritytech.com> <12b52853c7dbebdfb1f0552bc2060ddd@scilab-enterprises.com> Message-ID: <0ad6fd0b-e31f-afe8-824f-80a393428b8c@free.fr> Hello Antoine, I am answering in the thread: Le 22/02/2017 ? 14:28, antoine.elias at scilab-enterprises.com a ?crit : > Hello, > > After some tests, it seems that Scilab 5 loads in local context "sub > functions" only when you call the main function. yes, the first time that the registered function is used. > > with your sample, test1 and testa in the same test1.sci file > genlib -> load -> testa -> KO > -> test1 -> testa -> OK and then, next calls -> testa -> OK > > In Scilab 6, we load "sub functions" as nested functions of the main > function. > So they can be called in main function but after the call, they are > "cleared". > > It is a regression, Really?! I am very surprised by this assertion. Some (may be many) former native Scilab .sci files have been split to work in this new way -- for instance ged.sci embedded many subfunctions that have been transfered in as many separated files (and moved to the TCL module...). And AFAIRemember, this feature was already discussed in 2015 on users@ or devs at . So, i believed, and still believe that this change is /intentional/. By the way, this new behavior has some advantages. Without it, making private functions compels to define them a) inside the calling one, and b) at its beginning. This was not very smart programming. The only way to avoid explicitly defining them at the beginning was to exec them (still at the beginning). I never run any benchmarks to compare timing of exec()uting an external definition file at run time: function test() exec("mysubfunction.sci") endfunction versus compiling an embedded function/endfunction as well at run time: function test() function mysubfunction(..) // Its code endfunction endfunction A priori, i would say that using an external file laying on the disk is slower than compiling things in RAM. So, imo, this change was not really expected, but it leads to a smarter programming, and likely processes subfunctions in a faster way. So, why do you say that it is a regression ? BR Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From lambdasoftware at yahoo.es Thu Feb 23 12:59:28 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Thu, 23 Feb 2017 08:59:28 -0300 Subject: [Scilab-Dev] Q/A about features In-Reply-To: References: <1487233426.2065.1.camel@scilab-enterprises.com> <1487796625.30700.1.camel@yahoo.es> Message-ID: <1487851168.3832.11.camel@yahoo.es> Hello Samuel, it's good to see you have appreciated the suggestions. I will put the suggestions in the wiki, but before I want to discuss the ideas here to enrich and mature. I have not answered just below your words because my email client is not working well. :-P > > * Salvar o ambiente (Save the?environment) Yes, in the client I can do it.But how to do in the CLI in text mode?It's to automate many operations and to expand the work in text mode. > > * Interaction with users Yes, including I have reported issues in bugzilla.But I don't know if a user takes more than 2 minutes to be able to report something, I believe he can desist. > > * % keyword as comment: The need it's simple. Not always a software can do everything. So to improve the job sometimes it needs to switch to a software to other in differents steps of the job. Think about the differences in modules, hardware consumption, and cost. In common they always will have the same scripts. So better compatibility make this exchange smoother. For example: I can convert images to HDF5 with Octave. Run a personalized module in SciLAB Make the heavy job in a cluster with MatLAB. And Finish in SciLAB with the personalized module. And no always what macro will run in each software it's clear. So it's necessary that the 3 share the same scripts. > > * Colors and arrays with names instead of numbers Is about to reduce the number of steps and gain productivity. Including for more complex selections. Using the %nan i need:1. to write the selection operation2. make a array copy?3. put %nan in the selection4. display the array5. restore the original array It's 5 steps. :-O?If the selection it's always the same so why do not reduce the visualization to a only single step ? Repeat this 100 times on the same day it's a nightmare. And more, the idea to put colors and words can be used to introduce sense in the numbers.A matrix may have not only one word, but many. For example: Normal, Caution, Danger, Error.The colors can have the same meaning. I don't know If I'm being clear > > * Pool of formulas It's a dilemma. It I have a good engineering team but they can not or do not know how to make a good SciLAB implementation, I will need another good team for the implementation.And more, when the engineering team finished the work, they need to wait for the implementation team start and finish the implementation. It without say about the documentation. Why I need two teams to do the job if I can do all with one team and in less time? It's a dilemma of how to reduce the financial cost for projects.And MathML it's a answer. :-D? -- Amanda Osvaldo On Thu, 2017-02-23 at 00:03 +0100, Samuel Gougeon wrote: > ????Hello Amanda, > > ?????? > > ??????Thanks for this very long list of nice ideas and/or questions. > > ??????I guess you already know this wiki page: > ??????https://wiki.scilab.org/GSoC_project_proposal > > ??????You may add some ideas and open new pages to describe them. > > ??????But thinking about is quite easy. Doing things is nicer :) > > ?????? > > ??????I would like just answer to some of your questions: > > ?????? > ?????? > > * Salvar o ambiente > > > > ????????I have not found in > > ????????the manual, is there any way to save all the variables and > > ????????macros > > ????????that are in memory in an HDF5 file to then load it again? > > ???????? > > > > ????????This allows a person > > ????????to stop what he is doing and continue later from where he > > left > > ????????off. > > > > ?????? > > ?????? > > ??????This is possible from the console menu File => Save/Load > ????????environment.." > > ??????This includes opened figures, that are also saved and > ??????restored. > > ?????? > > ?????? > > ???????? > > ???????? > > ???????? > > ???????? > > @page { margin: 2cm } > > h1 { margin-bottom: 0.21cm } > > h1.western { font-family: "Liberation Sans", sans- > > serif; font-size: 18pt } > > h1.cjk { font-family: "Droid Sans Fallback"; font-size: > > 18pt } > > h1.ctl { font-family: "Droid Sans Devanagari"; font- > > size: 18pt } > > p { margin-bottom: 0.25cm; line-height: 120% } > > a:link { so-language: zxx } > > > > ?????? > > * > > ??????????Interaction with users > > > > ??????????I > > ??????????believe it's important to give more openness to users. > > > > ??????????Starting > > ??????????with a button to allow reporting a bug from SciLAB itself > > and > > ??????????send an > > ??????????evaluation about usability. > > ????????Maybe > > ??????????even the documentation should be open for users to re- > > write > > ???????? > > > > ?????? > > ?????? > > ??????Each embedded help page has a "Report a bug" link available at > its > ??????top, pointing to the Bugzilla online bug tracker. The only > issue > ??????with this link is that it appears also for pages of external > ??????modules, whose bugs trackers are not on bugzilla. > > ??????The "uman" module proposes other facilities around the > ??????documentation, bug reporting, archives of mailing lists, etc. > > ??????The online help pages allow any logged visitor to make some > online > ??????comments about the page, in his/her chosen language. This > service > ??????has been designed as for the PHP documentation. It is poorly > used > ??????for Scilab pages, but nothing prevents using it more > intensively. > > ??????Any user knowing well Scilab features can already contribute to > ??????improve help pages, through GIT and the Scilab codereview: > ??????https://codereview.scilab.org/ > > ??????If not already done, you can create your own Scilab account and > ??????logging on help pages, the wiki, bugzilla, codeReview, etc. > > ?????? > > ?????? > > * % keyword as comment: > > > > ????????For better > > ????????compatibility with Octave and MatLAB. > > ?????? > > ??????Just let me know why Scilab should be Matlab compatible. > Matlabers > ??????have already Octave, that clones Matlab, and that have a rather > ??????official policy to be such a clone. And now it has a nice IDE! > > ??????So, i would be > ????????really interested knowing the interest to build and use the > twin > ????????of a clone, whereas there are so many original things to do > and > ????????build, without being so servile. > > ????????Then, why not joining more simply the Octave community? > > ????????When time to time newbies ask on Scilab mailing list "why > using > ????????Scilab rather than Matlab", i feel that answers are most > often > ????????very rare and poor. So, the reasons making Matlab lobbyists > so > ????????shy to answer to this kind of questions is still really a > ????????mystery to me. But i am still curious ! :)) > ?????? > ???????? > ?????? > ?????? > ???????? > ?????? > ?????? > ???????? > ???????? > ???????? > @page { margin: 2cm } > h1 { margin-bottom: 0.21cm } > h1.western { font-family: "Liberation Sans", sans- > serif; font-size: 18pt } > h1.cjk { font-family: "Droid Sans Fallback"; font-size: > 18pt } > h1.ctl { font-family: "Droid Sans Devanagari"; font- > size: 18pt } > p { margin-bottom: 0.25cm; line-height: 120% } > a:link { so-language: zxx } > ???????? > > * Colors and arrays with names instead > > ??????????of numbers > > > > ??????????.../... > > > > ?????????? > > ?????????? > > ???????? > > ?????? > ??????I am not sure > ??????????that i have caught what you meant. But please have a look > to > ??????????the rather straightforward following: > ?????? > > ????????--> m = rand(4,3) > > ???????m? =? > > ???????? 0.3616361?? 0.3321719?? 0.2693125 > > ???????? 0.2922267?? 0.5935095?? 0.6325745 > > ???????? 0.5664249?? 0.5015342?? 0.4051954 > > ???????? 0.4826472?? 0.4368588?? 0.9184708 > > ?????? > > ?????? > > ??????--> m(m<0.2 | m>0.5) = %nan > > ???????m? =? > > ???????? 0.3616361?? 0.3321719?? 0.2693125 > > ???????? 0.2922267?? Nan???????? Nan?????? > > ???????? Nan???????? Nan???????? 0.4051954 > > ???????? 0.4826472?? 0.4368588?? Nan?????? > > ?????? > > ?????? > ???????? > ?????? > ?????? > ??????.../... > > ?????? > > ?????? > > * Pool of formulas > > ????????.../... > > > > ??????????Why not let SciLAB > > ??????????run ODF and MathML files and convert them to functions > > ??????????automatically? > > ???????? > > ????????Something like > > ???????? > > ????????exec > > ???????????formula.odf? > > ????????exec ?formula.mml? > > ????????In the case of > > ??????????MathML, because it is an XML format, SciLAB itself > > already has > > ??????????the > > ??????????infrastructure to load and convert to a macro. > > ?????? > > ?????? > > ??????AFAIU, definitely not. Your formulae hold some formal > expressions, > ??????not numerical ones/codes. > > ??????Scilab is made for Numerical computing, not for formal > computing > ??????like Maxima. > > ???? > > ???? > > ????HTH > > ????Samuel > > ???? > > ???? > > ?? > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: face-smile-big.png Type: image/png Size: 1580 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: face-raspberry.png Type: image/png Size: 1605 bytes Desc: not available URL: From sgougeon at free.fr Thu Feb 23 18:29:19 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 23 Feb 2017 18:29:19 +0100 Subject: [Scilab-Dev] Q/A about features In-Reply-To: <1487851168.3832.11.camel@yahoo.es> References: <1487233426.2065.1.camel@scilab-enterprises.com> <1487796625.30700.1.camel@yahoo.es> <1487851168.3832.11.camel@yahoo.es> Message-ID: <91af18cc-7788-1d52-78c0-b64690b1f9ca@free.fr> Hi Amanda, Le 23/02/2017 ? 12:59, Amanda Osvaldo a ?crit : > .../... > (Save the environment) > > Yes, in the client I can do it. > But how to do in the CLI in text mode? > It's to automate many operations and to expand the work in text mode. You shall use: save mySessionFile load mySessionFile > >>> * Interaction with users > > Yes, including I have reported issues in bugzilla. > But I don't know if a user takes more than 2 minutes to be able to > report something, I believe he can desist. The application has no function to guess or read users minds and post a report accordingly. It has not yet any embedded A.I. to do so. >>> * % keyword as comment: > > The need it's simple. Simplicity is not necessarily relevance nor justification. > Not always a software can do everything. O wise words :) > > So to improve the job sometimes it needs to switch to a software to > other in differents steps of the job. > > Think about the differences in modules, hardware consumption, and cost. > > In common they always will have the same scripts. Obviously not. Other language, other scripts. > So better compatibility make this exchange smoother. > > For example: > I can convert images to HDF5 with Octave. > Run a personalized module in SciLAB > Make the heavy job in a cluster with MatLAB. > And Finish in SciLAB with the personalized module. But just, Matlab and Scilab are not compatible. Adding % comments would not make then compatible. It is not a matter of more or less compatibility. > And no always what macro will run in each software it's clear. So it's > necessary that the 3 share the same scripts. So, you wish to build a kind of computing esperanto. Could you please give us a pointer to your wish certainly posted on Octave mailing list or bug tracker to support "//" as comment as well? Look at this Octave session: >> // a comment parse error: syntax error >>> // a comment ^ What a shame! And a potential loose of manpower! Don't you think? And try with "#" that is another symbol used for comments in other widespread languages. The same! So bad is the world. >>> * Colors and arrays with names instead of numbers > > Is about to reduce the number of steps and gain productivity. > Including for more complex selections. > > Using the %nan i need: > 1. to write the selection operation > 2. make a array copy > 3. put %nan in the selection > 4. display the array > 5. restore the original array > > It's 5 steps. :-O > If the selection it's always the same so why do not reduce the > visualization to a only single step ? > > Repeat this 100 times on the same day it's a nightmare. > > And more, the idea to put colors and words can be used to introduce > sense in the numbers. > A matrix may have not only one word, but many. > > For example: Normal, Caution, Danger, Error. > The colors can have the same meaning. > > I don't know If I'm being clear It was not very clear the first time i read (and reread) it, but now it's ok (likely). In: --> consoleSetProfile(?my-color-profile?); --> disp(data) 1. 2. 20. 1. 2. 17. 7. 6. 18. the most important is consoleSetProfile(?my-color-profile?); where the prerequisite is to have set your specifications (i guess). Excepted for the colors, you can do this in Scilab by defining your own Disp() that will preprocess your input data before calling disp() or mprintf() to actually display them. About colors in the console, your skills and time are certainly welcome to process this report: http://bugzilla.scilab.org/10142 > >>> ** Pool of formulas* > > It's a dilemma. > > It I have a good engineering team but they can not or do not know how > to make a good SciLAB implementation, I will need another good team > for the implementation. Yah, in life, some things may be modular. In computing sciences too. > And more, when the engineering team finished the work, they need to > wait for the implementation team start and finish the implementation. > > It without say about the documentation. > > Why I need two teams to do the job if I can do all with one team and > in less time? Yes, why do we need two teams to do two jobs of complexities 1 & 1, while we would need one single team twice bigger to do a single job of complexity exp(1+1) in exp(1+1)^2 /(1+1) more time? (i have no pointer to give about this patatheory, but i think it could be relevant to answer to your need. BTW, it is an open and free one with no copyright, to relieve your budget). > > It's a dilemma of how to reduce the financial cost for projects. Not really. Just think about manpower sinkholes. > And MathML it's a answer. :-D Could you give more details? I do not see how it could be so. AFAIK, this language does not include any formal interpreter nor formal to numerical converter. Does it? Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1580 bytes Desc: not available URL: From lambdasoftware at yahoo.es Thu Feb 23 20:20:54 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Thu, 23 Feb 2017 16:20:54 -0300 Subject: [Scilab-Dev] Q/A about features In-Reply-To: <91af18cc-7788-1d52-78c0-b64690b1f9ca@free.fr> References: <1487233426.2065.1.camel@scilab-enterprises.com> <1487796625.30700.1.camel@yahoo.es> <1487851168.3832.11.camel@yahoo.es> <91af18cc-7788-1d52-78c0-b64690b1f9ca@free.fr> Message-ID: <1487877654.3907.19.camel@yahoo.es> Hi Samuel. > > (Save the?environment) Thanks Very Much. > > > > * Interaction with users No, much more simple XD It is possible to put a form for the user to send some evaluation. For example, we could put a form on the help menu asking what it considers to be a priority in the next updates. Something like this image: http://argouml-stats.tigris.org/documentation/manual-0.34/images/refere nce/menu_design_issues.png > > > > * % keyword as comment: It's not for a perfect match, it's just to keep more simple the process. :-O > > > > * Colors and arrays with names instead of numbers Your interpretation is correct.I think in a prepocess for disp because it can work in CLI text. The link you have will help me much with it. :-D? > > > > * Pool of formulas Not all formulas are easy, exists formulas with more than 2 pages that has been written by many persons.And when the update is ready, it is necessary to compare with the previous version and manually write the update or even the entire macro. Teams can be made from people from social and biological sciences that don't know to implement.Or even the team may not have access to additional macros to test the formula for security and intellectual property reasons. In both cases, automate the running and test process is necessary to reduce the human work. MathML is a XML stantard.You can write in Libre Office Math (https://ww w.youtube.com/watch?v=kjpe7a52s18) and the SciLAB's XML macro can convert the XML to code and execute then with execstr. -- Amanda On Thu, 2017-02-23 at 18:29 +0100, Samuel Gougeon wrote: > ????Hi Amanda, > > ?????? > > ??????Le 23/02/2017 ? 12:59, Amanda Osvaldo a ?crit?: > > ???? > > ???? > > ?????? > > ??????.../... > > ??????(Save the?environment) > > ?????? > > > > ?????? > > ??????Yes, in the client I can do it. > > ??????But how to do in the CLI in text mode? > > ??????It's to automate many operations and to expand the work in > > ????????text mode. > > ???? > > ???? > > ????You shall use: > > ?????? > > ??????save mySessionFile > > ??????load mySessionFile > > ?????? > > ???? > > ?????? > > > > ?????? > > ?????? > > ???????? > > > ?????????? > > > ???????????? > > > > * Interaction with users > > > > > > ?????????? > > > ???????? > > > > ?????? > > ?????? > > > > ?????? > > ?????? > > ????????Yes, including I have reported issues in bugzilla. > > ????????But I don't know if a user takes more than 2 minutes to be > > ??????????able to report something, I believe he can desist. > > ?????? > > ???? > > ???? > > ????The application has no function to guess or > ??????read users minds and post a report accordingly. > > ??????It has not yet any embedded A.I. to do so. > > ???? > > ???? > > ???? > > ?????? > > ???????? > > ?????????? > > > ???????????? > > > ?????????????? > > > > * % keyword as comment: > > > > > > ???????????? > > > ?????????? > > > > ???????? > > ???????? > > > > ???????? > > ???????? > > ??????????The need it's simple. > > ???????? > > ?????? > > ???? > > ???? > > ????Simplicity is not necessarily relevance nor > ??????justification. > > ???? > > ???? > > ?????? > > ???????? > > ??????????Not always a software can do everything. > > ???????? > > ?????? > > ???? > > ???? > > ????O wise words :) > > ???? > > ???? > > ?????? > > ???????? > > ?????????? > > > > ?????????? > > ??????????So to improve the job sometimes it needs to switch to a > > ????????????software to other in differents steps of the job. > > ?????????? > > > > ?????????? > > ??????????Think about the differences in modules, hardware > > ????????????consumption, and cost. > > ?????????? > > > > ?????????? > > ??????????In common they always will have the same scripts. > > ???????? > > ?????? > > ???? > > ???? > > ????Obviously not. Other language, other scripts. > > ???? > > ???? > > ?????? > > ???????? > > ??????????So better compatibility make this exchange smoother. > > ?????????? > > > > ?????????? > > ??????????For example: > > ??????????I can convert images to HDF5 with Octave. > > ??????????Run a personalized module in SciLAB > > ??????????Make the heavy job in a cluster with MatLAB. > > ??????????And Finish in SciLAB with the personalized module. > > ???????? > > ?????? > > ???? > > ???? > > ????But just, Matlab and Scilab are not > ??????compatible. Adding % comments would not make then compatible. > > ??????It is not a matter of more or less compatibility. > > ???? > > ???? > > ?????? > > ???????? > > ??????????And no always what macro will run in each software it's > > ????????????clear. So it's necessary that the 3 share the same > > scripts. > > ???????? > > ?????? > > ???? > > ???? > > ????So, you wish to build a kind of computing > ??????esperanto. > > ??????Could you please give us a pointer to your wish certainly > posted > ??????on Octave mailing list or bug tracker to support "//" as > comment > ??????as well? Look at this Octave session: > > ??????>> // a comment > > ??????parse error: > > ??????? syntax error > > ??????>>> // a comment > > ????????? ^ > > ??????What a shame! And a potential loose of manpower! Don't you > ??????think? > > ??????And try with "#" that is another symbol used for comments in > other > ??????widespread languages. > > ??????The same! So bad is the world. > > ???? > > ???? > > ?????? > > ???????? > > > ?????????? > > > ???????????? > > > > * Colors and arrays with names > > > > ??????????????instead of numbers > > > > > > ?????????? > > > ???????? > > > > ???????? > > > > ?????? > > ??????Is about to reduce the number of steps and gain productivity. > > ????????Including for more complex selections. > > ?????? > > > > ?????? > > ??????Using the %nan i need: > > ??????1. to write the selection operation > > ??????2. make a array copy? > > ??????3. put %nan in the selection > > ??????4. display the array > > ??????5. restore the original array > > ?????? > > > > ?????? > > ??????It's 5 steps. :-O? > > ??????If the selection it's always the same so why do not reduce > > ????????the visualization to a only single step ? > > ?????? > > > > ?????? > > ??????Repeat this 100 times on the same day it's a nightmare. > > ?????? > > > > ?????? > > ??????And more, the idea to put colors and words can be used to > > ????????introduce sense in the numbers. > > ??????A matrix may have not only one word, but many. > > ?????? > > > > ?????? > > ??????For example: Normal, Caution, > > ????????Danger, Error. > > ??????The colors can have the same meaning. > > ?????? > > > > ?????? > > ??????I don't know If I'm being clear > > ???? > > ???? > > ????It was not very clear the first time i read > ??????(and reread) it, but now it's ok (likely). In: > > ???? > ???? > ????--> > ????????consoleSetProfile(?my-color-profile?); > > ????--> disp(data) > > ??????1. 2. 20. > > ??????1. 2. 17. > > ????????7. 6. 18. > ???? > ????the most important is consoleSetProfile(?my-color-profile?); > ????????where the prerequisite is to have set your specifications > ????????(i guess). > > ????Excepted for the colors, you can do this in > ????????Scilab by defining your own Disp() that will preprocess your > ????????input data before calling disp() or mprintf() to actually > ????????display them. > > ?????? > > ????About colors in the console, your skills and > ????????time are certainly welcome to process this report: > > ????????http://bugzilla.scilab.org/10142 > > ?????? > > ???? > ???? > ???? > @page { margin: 2cm } > p { margin-bottom: 0.25cm; line-height: 120% } > a:link { so-l > > ???? > > ?????? > > > > ?????? > > ?????? > > ???????? > > > ?????????? > > > ???????????? > > > > * Pool of formulas > > > > > > ?????????? > > > ???????? > > > > ???????? > > > > ?????? > > ?????? > > ????????It's a dilemma. > > ???????? > > > > ???????? > > ????????It I have a good engineering team but they can not or do > > ??????????not know how to make a good SciLAB implementation, I will > > need > > ??????????another good team for the implementation. > > ?????? > > ???? > > ???? > > ????Yah, in life, some things may be modular. In > ??????computing sciences too. > > ???? > > ???? > > ?????? > > ????????And more, when the engineering team finished the work, they > > ??????????need to wait for the implementation team start and finish > > the > > ??????????implementation. > > ???????? > > > > ???????? > > ????????It without say about the documentation. > > ???????? > > > > ???????? > > ????????Why I need two teams to do the job if I can do all with one > > ??????????team and in less time? > > ?????? > > ???? > > ???? > > ????Yes, why do we need two teams to do two jobs > ??????of complexities 1 & 1, while we would need one single team > ??????twice bigger to do a single job of complexity exp(1+1) in > ??????exp(1+1)^2 /(1+1) more time? > > ??????(i have no pointer to give about this patatheory, but i think > it > ??????could be relevant to answer to your need. > > ??????BTW, it is an open and free one with no copyright, to relieve > your > ??????budget). > > ?????? > > ???? > ???? > > ?????? > > ???????? > > > > ???????? > > ????????It's a dilemma of how to reduce the financial cost for > > ??????????projects. > > ?????? > > ???? > > ???? > > ????Not really. Just think about manpower > ??????sinkholes. > > ?????? > > ???? > ???? > > ?????? > > ????????And MathML it's a answer.? > > ?????? > > ???? > > ????Could you give more details? I do not see how > ??????it could be so. AFAIK, this language does not include any > formal > ??????interpreter nor formal to numerical converter. Does it? > > ?????? > > ??????Samuel > > ???? > > ?? > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: face-smile-big.png Type: image/png Size: 1580 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: face-surprise.png Type: image/png Size: 1603 bytes Desc: not available URL: From nikhilgoel199797 at gmail.com Thu Feb 23 21:45:54 2017 From: nikhilgoel199797 at gmail.com (nikhil goel) Date: Fri, 24 Feb 2017 02:15:54 +0530 Subject: [Scilab-Dev] Problem while solving Bug#14709 Message-ID: Hello, I was solving Bug#14709. I was able to make checkbox and radiobutton support LaTeX. While trying to make listbox support LaTeX, I encountered a problem. When I tried to call ScilabSpecialTextUtilities.setText() within the constructor of SwingScilabListBox resulted in a compatibility error as 'this' could not be converted to JComponent type. I tried to overload the setText method in ScilabSpecialTextUtilities so that SwingScilabListBox type variable could be passed to it but this also resulted in the same error. I think that the compatibility error is because SwingScilabListBox is not a part of the hierarchy of JComponent class. [javac] /home/nikhil/scilab_master/scilab/modules/gui/src/java/ org/scilab/modules/gui/bridge/listbox/SwingScilabListBox.java:112: error: incompatible types: cannot be converted to JComponent Am I proceeding in the right direction or am I doing something wrong? Is there any other way to do this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Thu Feb 23 21:58:03 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 23 Feb 2017 21:58:03 +0100 Subject: [Scilab-Dev] Q/A about features In-Reply-To: <1487877654.3907.19.camel@yahoo.es> References: <1487233426.2065.1.camel@scilab-enterprises.com> <1487796625.30700.1.camel@yahoo.es> <1487851168.3832.11.camel@yahoo.es> <91af18cc-7788-1d52-78c0-b64690b1f9ca@free.fr> <1487877654.3907.19.camel@yahoo.es> Message-ID: <5c580bda-ed4a-9550-29e3-0697e8b71230@free.fr> Le 23/02/2017 ? 20:20, Amanda Osvaldo a ?crit : > * Interaction with users > > No, much more simple XD > > It is possible to put a form for the user to send some evaluation. > > For example, we could put a form on the help menu asking what it > considers to be a priority in the next updates. > > Something like this image: > http://argouml-stats.tigris.org/documentation/manual-0.34/images/reference/menu_design_issues.png Technically, Bugzilla is ready and could already allow to vote for any bug fix or wish implementation. But this feature is currently disabled. > > * % keyword as comment: > It's not for a perfect match, it's just to keep more simple the process. Improving the m2sci converter is a matter for the sub-community of former matlabers. There is no reason to spend some time to change the language only for a part of the users, and sometimes for worse or bad features. > ** Pool of formulas* > Not all formulas are easy, exists formulas with more than 2 pages that > has been written by many persons. > And when the update is ready, it is necessary to compare with the > previous version and manually write the update or even the entire macro. > > Teams can be made from people from social and biological sciences that > don't know to implement. > Or even the team may not have access to additional macros to test the > formula for security and intellectual property reasons. > > In both cases, automate the running and test process is necessary to > reduce the human work. > > MathML is a XML stantard. > You can write in Libre Office Math > (https://www.youtube.com/watch?v=kjpe7a52s18) > and the SciLAB's XML macro can convert the XML to code Again, definitely not. It aims only to parse XML to build a DOM and things like this. In no way it is built to interpret a literal formula and convert it into some executable code. You may also have a look at prettyprint(). It works only one way (the easiest one), has no reciprocal, and deals only with a limited subset of regular data types (not functions or formulae). Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Thu Feb 23 22:34:00 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 23 Feb 2017 22:34:00 +0100 Subject: [Scilab-Dev] Filter out fake ATOMS modules and forges In-Reply-To: <1487796625.30700.1.camel@yahoo.es> References: <1487233426.2065.1.camel@scilab-enterprises.com> <1487796625.30700.1.camel@yahoo.es> Message-ID: <727e8d8c-2f6b-8ada-ba6b-e865666a71d9@free.fr> Le 22/02/2017 ? 21:50, Amanda Osvaldo a ?crit : > > ** File old and blank forges:* > > Would not it be better to file the Atoms that do not work or are > simply blank? > > It's frustrating ... and a waste of time ... finding a module that is > just what I need and seeing that it has nothing. :P > > https://forge.scilab.org/index.php/p/python/source/help/ > Definitely. /uman/ somewhat does it: http://atoms.scilab.org/toolboxes/uman It was planned that ATOMS modules in the /Tests/ category should not appear in the list. But in the Scilab 6 ATOMS client, they still appear. IMO, for ATOMS's manager, a configuration option shall be added to not show Test modules, and be set to "on" by default (cancel Tests). But it must remain possible to display them, in order to actually make tests ;) Otherwise, authors should be careful about their own modules, their categories, their update or deprecation, and not creating duplicates instead of creating new versions. SG -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Fri Feb 24 08:51:09 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Fri, 24 Feb 2017 08:51:09 +0100 Subject: [Scilab-Dev] Problem while solving Bug#14709 In-Reply-To: References: Message-ID: <1487922669.2765.11.camel@scilab-enterprises.com> Hi Nikhil, > I tried to overload the setText method in ScilabSpecialTextUtilities so that SwingScilabListBox > type variable could be passed to it but this also resulted in the same error.? > ? ?I think that the compatibility error is because SwingScilabListBox is not a part of the > hierarchy of JComponent class. > > [javac] > /home/nikhil/scilab_master/scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/listbox/Swing > ScilabListBox.java:112: error: incompatible types: cannot be > converted to JComponent > > ? ?Am I proceeding in the right direction or am I doing something wrong? Is there any other way to > do this? Yep you find the more complex part of Scilab GUI, Scilab components (within the bridge package) are not directly mapped to the Java ones but instead has an indirection (using the composition pattern) to them. For exemple : SwingScilabListBox class as an associated JList class stored in the 'list' field. If you want the rendering of an item of the list, take a look at SwingScilabListBox.java line 107 where JList default renderer is changed to a Scilab specific one. Thanks for you involvement, do not hesitate to ask questions, -- Cl?ment From lambdasoftware at yahoo.es Sat Feb 25 16:53:30 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Sat, 25 Feb 2017 12:53:30 -0300 Subject: [Scilab-Dev] Compilation Errors Message-ID: <1488038010.12253.1.camel@yahoo.es> I tried to compile SciLAB in a fresh and minimal Debian 8.7 GNU/Linux. When running configure with these parameters? export JAVA_HOME=/usr/java/jdk1.8.0_121/? ./configure --enable-debug ?--without-tk --without-javasci --without- gui --without-xcos --without-modelica --without-emf --without-fftw -- without-openmp --without-matio --without-arpack-ng --without-umfpack -- disable-build-localization -with-eigen- include=/usr/local/include/eigen3 I received this error message: configure: error: Could not find the Docbook root directory. If you have installed it on your system and we haven't been able to find it. Please report a bug However, both docbook and docbook-utils packages is installed. It's really a bug or i have done something wrong ? If anyone want to see what packages i have installed, i have put both /usr list files and installed package list here. https://drive.google.com/drive/folders/0Bws52gctKcgpMmZGNXVTUXQ2Q3c?usp =sharing -------------- next part -------------- An HTML attachment was scrubbed... URL: From lambdasoftware at yahoo.es Sat Feb 25 20:33:28 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Sat, 25 Feb 2017 16:33:28 -0300 Subject: [Scilab-Dev] Compilation Errors Message-ID: <1488051208.6062.0.camel@yahoo.es> I tried to compile SciLAB in a fresh and minimal Debian 8.7 GNU/Linux. When running configure with these parameters? export JAVA_HOME=/usr/java/jdk1.8.0_121/? ./configure --enable-debug ?--without-tk --without-javasci --without- gui --without-xcos --without-modelica --without-emf --without-fftw -- without-openmp --without-matio --without-arpack-ng --without-umfpack -- disable-build-localization -with-eigen- include=/usr/local/include/eigen3 I received this error message: configure: error: Could not find the Docbook root directory. If you have installed it on your system and we haven't been able to find it. Please report a bug However, both docbook and docbook-utils packages is installed. It's really a bug or I?have done something wrong ? If anyone want to see what packages i have installed, i have put both /usr list files and installed package list here. https://drive.google.com/drive/folders/0Bws52gctKcgpMmZGNXVTUXQ2Q3c?usp =sharing -- Amanda Osvaldo -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Sun Feb 26 19:10:08 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 26 Feb 2017 19:10:08 +0100 Subject: [Scilab-Dev] who(): how to count used memory In-Reply-To: <1487753089.2765.5.camel@scilab-enterprises.com> References: <1487713083.29253.3.camel@yahoo.es> <1487753089.2765.5.camel@scilab-enterprises.com> Message-ID: <4fb1a940-cc13-d4c7-df03-8d69827ea496@free.fr> Hi Cl?ment, Le 22/02/2017 ? 09:44, Cl?ment David a ?crit : > .../... > At runtime in release mode, Scilab 5 `who()` was able to return the size of the allocated data but this is not implemented yet as this is not clear to us if we should return the size of the allocated raw data or the size of the Scilab value. For exemple : > > a = zeros(10,10); > > 1. `a` is 10x10 matrix of double, and thus with size: 10*10*8 bytes. > 2. `a` is an ArrayOf with size : sizeof(types::Double) + 10*10*8 bytes > > Both computation are valuable, to determine either the data weight in memory or the memory allocated by scilab to use them. Up to now, the memory used by the container was included in who() results. Why not allowing both results, and implementing an option to let the user choosing the counting mode? IMHO, returning the data memory without the container could become the default. The relative difference between both gets very small as the sizes of data increase. For sparse encodings, the indices locating each non-zero or true value could be accounted with the values (so not being considered as part of the container), because the memory used to store indices is proportional to the number of non-zero values. The container being just the "structural" remainder. By the way, it would be much clearer to return the number of bytes instead of the equivalent number of decimal numbers. This unit (8-bytes sometimes called a "word" in the help) looks screwy. It is straightforward to understand it only for decimal numbers (and only with real values), while bytes are datatype independent. If back-compatibility is of concern, this could be returned with a new unit="bytes" option. Otherwise, it could become the default. HTH Samuel From paul.bignier at scilab-enterprises.com Mon Feb 27 10:56:36 2017 From: paul.bignier at scilab-enterprises.com (Paul Bignier) Date: Mon, 27 Feb 2017 10:56:36 +0100 Subject: [Scilab-Dev] Compilation Errors In-Reply-To: <1488051208.6062.0.camel@yahoo.es> References: <1488051208.6062.0.camel@yahoo.es> Message-ID: <669175f6-e200-b06c-11e5-797247935e03@scilab-enterprises.com> Hello Amanda, You may either use --with-docbook= to manually set Docbook's path, or if it's a version conflict you may use the one in Scilab's thirdparties folder (thidrparty/docbook/). Regards, Paul On 02/25/2017 08:33 PM, Amanda Osvaldo wrote: > I tried to compile SciLAB in a*fresh and minimal* Debian 8.7 GNU/Linux. > > > When running configure with these parameters > > export JAVA_HOME=/usr/java/jdk1.8.0_121/ > ./configure --enable-debug --without-tk --without-javasci > --without-gui --without-xcos --without-modelica --without-emf > --without-fftw --without-openmp --without-matio --without-arpack-ng > --without-umfpack --disable-build-localization > -with-eigen-include=/usr/local/include/eigen3 > > I received this error message: > > configure: error: Could not find the Docbook root directory. If you > have installed it on your system and we haven't been able to find it. > Please report a bug > > However, both docbook and docbook-utils packages is installed. > It's really a bug or I have done something wrong ? > > If anyone want to see what packages i have installed, i have put both > /usr list files and installed package list here. > https://drive.google.com/drive/folders/0Bws52gctKcgpMmZGNXVTUXQ2Q3c?usp=sharing > > > -- Amanda Osvaldo > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Paul BIGNIER Development engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.68 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lambdasoftware at yahoo.es Mon Feb 27 15:28:38 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Mon, 27 Feb 2017 11:28:38 -0300 Subject: [Scilab-Dev] Compilation Errors In-Reply-To: <669175f6-e200-b06c-11e5-797247935e03@scilab-enterprises.com> References: <1488051208.6062.0.camel@yahoo.es> <669175f6-e200-b06c-11e5-797247935e03@scilab-enterprises.com> Message-ID: <1488205718.19425.1.camel@yahoo.es> Hello Paul, thanks for the answer. With it i have found that SciLAB require more than docbook package, but docbook-xml, docbook-xssl and others more. I updated the documentation.https://wiki.scilab.org/Dependencies%20of%2 0Scilab%205.X -- Amanda Osvaldo. On Mon, 2017-02-27 at 10:56 +0100, Paul Bignier wrote: > ???? > > ????Hello Amanda, > > ???? > > ????You may either use --with-docbook= to manually set Docbook's > path, > ????or if it's a version conflict you may use the one in Scilab's > ????thirdparties folder (thidrparty/docbook/). > > ???? > > ????Regards, > > ????Paul > > ???? > > ????On 02/25/2017 08:33 PM, Amanda Osvaldo > ??????wrote: > > ???? > > ???? > > ??????I tried to compile SciLAB in a fresh and minimal > > ????????Debian 8.7 GNU/Linux. > > ?????? > > > > ?????? > > ?????? > > > > ?????? > > ??????When running configure with these parameters? > > ?????? > > > > ?????? > > ?????? > > ????????export JAVA_HOME=/usr/java/jdk1.8.0_121/? > > ????????./configure --enable-debug ?--without-tk --without-javasci > > ??????????--without-gui --without-xcos --without-modelica -- > > without-emf > > ??????????--without-fftw --without-openmp --without-matio > > ??????????--without-arpack-ng --without-umfpack > > ??????????--disable-build-localization > > ??????????-with-eigen-include=/usr/local/include/eigen3 > > ???????? > > > > ???????? > > ?????? > > ??????I received this error message: > > ?????? > > > > ?????? > > ?????? > > ?????????configure: error: Could not find the Docbook root > > ??????????directory. If you have installed it on your system and we > > ??????????haven't been able to find it. Please report a bug > > ?????? > > ?????? > > > > ?????? > > ??????However, both docbook and docbook-utils packages is > > ????????installed. > > ??????It's really a bug or I?have done something wrong ? > > ?????? > > > > ?????? > > ??????If anyone want to see what packages i have installed, i have > > ????????put both /usr list files and installed package list here. > > ??????https://drive.google.com/drive/folders/0Bws52gctKcgpMmZGNXVTU > > XQ2Q3c?usp=sharing > > ?????? > > > > ?????? > > ?????? > > > > ?????? > > ??????-- Amanda Osvaldo > > ?????? > > > > ?????? > > ?????? > > > > ??????_______________________________________________ > > dev mailing list > > dev at lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/dev > > > > ???? > > ???? > > ???? > ?? > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.strelkov at gmail.com Mon Feb 27 20:13:05 2017 From: n.strelkov at gmail.com (nikolay) Date: Mon, 27 Feb 2017 12:13:05 -0700 (MST) Subject: [Scilab-Dev] Compilation Errors In-Reply-To: <1488205718.19425.1.camel@yahoo.es> References: <1488051208.6062.0.camel@yahoo.es> <669175f6-e200-b06c-11e5-797247935e03@scilab-enterprises.com> <1488205718.19425.1.camel@yahoo.es> Message-ID: Dear Amanda Osvaldo! I suggest to use "apt-get build-dep scilab" before compilation. It may significantly save time. Then compile Scilab to deb-packages with checkinstall and install it. -- *With best regards,Ph.D., assistant professor at MPEI ,IEEE member,maintainer of Mathieu functions toolbox for Scilab ,Nikolay Strelkov.* 27 ????. 2017 ?. 17:28 ???????????? "AlvaroOsvaldo [via Scilab / Xcos - Mailing Lists Archives]" ???????: Hello Paul, thanks for the answer. With it i have found that SciLAB require more than docbook package, but docbook-xml, docbook-xssl and others more. *I updated the documentation.* https://wiki.scilab.org/Dependencies%20of%20Scilab%205.X -- Amanda Osvaldo. On Mon, 2017-02-27 at 10:56 +0100, Paul Bignier wrote: Hello Amanda, You may either use --with-docbook= to manually set Docbook's path, or if it's a version conflict you may use the one in Scilab's thirdparties folder (thidrparty/docbook/). Regards, Paul On 02/25/2017 08:33 PM, Amanda Osvaldo wrote: I tried to compile SciLAB in a* fresh and minimal* Debian 8.7 GNU/Linux. When running configure with these parameters export JAVA_HOME=/usr/java/jdk1.8.0_121/ ./configure --enable-debug --without-tk --without-javasci --without-gui --without-xcos --without-modelica --without-emf --without-fftw --without-openmp --without-matio --without-arpack-ng --without-umfpack --disable-build-localization -with-eigen-include=/usr/local/include/eigen3 I received this error message: configure: error: Could not find the Docbook root directory. If you have installed it on your system and we haven't been able to find it. Please report a bug However, both docbook and docbook-utils packages is installed. It's really a bug or I have done something wrong ? If anyone want to see what packages i have installed, i have put both /usr list files and installed package list here. https://drive.google.com/drive/folders/0Bws52gctKcgpMmZGNXVTUXQ2Q3c? usp=sharing -- Amanda Osvaldo _______________________________________________ dev mailing list[hidden email] http://lists.scilab.org/mailman/listinfo/dev _______________________________________________ dev mailing list[hidden email] http://lists.scilab.org/mailman/listinfo/dev _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev ------------------------------ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Compilation-Errors-tp4035596p4035611.html To start a new topic under Scilab developers - Mailing Lists Archives, email ml-node+s994242n2574944h49 at n3.nabble.com To unsubscribe from Scilab developers - Mailing Lists Archives, click here . NAML -- View this message in context: http://mailinglists.scilab.org/Compilation-Errors-tp4035596p4035619.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lambdasoftware at yahoo.es Mon Feb 27 22:55:56 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Mon, 27 Feb 2017 18:55:56 -0300 Subject: [Scilab-Dev] Compilation Bug Message-ID: <1488232556.4190.4.camel@yahoo.es> Hi everyone, I think I have found a bug during compilation, I whant to confirm here before report it. I'm executing configure script with these parameters : export JAVA_HOME=/usr/java/jdk1.8.0_121/ ./configure --enable-debug ?--without-tk --without-javasci --without- gui --without-xcos --without-modelica --without-emf --without-fftw -- without-openmp --without-matio --without-arpack-ng --without-umfpack -- disable-build-localization --with-eigen- include=/usr/local/include/eigen3 The attention it's for --without-javasci and --without-gui because I don't need plot functions or GUI.However when I compile using make i receive this error: [ .... ] ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/scirenderer/src/org/scilab/forge/sci renderer/implementation/jogl/JoGLCanvas.java: 22: error: package javax.media.opengl does not exist ????[javac] import javax.media.opengl.DebugGL2; [ .... ] BUILD FAILED /media/src/scilab- 6.0.0/scilab_master/scilab/modules/prebuildjava/build.xml:37: The following error occurred while executing this line: /media/src/scilab- 6.0.0/scilab_master/scilab/modules/scirenderer/build.xml:114: Compile failed; see the compiler error output for details. [ .... ] Why the compilation script is trying to compile scirender if i don't want it?Just for note, I have JoGL jar packages in both /usr/share/java and has a link in thirdparty directory.? And the configure output whith these parameters are: [ .... ] Java dependencies: ??Flexdock ............ = ? ??JOGL 2............... = ? ??JOGL 2 LIBS (JNI) ... = ? ??Gluegen 2 ........... = ? ??Gluegen 2 LIBS (JNI) ?= ? ??Jeuclid (MathML) .... = ? ??Jhall ?.............. = ? ??Jrosetta (API) ...... = ? ??Jrosetta (Engine) ... = ? ??Commons Logging ..... = ? ??JGraph X ............ = ? ??SciRenderer ......... = ? ??JLaTeXMath .......... = ? ??ECJ ................. = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/ecj.jar [ .... ] And without these two parameters are just like expected, so if configure script whant the dependences it is enable to take it:? [ .... ] Java dependencies: ??Flexdock ............ = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/flexdock-1.2.4.jar ??JOGL 2............... = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/jogl2.jar ??JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL ??Gluegen 2 ........... = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/gluegen2-rt.jar ??Gluegen 2 LIBS (JNI) ?= -lgluegen2-rt ??Jeuclid (MathML) .... = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/jeuclid-core-3.1.9.jar ??Jhall ?.............. = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/jhall-2.0.05.ds1.jar ??Jrosetta (API) ...... = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/jrosetta-API.jar ??Jrosetta (Engine) ... = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/jrosetta-engine.jar ??Commons Logging ..... = /usr/share/java/commons-logging.jar ??JGraph X ............ = ? ??SciRenderer ......... = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar ??JLaTeXMath .......... = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/jlatexmath-1.0.3.jar ??ECJ ................. = /media/src/scilab- 6.0.0/scilab_master/scilab/thirdparty/ecj.jar [ .... ] So, if configure script want the dependencies they can take it.Why the compilation script is trying to compile scirender if i don't want it? -- Amanda Osvaldo -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Tue Feb 28 09:14:40 2017 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Tue, 28 Feb 2017 09:14:40 +0100 Subject: [Scilab-Dev] Compilation Bug In-Reply-To: <1488232556.4190.4.camel@yahoo.es> References: <1488232556.4190.4.camel@yahoo.es> Message-ID: <1488269680.2123.1.camel@scilab-enterprises.com> Hi Amanda, > So, if configure script want the dependencies they can take it. > Why the compilation script is trying to compile scirender if i don't want it? That's a bug in the configure script, we probably missed something on scirenderer integration, could you comment on http://bugzilla.scilab.org/show_bug.cgi?id=7265 ? Thanks, -- Cl?ment From lambdasoftware at yahoo.es Tue Feb 28 16:40:06 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Tue, 28 Feb 2017 12:40:06 -0300 Subject: [Scilab-Dev] Compilation Bug In-Reply-To: <1488269680.2123.1.camel@scilab-enterprises.com> References: <1488232556.4190.4.camel@yahoo.es> <1488269680.2123.1.camel@scilab-enterprises.com> Message-ID: <1488296406.3826.1.camel@yahoo.es> Hi Cl?ment. Good to know it's a bug. However, how can I compile SciLAB ? :-O -- Amanda On Tue, 2017-02-28 at 09:14 +0100, Cl?ment David wrote: > Hi Amanda, > > > So, if configure script want the dependencies they can take it. > > Why the compilation script is trying to compile scirender if i > > don't want it? > > That's a bug in the configure script, we probably missed something on > scirenderer integration, could > you comment on http://bugzilla.scilab.org/show_bug.cgi?id=7265 ? > > Thanks, > > -- > Cl?ment > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: face-surprise.png Type: image/png Size: 1603 bytes Desc: not available URL: From michaelb at lpi.energy Tue Feb 28 17:25:11 2017 From: michaelb at lpi.energy (michaelb88) Date: Tue, 28 Feb 2017 09:25:11 -0700 (MST) Subject: [Scilab-Dev] MySQL Connector for Scilab 5.5.2 64 bit Windows Message-ID: <1488299111687-4035635.post@n3.nabble.com> Hi everyone, I am looking for a way to connect to a MySQL database using Scilab 5.5.2 Windows 64 bit. Thanks, Michael -- View this message in context: http://mailinglists.scilab.org/MySQL-Connector-for-Scilab-5-5-2-64-bit-Windows-tp4035635.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From lambdasoftware at yahoo.es Tue Feb 28 18:07:39 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Tue, 28 Feb 2017 14:07:39 -0300 Subject: [Scilab-Dev] MySQL Connector for Scilab 5.5.2 64 bit Windows In-Reply-To: <1488299111687-4035635.post@n3.nabble.com> References: <1488299111687-4035635.post@n3.nabble.com> Message-ID: <1488301659.12069.1.camel@yahoo.es> The worst, I can say, it's to use a CSV Engine in MySQL and work??in SciLAB the file only for read. A medium approach, it's to create a server that communication with SciLAB using Sockets and receive your SQL queries and return it in JSON. The better aproach I don't know @.@ Let's wait for another answers. :-D -- Amanda On Tue, 2017-02-28 at 09:25 -0700, michaelb88 wrote: > Hi everyone, > > I am looking for a way to connect to a MySQL database using Scilab 5.5.2 > Windows 64 bit. > > Thanks, > Michael > > > > -- > View this message in context: http://mailinglists.scilab.org/MySQL-Connector-for-Scilab-5-5-2-64-bit-Windows-tp4035635.html > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: face-smile-big.png Type: image/png Size: 1580 bytes Desc: not available URL: From lambdasoftware at yahoo.es Tue Feb 28 21:01:12 2017 From: lambdasoftware at yahoo.es (Amanda Osvaldo) Date: Tue, 28 Feb 2017 17:01:12 -0300 Subject: [Scilab-Dev] Compilation Errors II Message-ID: <1488312072.4635.1.camel@yahoo.es> Hi everbody.I need compile SciLAB to implement object orientation, however I am facing many problems for something that is meant to be simple. Somebody can help-me to interpret this problem ? [ .... ] graphic_export: ??[taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found. init: compile: ????[javac] Compiling 7 source files to /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/build/classes ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/Export.java ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/ExportBitmap.java ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/ExportParams.java ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/FileExporter.java ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/Utils.java ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/convertToPPM/ImageEncod er.java ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/convertToPPM/PPMEncoder .java ????[javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/Export.java:862: error: ?method does not override or implement a method from a supertype ????[javac] ????????????????????@Override ????[javac] ????????????????????^ ? ? [javac] /media/src/scilab- 6.0.0/scilab_master/scilab/modules/graphic_export/src/java/org/scilab/m odules/graphic_export/Export.java:886: error: ?method processShape in class PSGraphics2D cannot be applied to given types; ????[javac] ????????????????????????????????????return super.processShape(s, b); ????[javac] ????????????????????????????????????????????????^ ????[javac] ??required: Shape ????[javac] ??found: Shape,boolean ????[javac] ??reason: actual and formal argument lists differ in length [....] BUILD FAILED /media/src/scilab- 6.0.0/scilab_master/scilab/modules/prebuildjava/build.xml:53: The following error occurred while executing this line: /media/src/scilab-6.0.0/scilab_master/scilab/build.incl.xml:110: Compile failed; see the compiler error output for details. Total time: 2 seconds Makefile:753: recipe for target 'java' failed make[2]: *** [java] Error 1 make[2]: Leaving directory '/media/src/scilab- 6.0.0/scilab_master/scilab/modules/prebuildjava' Makefile:838: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/media/src/scilab- 6.0.0/scilab_master/scilab/modules' Makefile:1588: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 Is everyone suffering from problems with compilation or it's just me? -- Amanda Osvaldo -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Feb 28 21:26:02 2017 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 28 Feb 2017 21:26:02 +0100 Subject: [Scilab-Dev] MySQL Connector for Scilab 5.5.2 64 bit Windows In-Reply-To: <1488301659.12069.1.camel@yahoo.es> References: <1488299111687-4035635.post@n3.nabble.com> <1488301659.12069.1.camel@yahoo.es> Message-ID: <2296c380-7a7f-72f8-2398-267e8dab4fa1@free.fr> Le 28/02/2017 ? 18:07, Amanda Osvaldo a ?crit : > The worst, I can say, it's to use a CSV Engine in MySQL and work in > SciLAB the file only for read. > > A medium approach, it's to create a server that communication with > SciLAB using Sockets and receive your SQL queries and return it in JSON. > > The better aproach I don't know @.@ Maybe to get involved in the upgrade of the scidb module: https://atoms.scilab.org/toolboxes/scidb/0.1.1 http://forge.scilab.org/index.php/p/scidb/ Samuel