Building scilab-5.2.1 on redhat5 x86_64

Vergnes Nicolas (STERIA) nicolas.vergnes at cnes.fr
Thu Apr 1 11:14:37 CEST 2010


Hello,

For information (as specified in http://bugzilla.scilab.org/show_bug.cgi?id=5700 ) with modules/shell/src/c/others/zzledt.c , modules/shell/src/c/scilines.c
compilation works for our servers (rh4 and rh5) when the lines are :
[...]
#ifdef HAVE_TERMCAP_H
#include <termcap.h>
#endif

# ifndef HAVE_TERMCAP_H
#  ifdef HAVE_TERM_H
#    include <term.h>
#  endif
# endif
[...]


1/
I use --with-blas-library=[...]  --with-lapack-library=[...] on configure to build scilab with a optimized math lib ( acml_multithreaded for example ) , the compilation is ok but at the end during the linking of  scilab-bin  the linker dont find the blas and lapack routines&libraries.
To fix it, I had to duplicate options of blas and lapack library ( already specified in --with-blas-library=[...]  --with-lapack-library=[...] )  on 
LDFLAGS="< here >" .configure [...]

Is it normal to not have blas and lapack options during the link edition of scilab-bin ?



2/
When I launch scilab , I have an error message with a empty tk frame, but scilab start 
Whith the tcl/tk demos : the interfaces are initialised but there is not interaction
§ scilab
	  !--error 999
	Erreur TCL: Erreur pendant l'initialisation de TCL (Tcl_Init): package not known
	
	  !--error 999
	Erreur Tcl: Erreur pendant l'initialisation de TK (Tk_Init): invalid command name "tcl_findLibrary"

if someone have an idea...

Thanks!
Best regards;

Nicolas Vergnes
Produits & Logiciels Cnes
3IRT/AP /POL



More information about the dev mailing list