[Scilab-Dev] Building scilab-5.2.1 on redhat5 x86_64

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


1/
I use theses flags like this
--with-blas-library="-L$ACMLHOME/gfortran64_mp/lib -lacml_mp -lacml_mv -lgfortran -lgomp -lrt -lm -fopenmp" --with-lapack-library="-L$ACMLHOME/gfortran64_mp/lib -lacml_mp -lacml_mv -lgfortran -lgomp -lrt -lm -fopenmp"
Ok, I use shared libraries; with static libs the linker dont need the blas and lapack flags


2/
I builded tcl and tk 8.5.8 on a custom path , PATH and LD_LIBRARY_PATH is configured to tcltk bin and lib directories , and I use "--with-tk-include=$PRE521/include --with-tk-library=$PRE521/lib --with-tcl-include=$PRE521/include --with-tcl-library=$PRE521/lib" ($PRE521 is tcltk installation root path)
with others scilab 5.x versions it wasn't a problem



-----Message d'origine-----
De : Collette yann [mailto:yann.collette at scilab.org] 
Envoyé : jeudi 1 avril 2010 11:29
À : dev at lists.scilab.org
Objet : Re: [Scilab-Dev] Building scilab-5.2.1 on redhat5 x86_64

Hello
> 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  
>   
For these flags, you need to ship the complete path to the blas / lapack 
library: --with-blas-library=/usr/lib/libblas.a 
--with-lapack-library=/usr/lib/liblapack.a
>
> 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...
>
>   
Which version of TCL do you have on your redhat ?

YC



More information about the dev mailing list