[scilab-Users] Compilation of Scilab under Slackware 64 13 fails... clock_gettime issue...

Alexandre Pereira iskandhar2000 at gmail.com
Tue Nov 24 16:39:38 CET 2009


Hi Sylvestre

Thanks for your reply

I rm -rf scilab-5.1.1 and tried again with untarred prerequirements and
source code...
 But this time #make complained earlier...  here it is :

Scilab511

./configure --without-pvm --without-matio --enable-relocatable


                  Option                        Value
-------------------------------------------------------------------------
Shared libraries.......      --enable-shared=yes        yes
Static libraries.......      --enable-static=no no
GNU ld.................      --with-gnu-ld=yes          yes
Enable debug ..........      --enable-debug=no  no
Enable debug C.........      --enable-debug-C=no        no
Enable debug C++.......      --enable-debug-CXX=no      no
Enable debug Fortran...      --enable-debug-fortran=no  no
Enable stop on warning.      --enable-stop-on-warning=

Compiler Configuration:
Intel (--with-intelcompilers) .... =
GNU gcc (--with-gcc) ............. =
GNU Fortran 77 (--with-g77) ...... =
GNU Fortran 95 (--with-gfortran) . =

Options:
Use PVM (--without-pvm) .......................... = no
PVM include (--with-pvm-include) ................. =
PVM library (--with-pvm-library) ................. =
Compile with Ocaml (--without-ocaml) ............. =
Do not use TCL/TK (--without-tk) ................. =
TCL include (--with-tcl-include) ................. =
TCL library (--with-tcl-library) ................. =
TK include (--with-tk-include) ................... =
TK library (--with-tk-library) ................... =
Install XML Help (--with-install-help-xml) ....... =
Make the package relocatable (--enable-relocatable)= yes
Use FFTW (--without-fftw) ........................ =
Use MATIO (--without-matio) ...................... = no

Scicos enable

Ocaml Configuration (for Modelica compiler):
OCAMLC ............. = ocamlc
OCAMLOPT ........... = ocamlopt
OCAMLDEP ........... = ocamldep

Not using PVM

FFTW Configuration:
FFTW LIBS .......... = -lfftw3
FFTW CFLAGS ........ =

Not using MATIO

UMFPACK Configuration:
UMFPACK LIBS ....... = -lumfpack -lamd
UMFPACK CFLAGS ..... =
UMFPACK SUITESPARSE  = Yes

BLAS/LAPACK/ATLAS Configuration:
BLAS LIBS ............. = -lblas
BLAS TYPE ............. = Generic Blas
LAPACK LIBS ........... = -llapack
LAPACK TYPE ........... = Library -llapack


Gettext/localization configuration:
xgettext ............... = /usr/bin/xgettext
msgfmt  ................ = /usr/bin/msgfmt
msgfmt_opts ............ =
msgcat  ................ = /usr/bin/msgcat

Docbook XSL path ....... =
/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/docbook/
Batik (SVG) ............ =
/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/batik-all-1.7.jar
Saxon XSLT ............. =
/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/saxon.jar
FOP (XML => PDF) ....... =
/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/fop.jar
Jeuclid (MathML) ....... =
/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/jeuclid-core.jar
Commons I/O ............ =
/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/commons-io.jar
XML graphics commons ... =
/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/xmlgraphics-commons-1.3.1.jar
XML commons external ... =
/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/thirdparty/xml-apis-ext.jar

Java Configuration:
  JAVA_HOME ........... = /usr/lib64/java
  JAVAC ............... = /usr/lib64/java/bin/javac
  JAVA_CLASSPATH ...... =
  JAVA_VERSION ........ = 1.5
  JAVAC_FLAGS ......... = -g
  JAVA_JNI_INCLUDE .... = -I/usr/lib64/java/include
-I/usr/lib64/java/include/linux
  JAVA_JNI_LIBS ....... = -L/usr/lib64/java/jre/lib/amd64 -ljava -lverify
-L/usr/lib64/java/jre/lib/amd64/server -ljvm
  JAVA_JNI_LIBS_PRELOAD =
  JAVA ................ = /usr/lib64/java/bin/java
  JAR ................. = /usr/lib64/java/bin/jar
  ANT ................. = /usr/bin/ant

TCL/TK configuration:
  TK_INC_PATH ........ = -I/usr/include
  TCL_INC_PATH ....... = -I/usr/include
  TCLTK_LIBS ......... =  -L/usr/lib64 -ltk8.5   -L/usr/lib64 -ltcl8.5  -ldl
  TCL_SERIAL_VERSION . = 8.5.7
  TK_SERIAL_VERSION .. = 8.5.7

XML configuration:
  XML_FLAGS .......... = -I/usr/include/libxml2
  XML_LIBS ........... = -lxml2 -lz -lm
  XML_VERSION ........ = 2.7.3

PCRE configuration:
  PCRE_CFLAGS ........ =
  PCRE_LIBS .......... = -L/usr/lib64 -lpcreposix -lpcre
  PCRE_VERSION ....... = 7.7

SWIG Configuration:
  SWIG generation disabled

GIWS Configuration:
  GIWS generation disabled

Libtool config:
  objext .............. = o
  libext (static) ..... = a
  shrext_cmds ......... = .so
  exeext .............. =

Compilation paths:
  srcdir .............. = .
  srcdir_full ......... = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1
  builddir ............ = /store/alex/Dstor/Packages/Scilab/scilab-5.1.1

Platform informations:
  host ........... = x86_64-unknown-linux-gnu
  host_cpu ....... = x86_64
  host_vendor .... = unknown
  host_os ... .... = linux-gnu
  hostname ....... = iskandhar
  CPU 64 bits .... = true

Options used to compile and link:
  prefix ......... = /usr/local
  localedir ...... = ${datarootdir}/locale
  VERSION ........ = 5
  CC ............. = gcc
  CFLAGS ......... = -g -O2  -DNDEBUG -fno-stack-protector -DNARROWPROTO
-m64 -I$(top_srcdir)/modules/core/includes/
-I$(top_srcdir)/libs/MALLOC/includes/
-I$(top_srcdir)/modules/localization/includes/
  PCFLAGS ........ =
  DEFS ........... = -DHAVE_CONFIG_H
  LD ............. = /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64
  LDFLAGS ........ =
  LIBS ........... =
  CXX ............ = g++
  CXXFLAGS ....... = -g -O2 -DNDEBUG -fno-stack-protector
-I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/

-I$(top_srcdir)/modules/localization/includes/
  F77 ............ = g77
  FFLAGS ......... = -g -O2 -DNDEBUG -m64 -fPIC
-I$(top_srcdir)/modules/core/includes/
  F77_LDFLAGS .... =
  TERMCAP_LIB .... = -lncurses


bash-3.1#make

Making all in libs
make[1]: Entering directory
`/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs'
Making all in MALLOC
make[2]: Entering directory
`/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs/MALLOC'
/bin/sh ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../modules/core/includes     -g -O2  -DNDEBUG -fno-stack-protector
-DNARROWPROTO -m64 -I../../modules/core/includes/
-I../../libs/MALLOC/includes/ -I../../modules/localization/includes/ -MT
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
'src/sci_mem_alloc.c' || echo './'`src/sci_mem_alloc.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../modules/core/includes -g -O2 -DNDEBUG
-fno-stack-protector -DNARROWPROTO -m64 -I../../modules/core/includes/
-I../../libs/MALLOC/includes/ -I../../modules/localization/includes/ -MT
libscimalloc_la-sci_mem_alloc.lo -MD -MP -MF
.deps/libscimalloc_la-sci_mem_alloc.Tpo -c src/sci_mem_alloc.c  -fPIC -DPIC
-o .libs/libscimalloc_la-sci_mem_alloc.o
0 entries
mv -f .deps/libscimalloc_la-sci_mem_alloc.Tpo
.deps/libscimalloc_la-sci_mem_alloc.Plo
mv: cannot stat `.deps/libscimalloc_la-sci_mem_alloc.Tpo': No such file or
directory
make[2]: *** [libscimalloc_la-sci_mem_alloc.lo] Error 1
make[2]: Leaving directory
`/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs/MALLOC'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/store/alex/Dstor/Packages/Scilab/scilab-5.1.1/libs'
make: *** [all-recursive] Error 1


I also gave it a try with Scilab-5.2.0Beta

Same configuration Options...  :

./configure --without-pvm --without-matio --enable-relocatable

configures ok....  but fails to build...  :

.................................................

In file included from src/c/scilines.c:35:
/usr/include/term.h:780: error: conflicting types for 'tgetstr'
/usr/include/termcap.h:46: error: previous declaration of 'tgetstr' was
here
/usr/include/term.h:782: error: conflicting types for 'tgetent'
/usr/include/termcap.h:43: error: previous declaration of 'tgetent' was
here
/usr/include/term.h:783: error: conflicting types for 'tgetflag'
/usr/include/termcap.h:44: error: previous declaration of 'tgetflag' was
here
/usr/include/term.h:784: error: conflicting types for 'tgetnum'
/usr/include/termcap.h:45: error: previous declaration of 'tgetnum' was
here
/usr/include/term.h:785: error: conflicting types for 'tputs'
/usr/include/termcap.h:53: error: previous declaration of 'tputs' was
here
make[2]: *** [libscishell_la-scilines.lo] Error 1
make[2]: Leaving directory
`/store/alex/Sci52/scilab-5.2.0-beta-1/modules/shell'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/store/alex/Sci52/scilab-5.2.0-beta-1/modules'
make: *** [all-recursive] Error 1


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...

I am not with my Slackware laptop right now, and I do not have internet
connection at home...

Once again, thanks for your help   :-)

BRGDS

Alex


2009/11/23 Sylvestre Ledru <sylvestre.ledru at scilab.org>

> Le lundi 23 novembre 2009 à 19:19 +0000, Alexandre Pereira a écrit :
> > Hi
> >
> > I am trying to compile Scilab 5.1.1 under Slkackware64 13,
> >
> > I use the following options :  --without-pvm --without-matio
> > --enable-relocatable,
> >
> > I can configure, but as soon as I run #make, it starts building but
> > aborts before the end, complaining about a missing function :
> > clock_gettime...
> Could you copy/paste the actual error message ?
>
> Thanks
> Sylvestre
>
> --
> -------------------------
> Sylvestre Ledru
> -------------------------
> The Scilab Consortium
> Digiteo
> Domaine de Voluceau
> Rocquencourt - B.P. 105
> 78153 Le Chesnay Cedex
> France
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20091124/220b9ef0/attachment.htm>


More information about the users mailing list