Hi Sylvestre<br><br>Thanks for your reply<br><br>I rm -rf scilab-5.1.1 and tried again with untarred prerequirements and source code...<br> But this time #make complained earlier...  here it is :<br><br>Scilab511<br><br>./configure --without-pvm --without-matio --enable-relocatable<br>
<br><br>                  Option                        Value<br>-------------------------------------------------------------------------<br>Shared libraries.......      --enable-shared=yes        yes<br>Static libraries.......      --enable-static=no no<br>
GNU ld.................      --with-gnu-ld=yes          yes<br>Enable debug ..........      --enable-debug=no  no<br>Enable debug C.........      --enable-debug-C=no        no<br>Enable debug C++.......      --enable-debug-CXX=no      no<br>
Enable debug Fortran...      --enable-debug-fortran=no  no<br>Enable stop on warning.      --enable-stop-on-warning=<br><br>Compiler Configuration:<br>Intel (--with-intelcompilers) .... =<br>GNU gcc (--with-gcc) ............. =<br>
GNU Fortran 77 (--with-g77) ...... =<br>GNU Fortran 95 (--with-gfortran) . =<br><br>Options:<br>Use PVM (--without-pvm) .......................... = no<br>PVM include (--with-pvm-include) ................. =<br>PVM library (--with-pvm-library) ................. =<br>
Compile with Ocaml (--without-ocaml) ............. =<br>Do not use TCL/TK (--without-tk) ................. =<br>TCL include (--with-tcl-include) ................. =<br>TCL library (--with-tcl-library) ................. =<br>
TK include (--with-tk-include) ................... =<br>TK library (--with-tk-library) ................... =<br>Install XML Help (--with-install-help-xml) ....... =<br>Make the package relocatable (--enable-relocatable)= yes<br>
Use FFTW (--without-fftw) ........................ =<br>Use MATIO (--without-matio) ...................... = no<br><br>Scicos enable<br><br>Ocaml Configuration (for Modelica compiler):<br>OCAMLC ............. = ocamlc<br>
OCAMLOPT ........... = ocamlopt<br>OCAMLDEP ........... = ocamldep<br><br>Not using PVM<br><br>FFTW Configuration:<br>FFTW LIBS .......... = -lfftw3<br>FFTW CFLAGS ........ =<br><br>Not using MATIO<br><br>UMFPACK Configuration:<br>
UMFPACK LIBS ....... = -lumfpack -lamd<br>UMFPACK CFLAGS ..... =<br>UMFPACK SUITESPARSE  = Yes<br><br>BLAS/LAPACK/ATLAS Configuration:<br>BLAS LIBS ............. = -lblas<br>BLAS TYPE ............. = Generic Blas<br>LAPACK LIBS ........... = -llapack<br>
LAPACK TYPE ........... = Library -llapack<br><br><br>Gettext/localization configuration:<br>xgettext ............... = /usr/bin/xgettext<br>msgfmt  ................ = /usr/bin/msgfmt<br>msgfmt_opts ............ =<br>msgcat  ................ = /usr/bin/msgcat<br>
<br>Docbook XSL path ....... = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/docbook/<br>Batik (SVG) ............ = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/batik-all-1.7.jar<br>Saxon XSLT ............. = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/saxon.jar<br>
FOP (XML => PDF) ....... = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/fop.jar<br>Jeuclid (MathML) ....... = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/jeuclid-core.jar<br>Commons I/O ............ = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/commons-io.jar<br>
XML graphics commons ... = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/xmlgraphics-commons-1.3.1.jar<br>XML commons external ... = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/xml-apis-ext.jar<br>
<br>Java Configuration:<br>  JAVA_HOME ........... = /usr/lib64/java<br>  JAVAC ............... = /usr/lib64/java/bin/javac<br>  JAVA_CLASSPATH ...... =<br>  JAVA_VERSION ........ = 1.5<br>  JAVAC_FLAGS ......... = -g<br>
  JAVA_JNI_INCLUDE .... = -I/usr/lib64/java/include -I/usr/lib64/java/include/linux<br>  JAVA_JNI_LIBS ....... = -L/usr/lib64/java/jre/lib/amd64 -ljava -lverify -L/usr/lib64/java/jre/lib/amd64/server -ljvm<br>  JAVA_JNI_LIBS_PRELOAD =<br>
  JAVA ................ = /usr/lib64/java/bin/java<br>  JAR ................. = /usr/lib64/java/bin/jar<br>  ANT ................. = /usr/bin/ant<br><br>TCL/TK configuration:<br>  TK_INC_PATH ........ = -I/usr/include<br>
  TCL_INC_PATH ....... = -I/usr/include<br>  TCLTK_LIBS ......... =  -L/usr/lib64 -ltk8.5   -L/usr/lib64 -ltcl8.5  -ldl<br>  TCL_SERIAL_VERSION . = 8.5.7<br>  TK_SERIAL_VERSION .. = 8.5.7<br><br>XML configuration:<br>  XML_FLAGS .......... = -I/usr/include/libxml2<br>
  XML_LIBS ........... = -lxml2 -lz -lm<br>  XML_VERSION ........ = 2.7.3<br><br>PCRE configuration:<br>  PCRE_CFLAGS ........ =<br>  PCRE_LIBS .......... = -L/usr/lib64 -lpcreposix -lpcre<br>  PCRE_VERSION ....... = 7.7<br>
<br>SWIG Configuration:<br>  SWIG generation disabled<br><br>GIWS Configuration:<br>  GIWS generation disabled<br><br>Libtool config:<br>  objext .............. = o<br>  libext (static) ..... = a<br>  shrext_cmds ......... = .so<br>
  exeext .............. =<br><br>Compilation paths:<br>  srcdir .............. = .<br>  srcdir_full ......... = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1<br>  builddir ............ = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1<br>
<br>Platform informations:<br>  host ........... = x86_64-unknown-linux-gnu<br>  host_cpu ....... = x86_64<br>  host_vendor .... = unknown<br>  host_os ... .... = linux-gnu<br>  hostname ....... = iskandhar<br>  CPU 64 bits .... = true<br>
<br>Options used to compile and link:<br>  prefix ......... = /usr/local<br>  localedir ...... = ${datarootdir}/locale<br>  VERSION ........ = 5<br>  CC ............. = gcc<br>  CFLAGS ......... = -g -O2  -DNDEBUG -fno-stack-protector -DNARROWPROTO -m64 -I$(top_srcdir)/modules/core/includes/ <br>
-I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/<br>  PCFLAGS ........ =<br>  DEFS ........... = -DHAVE_CONFIG_H<br>  LD ............. = /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64<br>
  LDFLAGS ........ =<br>  LIBS ........... =<br>  CXX ............ = g++<br>  CXXFLAGS ....... = -g -O2 -DNDEBUG -fno-stack-protector -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ <br>-I$(top_srcdir)/modules/localization/includes/<br>
  F77 ............ = g77<br>  FFLAGS ......... = -g -O2 -DNDEBUG -m64 -fPIC -I$(top_srcdir)/modules/core/includes/<br>  F77_LDFLAGS .... =<br>  TERMCAP_LIB .... = -lncurses<br><br><br>bash-3.1#make<br><br>Making all in libs<br>
make[1]: Entering directory `/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs'<br>Making all in MALLOC<br>make[2]: Entering directory `/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs/MALLOC'<br>/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../modules/core/includes     -g -O2  -DNDEBUG -fno-stack-protector <br>
-DNARROWPROTO -m64 -I../../modules/core/includes/ -I../../libs/MALLOC/includes/ -I../../modules/localization/includes/ -MT <br>libscimalloc_la-sci_mem_alloc.lo -MD -MP -MF .deps/libscimalloc_la-sci_mem_alloc.Tpo -c -o libscimalloc_la-sci_mem_alloc.lo `test -f <br>
'src/sci_mem_alloc.c' || echo './'`src/sci_mem_alloc.c<br>mkdir .libs<br> gcc -DHAVE_CONFIG_H -I. -I../../modules/core/includes -g -O2 -DNDEBUG -fno-stack-protector -DNARROWPROTO -m64 -I../../modules/core/includes/ <br>
-I../../libs/MALLOC/includes/ -I../../modules/localization/includes/ -MT libscimalloc_la-sci_mem_alloc.lo -MD -MP -MF <br>.deps/libscimalloc_la-sci_mem_alloc.Tpo -c src/sci_mem_alloc.c  -fPIC -DPIC -o .libs/libscimalloc_la-sci_mem_alloc.o<br>
0 entries<br>mv -f .deps/libscimalloc_la-sci_mem_alloc.Tpo .deps/libscimalloc_la-sci_mem_alloc.Plo<br>mv: cannot stat `.deps/libscimalloc_la-sci_mem_alloc.Tpo': No such file or directory<br>make[2]: *** [libscimalloc_la-sci_mem_alloc.lo] Error 1<br>
make[2]: Leaving directory `/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs/MALLOC'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs'<br>
make: *** [all-recursive] Error 1<br><br><br>I also gave it a try with Scilab-5.2.0Beta<br><br>Same configuration Options...  :<br><br>./configure --without-pvm --without-matio --enable-relocatable<br><br>configures ok....  but fails to build...  :<br>
<br>.................................................<br><br>In file included from src/c/scilines.c:35:<br>/usr/include/term.h:780: error: conflicting types for 'tgetstr'<br>/usr/include/termcap.h:46: error: previous declaration of 'tgetstr' was <br>
here<br>/usr/include/term.h:782: error: conflicting types for 'tgetent'<br>/usr/include/termcap.h:43: error: previous declaration of 'tgetent' was <br>here<br>/usr/include/term.h:783: error: conflicting types for 'tgetflag'<br>
/usr/include/termcap.h:44: error: previous declaration of 'tgetflag' was <br>here<br>/usr/include/term.h:784: error: conflicting types for 'tgetnum'<br>/usr/include/termcap.h:45: error: previous declaration of 'tgetnum' was <br>
here<br>/usr/include/term.h:785: error: conflicting types for 'tputs'<br>/usr/include/termcap.h:53: error: previous declaration of 'tputs' was <br>here<br>make[2]: *** [libscishell_la-scilines.lo] Error 1<br>
make[2]: Leaving directory <br>`/store/alex/Sci52/scilab-5.2.0-beta-1/modules/shell'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory <br>`/store/alex/Sci52/scilab-5.2.0-beta-1/modules'<br>make: *** [all-recursive] Error 1<br>
<br><br>I will try to reproduce the clock_gettime error in another machine where I still have the original folder of scilab-5.1.1 where this error occured... And i will post back here the ./configure options, and the aborting message of #make tomorrow...<br>
<br>I am not with my Slackware laptop right now, and I do not have internet connection at home...<br><br>Once again, thanks for your help   :-)<br><br>BRGDS<br><br>Alex<br><br><br><div class="gmail_quote">2009/11/23 Sylvestre Ledru <span dir="ltr"><<a href="mailto:sylvestre.ledru@scilab.org">sylvestre.ledru@scilab.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Le lundi 23 novembre 2009 à 19:19 +0000, Alexandre Pereira a écrit :<br>
<div class="im">> Hi<br>
><br>
> I am trying to compile Scilab 5.1.1 under Slkackware64 13,<br>
><br>
> I use the following options :  --without-pvm --without-matio<br>
> --enable-relocatable,<br>
><br>
> I can configure, but as soon as I run #make, it starts building but<br>
> aborts before the end, complaining about a missing function :<br>
> clock_gettime...<br>
</div>Could you copy/paste the actual error message ?<br>
<br>
Thanks<br>
Sylvestre<br>
<br>
--<br>
-------------------------<br>
<font color="#888888">Sylvestre Ledru<br>
-------------------------<br>
The Scilab Consortium<br>
Digiteo<br>
Domaine de Voluceau<br>
Rocquencourt - B.P. 105<br>
78153 Le Chesnay Cedex<br>
France<br>
<br>
</font></blockquote></div><br>