From sylvestre.ledru at inria.fr Wed Dec 5 18:06:46 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Wed, 05 Dec 2007 18:06:46 +0100 Subject: aze Message-ID: <1196874406.16531.77.camel@korcula.inria.fr> azeazeaz -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From sylvestre.ledru at inria.fr Wed Dec 5 18:07:18 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Wed, 05 Dec 2007 18:07:18 +0100 Subject: [ScilabDev] aze In-Reply-To: <1196874406.16531.77.camel@korcula.inria.fr> References: <1196874406.16531.77.camel@korcula.inria.fr> Message-ID: <1196874438.16531.79.camel@korcula.inria.fr> reply dessus Le mercredi 05 d?cembre 2007 ? 18:06 +0100, Sylvestre Ledru a ?crit : > azeazeaz -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From sylvestre.ledru at inria.fr Wed Dec 5 18:08:21 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Wed, 05 Dec 2007 18:08:21 +0100 Subject: [ScilabDev] aze In-Reply-To: <1196874406.16531.77.camel@korcula.inria.fr> References: <1196874406.16531.77.camel@korcula.inria.fr> Message-ID: <1196874501.16531.81.camel@korcula.inria.fr> one more Le mercredi 05 d?cembre 2007 ? 18:06 +0100, Sylvestre Ledru a ?crit : > azeazeaz -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From sylvestre.ledru at inria.fr Wed Dec 5 18:10:25 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Wed, 05 Dec 2007 18:10:25 +0100 Subject: [ScilabDev] aze In-Reply-To: <1196874501.16531.81.camel@korcula.inria.fr> References: <1196874406.16531.77.camel@korcula.inria.fr> <1196874501.16531.81.camel@korcula.inria.fr> Message-ID: <1196874625.16531.83.camel@korcula.inria.fr> encopre ? Le mercredi 05 d?cembre 2007 ? 18:08 +0100, Sylvestre Ledru a ?crit : > one more > > Le mercredi 05 d?cembre 2007 ? 18:06 +0100, Sylvestre Ledru a ?crit : > > azeazeaz -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From sylvestre.ledru at inria.fr Thu Dec 20 01:47:13 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Thu, 20 Dec 2007 01:47:13 +0100 Subject: Scilab dev news Message-ID: <1198111633.3634.66.camel@zlarin.inria.fr> Hello, Two news people have just join the Scilab world : * Laurent Vaylet has joined the Scilab team at the INRIA and will be working on Scicos. * Yann Collette is joining us as a Scilab external developer. He will extend Scilab capability in optimisation and the help (and has been helping us for a long time with bug reports, nice emails and misc information). Cheers, Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From allan.cornet at inria.fr Thu Dec 20 14:35:31 2007 From: allan.cornet at inria.fr (Allan CORNET) Date: Thu, 20 Dec 2007 14:35:31 +0100 Subject: [scilab_dev] min and max C macros definition In-Reply-To: <200712201334.21828.alan.layec@inria.fr> References: <200712201334.21828.alan.layec@inria.fr> Message-ID: <7.0.1.0.2.20071220143041.055858a0@inria.fr> Hi ,:) #ifndef max #define max(a,b) (((a) > (b)) ? (a) : (b)) #endif #ifndef min #define min(a,b) (((a) < (b)) ? (a) : (b)) #endif min and max are defined in http://msdn2.microsoft.com/en-us/library/ms709458.aspx Merry christmas :) Allan Le 01:34 PM 12/20/2007,alan ?crit: >Hello, > >I'm encountering some understanding in the >compilation of scilab under windows >with min and max C macros : >In C routines of scicos we often use that macros >and in the scicos code I see >(in scicos_block.h for ie) : > >#if WIN32 >#undef min >#undef max >#endif > >#ifndef WIN32 >#define max(a,b) ((a) >= (b) ? (a) : (b)) >#define min(a,b) ((a) <= (b) ? (a) : (b)) >#endif > >that clearly means that we undefine min and max for windows and we define >min/max with previous definition for all others platforms. But why ? > >With more investigations, in most of computational routines of scicos blocks >where we need min and max, I can see that : > >#ifndef min >#define min(a,b) ((a) <= (b) ? (a) : (b)) >#endif > >#ifndef max >#define max(a,b) ((a) >= (b) ? (a) : (b)) >#endif > >(that says : if min/max not defined then use same definitions than the >first..!) > >Is there somebody that can say to me if there is >special definition of min/max >somewhere in the scilab C header(.h) for windows or in the standard C windows >include files ? > >Thanks, >Alan ============================================== Allan CORNET Scilab Consortium http://www.scilab.org INRIA - Unit? de Recherche de Rocquencourt Domaine de Voluceau - B.P. 105 78153 Le Chesnay Cedex ============================================== Projet Scilab B?timent 1B - Bureau 009 Email : allan.cornet at inria.fr ============================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at inria.fr Thu Dec 20 14:40:15 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Thu, 20 Dec 2007 14:40:15 +0100 Subject: New version of the string module Message-ID: <1198158015.4335.122.camel@korcula.inria.fr> Hello, We just made quite important change in the string management in Scilab. We (Allan and I) just switched the default string management. By default, the trunk version of Scilab is using Cong Wu's work for both Windows and Linux version. Under Linux/Unix, the previous version is still available using the option --with-string-v1 in the configure. Cong rewrote all the string functions in C with a significant help of Allan. The code is much easier to maintain and understand. He also extended the string capabilities of Scilab especially providing regular expression features (based on PCRE [1]) into Scilab. The name of the module will change before the release of the alpha version (probably STRING_V2 => string). The source code is available on the viewvc [2] and on the SVN in the directory SCI/modules/STRING_V2/ . Many tests have been developed in order to ensure the maximun compatibility between Scilab 4.X and Scilab 5.X string functions. The next step for this module will be performance improvements. Don't hesitate if you have any questions, Sylvestre [1] http://www.pcre.org/ [2] http://viewvc.scilab.org/bin/cgi/viewvc.cgi/trunk/scilab/modules/STRING_V2/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From pierre.marechal at inria.fr Fri Dec 21 12:41:53 2007 From: pierre.marechal at inria.fr (Pierre MARECHAL) Date: Fri, 21 Dec 2007 12:41:53 +0100 Subject: Benchmark launcher Message-ID: <476BA681.5030103@inria.fr> Hello, A benchmark launcher has been added to the trunk distribution : bench_run(). More details ( options, how to add a new bench ... ) are available on the following URL : http://wiki.scilab.org/Scilab_benchmarks Regards, Pierre -- =================================================== Pierre MARECHAL INRIA - Centre de Recherche de Paris - Rocquencourt Domaine de Voluceau - B.P. 105 78153 Le Chesnay Cedex =================================================== Equipe-Projet Scilab B?timent 1B - Bureau 008 Email : pierre.marechal at inria.fr =================================================== From vincent.couvert at inria.fr Fri Dec 21 14:23:49 2007 From: vincent.couvert at inria.fr (Vincent COUVERT) Date: Fri, 21 Dec 2007 14:23:49 +0100 Subject: Scilab tics labels not displayed Message-ID: <476BBE65.3060202@inria.fr> Hi all, The package called xserver-xgl (GL-based X server) was installed on my PC and was the cause of a bad behavior of Scilab graphics (tics labels not displayed...). After uninstalling this package and then using the NVIDIA drivers (already installed), Scilab graphics work perfectly. My Linux distribution : Ubuntu 7.10 Hope that helps if you have the same problem. Vincent -- ============================================== Vincent COUVERT Centre de Recherche INRIA Paris-Rocquencourt Domaine de Voluceau - B.P. 105 78153 Le Chesnay Cedex ============================================== Equipe Projet SCILAB B?timent 1B - Bureau 013 Email : vincent.couvert at inria.fr T?l : +33 (0)1 39 63 54 46 Fax : +33 (0)1 39 63 55 94 ============================================== From sylvestre.ledru at inria.fr Fri Dec 21 17:18:43 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Fri, 21 Dec 2007 17:18:43 +0100 Subject: GIWS Message-ID: <1198253923.4960.4.camel@korcula.inria.fr> Hello, In the process of developement of Scilab 5.0, we soon realized that we would need a tool to generate JNI code for C/C++ calling Java. We developed a tool to do that called GIWS. This tool is not at all dependent in any way of Scilab. It can be used in various projects. You will find more information on the dedicated website : http://www.scilab.org/giws/ This project has been released under the license CeCILL-A (GPL-like) and the generated code under the license CeCILL-B (BSD-like). Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From fvogelnew1 at free.fr Mon Dec 24 10:44:17 2007 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Mon, 24 Dec 2007 10:44:17 +0100 Subject: Tcl/Tk 8.5 has been released Message-ID: <476F7F71.8010209@free.fr> Hi all, Tcl/Tk 8.5 has been officially released, by the Tcl Core Team as a source package: http://sourceforge.net/project/showfiles.php?group_id=10894 http://www.tcl.tk/software/tcltk/8.5.html and by ActiveState as a binary package: http://www.activestate.com/Products/activetcl/ Allan Cornet wrote that "Scilab 5.x will use Tcl/Tk 8.5 by default when Tcl/Tk 8.5 will be released" in http://wiki.scilab.org/Linking_Scilab_with_Tcl/Tk_8.5 therefore I thought you would be interested to know that this happened. Full announcements at c.l.t are here (for the TCT): http://groups.google.fr/group/comp.lang.tcl/browse_thread/thread/747fcc9df3274310 and here (for ActiveState): http://groups.google.fr/group/comp.lang.tcl/browse_thread/thread/f5d67936e5809e04 An interesting reference for grasping quickly what's new against 8.4 is the "Busy Developer's Guide to Tcl/Tk 8.5" that can be found here: http://www.markroseman.com/tcl/guide85.html Merry Christmas to those who feel concerned. Francois From sylvestre.ledru at inria.fr Mon Dec 24 12:11:18 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Mon, 24 Dec 2007 12:11:18 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <476F7F71.8010209@free.fr> References: <476F7F71.8010209@free.fr> Message-ID: Hello, Thanks for the information Francois ! I am going to add the management of TCL/TK 8.5 under Linux too. Tile sounds very promising : http://wiki.tcl.tk/13636 and also the "Better platform look and feel". Did you tried this version on Scipad under Linux ? Can we have a screenshot ? :| Cheers, Sylvestre On Mon, 24 Dec 2007 10:44:17 +0100, Fran?ois Vogel wrote: > Hi all, > > > Tcl/Tk 8.5 has been officially released, by the Tcl Core Team as a > source package: > > http://sourceforge.net/project/showfiles.php?group_id=10894 > http://www.tcl.tk/software/tcltk/8.5.html > > and by ActiveState as a binary package: > > http://www.activestate.com/Products/activetcl/ > > > Allan Cornet wrote that > > "Scilab 5.x will use Tcl/Tk 8.5 by default when Tcl/Tk 8.5 will be > released" > > in > > http://wiki.scilab.org/Linking_Scilab_with_Tcl/Tk_8.5 > > therefore I thought you would be interested to know that this happened. > > > Full announcements at c.l.t are here (for the TCT): > > http://groups.google.fr/group/comp.lang.tcl/browse_thread/thread/747fcc9df3274310 > > and here (for ActiveState): > > http://groups.google.fr/group/comp.lang.tcl/browse_thread/thread/f5d67936e5809e04 > > > An interesting reference for grasping quickly what's new against 8.4 > is the "Busy Developer's Guide to Tcl/Tk 8.5" that can be found here: > > http://www.markroseman.com/tcl/guide85.html > > > Merry Christmas to those who feel concerned. > Francois From fvogelnew1 at free.fr Mon Dec 24 16:50:38 2007 From: fvogelnew1 at free.fr (=?UTF-8?B?RnJhbsOnb2lzIFZvZ2Vs?=) Date: Mon, 24 Dec 2007 16:50:38 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: References: <476F7F71.8010209@free.fr> Message-ID: <476FD54E.8090803@free.fr> Sylvestre Ledru said on 24/12/2007 12:11: > Tile sounds very promising : > http://wiki.tcl.tk/13636 > and also the "Better platform look and feel". Funny you speak about better look and feel after you op. team have removed gtk support from Scilab in favor of xaw. Yes I know, java, java, and also java will do everything. > Did you tried this version on Scipad under Linux ? Can we have a screenshot > ? :| There is a screenshot of Scipad on both Linux and Windows with Tcl/Tk 8.5 at: http://wiki.scilab.org/Linking_Scilab_with_Tcl/Tk_8.5 Scipad does not use Tile but only the vanilla widgets from Tk (yes, with minor exceptions). Francois From sylvestre.ledru at inria.fr Mon Dec 24 17:04:49 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Mon, 24 Dec 2007 17:04:49 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <476FD54E.8090803@free.fr> References: <476FD54E.8090803@free.fr> Message-ID: > Yes I know, java, java, and also java will do everything. Actually, we will probably use the Java/GTK rendering under Linux. We have some prototypes and they are very nice. > There is a screenshot of Scipad on both Linux and Windows with Tcl/Tk > 8.5 at: > http://wiki.scilab.org/Linking_Scilab_with_Tcl/Tk_8.5 Thanks. Can you confirm that Scipad will still work under TCL/TK 8.4 ? At least under Linux, I don't see TCL/TK 8.5 as mandatory right now. Sylvestre From fvogelnew1 at free.fr Mon Dec 24 17:22:41 2007 From: fvogelnew1 at free.fr (=?UTF-8?B?RnJhbsOnb2lzIFZvZ2Vs?=) Date: Mon, 24 Dec 2007 17:22:41 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: References: <476FD54E.8090803@free.fr> Message-ID: <476FDCD1.9040501@free.fr> Sylvestre Ledru said on 24/12/2007 17:04: > Can you confirm that Scipad will still work under TCL/TK 8.4 ? The present Scipad that you have in trunk (Scipad 6.132) works transparently with either 8.4 or 8.5. If 8.5 is found by Scipad then it uses 8.5 because 8.5 has many new features, bug fixes, speed improvements, and so on (again, see what 8.5 features are used by Scipad by reading the top of http://wiki.scilab.org/Linking_Scilab_with_Tcl/Tk_8.5). For the future of Scipad I can't say anything. For the moment I have stopped committing my developments in Scilab's trunk. Francois From sylvestre.ledru at inria.fr Wed Dec 26 15:09:25 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Wed, 26 Dec 2007 15:09:25 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <476FDCD1.9040501@free.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> Message-ID: <1198678165.5011.33.camel@korcula.inria.fr> > If 8.5 is found by Scipad then it uses 8.5 because 8.5 has many new > features, bug fixes, speed improvements, and so on (again, see what > 8.5 features are used by Scipad by reading the top of > http://wiki.scilab.org/Linking_Scilab_with_Tcl/Tk_8.5). I am working on it. I have a question about that. We have 3 execution modes : * normal * nw - no window, ie no console but the possibility to launch rendering plot3d for example * nwni - no window, ni interactive, ie an ultra basic console. I thought (maybe wrongly) that the TCL event loop should be disabled in the nwni mode. Should it be the case or not ? (it is quite unclear in the code) For example, scilab 4.1.2 uicontrol() is "working" (thanks Bruno btw). Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From stephane.mottelet at utc.fr Wed Dec 26 16:57:52 2007 From: stephane.mottelet at utc.fr (=?UTF-8?B?U3TCjsOpcGhhbmUgTW90dGVsZXQ=?=) Date: Wed, 26 Dec 2007 16:57:52 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <1198678165.5011.33.camel@korcula.inria.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> Message-ID: <47727A00.2060708@utc.fr> Sylvestre Ledru a ?crit : >> If 8.5 is found by Scipad then it uses 8.5 because 8.5 has many new >> features, bug fixes, speed improvements, and so on (again, see what >> 8.5 features are used by Scipad by reading the top of >> http://wiki.scilab.org/Linking_Scilab_with_Tcl/Tk_8.5). >> > > I am working on it. > I have a question about that. > We have 3 execution modes : > * normal > * nw - no window, ie no console but the possibility to launch rendering > plot3d for example > * nwni - no window, ni interactive, ie an ultra basic console. > > I thought (maybe wrongly) that the TCL event loop should be disabled in > the nwni mode. > Should it be the case or not ? (it is quite unclear in the code) > > For example, scilab 4.1.2 uicontrol() is "working" (thanks Bruno btw). > > Sylvestre > > As far as I remember (at least for Unix/Linux version) in -nw and -nwni mode, the TCL event loop is disabled by default, but started on demand (together with the X11 event loop) when e.g. the very first TCL_EvalStr is issued. This allows to use Scilab as a transparent engine (no visible console but keeping all other graphical features). S. From sylvestre.ledru at inria.fr Wed Dec 26 23:59:06 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Wed, 26 Dec 2007 23:59:06 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <47727A00.2060708@utc.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> <47727A00.2060708@utc.fr> Message-ID: <1198709946.3719.71.camel@zlarin.inria.fr> > > > As far as I remember (at least for Unix/Linux version) in -nw and -nwni > mode, the TCL event > loop is disabled by default, but started on demand (together with the > X11 event loop) when > e.g. the very first TCL_EvalStr is issued. This allows to use Scilab as > a transparent engine > (no visible console but keeping all other graphical features). OK, thanks for the information. If tcl8.4 and tcl8.5 are available on the system, it will use (or at least try) the version 8.5 under Linux/Unix. I also made some cleanup. I may have broke some stuff. Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From fvogelnew1 at free.fr Thu Dec 27 21:10:56 2007 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Thu, 27 Dec 2007 21:10:56 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <1198709946.3719.71.camel@zlarin.inria.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> <47727A00.2060708@utc.fr> <1198709946.3719.71.camel@zlarin.inria.fr> Message-ID: <477406D0.4050500@free.fr> Sylvestre Ledru said on 26/12/2007 23:59: > If tcl8.4 and tcl8.5 are available on the system, it will use (or at > least try) the version 8.5 under Linux/Unix. > I also made some cleanup. I may have broke some stuff. Did you try to actually compile with Tcl/Tk 8.5 on Linux or did you stop at updating the configure scripts? For me, I configure the following way (those directories contain version 8.5 of Tcl and Tk): ./configure --with-tcl-library=/usr/local/lib --with-tk-library=/usr/local/lib --with-tcl-include=/usr/local/include --with-tk-include=/usr/local/include and configure is happy with this AFAIK. Here is the relevant part of the config.log: checking for header file tcl.h... found in /usr/local/include checking if tcl is version 8.4 or later... (8.5) yes checking for tcl library tcl8.5... found /usr/local/lib/libtcl8.5.so using -L/usr/local/lib -ltcl8.5 checking for Tcl_DoOneEvent in -ltcl8.5... yes checking for header file tk.h... found in /usr/local/include checking if tk is version 8.4 or later... (8.5) yes checking for tk library tk8.5... found /usr/local/lib/libtk8.5.so using -L/usr/local/lib -ltk8.5 checking for Tk_BindEvent in -ltk8.5... yes Then make all runs (for ages) and finally ends with: make[1]: Leaving directory `/home/francois/scilab/trunk/scilab/modules' make[1]: Entering directory `/home/francois/scilab/trunk/scilab' ./bin/scilab -ns -nwni -f modules/functions/scripts/buildmacros/buildmacros.sce /home/francois/scilab/trunk/scilab/.libs/lt-scilab-bin: error while loading shared libraries: libtk8.5.so: cannot open shared object file: No such file or directory make[1]: [macros] Error 127 (ignored) make[1]: Leaving directory `/home/francois/scilab/trunk/scilab' But libtk8.5.so really is in /usr/local/lib The configure script found it and I checked manually that it is here. So what could be wrong? Thanks, Francois From sylvestre.ledru at inria.fr Fri Dec 28 11:46:01 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Fri, 28 Dec 2007 11:46:01 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <477406D0.4050500@free.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> <47727A00.2060708@utc.fr> <1198709946.3719.71.camel@zlarin.inria.fr> <477406D0.4050500@free.fr> Message-ID: <1198838761.5011.183.camel@korcula.inria.fr> Le jeudi 27 d?cembre 2007 ? 21:10 +0100, Fran?ois Vogel a ?crit : > Sylvestre Ledru said on 26/12/2007 23:59: > > If tcl8.4 and tcl8.5 are available on the system, it will use (or at > > least try) the version 8.5 under Linux/Unix. > > I also made some cleanup. I may have broke some stuff. > > Did you try to actually compile with Tcl/Tk 8.5 on Linux or did you > stop at updating the configure scripts? Yep, I did. > /home/francois/scilab/trunk/scilab/.libs/lt-scilab-bin: error while > loading > shared libraries: libtk8.5.so: cannot open shared object file: No such > file or > directory > make[1]: [macros] Error 127 (ignored) > make[1]: Leaving directory `/home/francois/scilab/trunk/scilab' if you do : # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib # ./bin/scilab -ns -nwni -f modules/functions/scripts/buildmacros/buildmacros.sce Is it working for you ? TCL/TK features may be broken in the current revision of the trunk. Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From fvogelnew1 at free.fr Fri Dec 28 13:48:00 2007 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Fri, 28 Dec 2007 13:48:00 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <1198838761.5011.183.camel@korcula.inria.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> <47727A00.2060708@utc.fr> <1198709946.3719.71.camel@zlarin.inria.fr> <477406D0.4050500@free.fr> <1198838761.5011.183.camel@korcula.inria.fr> Message-ID: <4774F080.4000105@free.fr> Sylvestre Ledru said on 28/12/2007 11:46: > # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib > # ./bin/scilab -ns -nwni -f modules/functions/scripts/buildmacros/buildmacros.sce > > Is it working for you ? Yes indeed it does. > TCL/TK features may be broken in the current revision of the trunk. Yes. Scipad doesn't even start any more while it did before. Francois From sylvestre.ledru at inria.fr Fri Dec 28 14:49:53 2007 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Fri, 28 Dec 2007 14:49:53 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <4774F080.4000105@free.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> <47727A00.2060708@utc.fr> <1198709946.3719.71.camel@zlarin.inria.fr> <477406D0.4050500@free.fr> <1198838761.5011.183.camel@korcula.inria.fr> <4774F080.4000105@free.fr> Message-ID: <1198849793.5011.202.camel@korcula.inria.fr> Le vendredi 28 d?cembre 2007 ? 13:48 +0100, Fran?ois Vogel a ?crit : > Sylvestre Ledru said on 28/12/2007 11:46: > > # export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib > > # ./bin/scilab -ns -nwni -f modules/functions/scripts/buildmacros/buildmacros.sce > > > > Is it working for you ? > > Yes indeed it does. It is weird. By default, your Ubuntu should look for libs in the directory /usr/local/lib Under Debian - Lenny at least - (and then most probably under Ubuntu), you should have this file : /etc/ld.so.conf.d/libc.conf containing the path "/usr/local/lib" > > > TCL/TK features may be broken in the current revision of the trunk. > > Yes. Scipad doesn't even start any more while it did before. I am guilty... Sorry for this. Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From fvogelnew1 at free.fr Fri Dec 28 17:45:08 2007 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Fri, 28 Dec 2007 17:45:08 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <1198849793.5011.202.camel@korcula.inria.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> <47727A00.2060708@utc.fr> <1198709946.3719.71.camel@zlarin.inria.fr> <477406D0.4050500@free.fr> <1198838761.5011.183.camel@korcula.inria.fr> <4774F080.4000105@free.fr> <1198849793.5011.202.camel@korcula.inria.fr> Message-ID: <47752814.4050604@free.fr> Sylvestre Ledru said on 28/12/2007 14:49: > It is weird. By default, your Ubuntu should look for libs in the > directory /usr/local/lib > > Under Debian - Lenny at least - (and then most probably under Ubuntu), > you should have this file : > /etc/ld.so.conf.d/libc.conf > containing the path "/usr/local/lib" This file exists at the location above, and contains exactly the following two lines: # libc default configuration /usr/local/lib So I guess this is OK. Then why should I export the path...? >>> TCL/TK features may be broken in the current revision of the trunk. >> Yes. Scipad doesn't even start any more while it did before. > I am guilty... Sorry for this. I'll have a look at this issue. Francois From fvogelnew1 at free.fr Fri Dec 28 23:21:48 2007 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Fri, 28 Dec 2007 23:21:48 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <47752814.4050604@free.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> <47727A00.2060708@utc.fr> <1198709946.3719.71.camel@zlarin.inria.fr> <477406D0.4050500@free.fr> <1198838761.5011.183.camel@korcula.inria.fr> <4774F080.4000105@free.fr> <1198849793.5011.202.camel@korcula.inria.fr> <47752814.4050604@free.fr> Message-ID: <477576FC.60008@free.fr> >>> Scipad doesn't even start any more while it did before. >> I am guilty... Sorry for this. > > I'll have a look at this issue. Here are my findings, all with the Scipad you have currently in trunk, i.e. 6.132. 0. Executing Scipad completely outside of Scilab, i.e. directly in wish8.5 works OK. a. Scilab trunk up-to-date linked with Tcl/Tk 8.5 : Doesn't work. By this I mean that the Scipad window correctly opens but the text widget, menues, status bar, scrollbars, etc are not visibly packed in that window. It looks like Scipad is stuck somewhere during its launch process. b. Scilab trunk up-to-date linked with Tcl/Tk 8.4 : works OK. The Scipad window opens completely OK. c. Scilab trunk r21301 linked with Tcl/Tk 8.5 : same as a. d. Scilab trunk r21189 linked with Tcl/Tk 8.5 : same as a. e. Situation described in a. happens on Kubuntu Gutsy and OpenSuse 10.3 as well. In case a, c and d, TCL_EvalStr("isscilabbusy","scipad") returns true. Without entering into the details of the Scilab/Tcl interface, this means that Scipad is waiting for Scilab to finish some job. The Tcl global variable sciprompt from the Tcl interpreter named scipad has -1 as a value. When done, Scilab should set the Tcl global variable sciprompt back to 0 (actually back to the pause level, 0, 1 or more). One can interact with Scipad through different commands, say: TCL_EvalStr("opensourceof","scipad") TCL_EvalStr("closecur","scipad") (this one will close Scipad) Moreover, if you try to force the Tcl event loop to run through, say, the following command: TCL_EvalStr("tk_messageBox -message $sciprompt","scipad") then after clicking on OK in the dialog showing the value of sciprompt you get the packing of the widgets in Scipad. This means that the event loop ran once. However, Scipad is still not fully available, as clicking on any menu proves it. I think that all this in fact bug 2514: http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2514 The Tcl event loop doesn't seem to run unless it is forced to do so. It really looks like the problem is in the Scilab/Tcl interface, as described in bug 2514. Francois From fvogelnew1 at free.fr Sat Dec 29 08:29:23 2007 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Sat, 29 Dec 2007 08:29:23 +0100 Subject: [Scilab-Dev] Tcl/Tk 8.5 has been released In-Reply-To: <477576FC.60008@free.fr> References: <476FD54E.8090803@free.fr> <476FDCD1.9040501@free.fr> <1198678165.5011.33.camel@korcula.inria.fr> <47727A00.2060708@utc.fr> <1198709946.3719.71.camel@zlarin.inria.fr> <477406D0.4050500@free.fr> <1198838761.5011.183.camel@korcula.inria.fr> <4774F080.4000105@free.fr> <1198849793.5011.202.camel@korcula.inria.fr> <47752814.4050604@free.fr> <477576FC.60008@free.fr> Message-ID: <4775F753.6010802@free.fr> Fran?ois Vogel said on 28/12/2007 23:21: > > I think that all this in fact bug 2514: > http://www.scilab.org/cgi-bin/bugzilla_bug_II/show_bug.cgi?id=2514 > > The Tcl event loop doesn't seem to run unless it is forced to do so. It > really looks like the problem is in the Scilab/Tcl interface, as > described in bug 2514. Well... trying to debug Scilab with gdb segfaults three times simply during the startup of Scilab, even before anything is entered in the Scilab shell. Enough for me. Francois