[Scilab-Dev] Can't compile the head

Sylvestre Ledru sylvestre.ledru at scilab-enterprises.com
Tue Apr 30 18:25:24 CEST 2013


You confirm that you are starting ./configure without argument ?

Sylvestre

Le 30/04/2013 04:43, Masaru Nomiya a écrit :
> Hello,
>
> Sorry, I didn't write about my system.
>
> OS : openSUSE 12.1
>      Linux linux-7lcw 3.9.0-5.1-desktop #1 SMP PREEMPT Mon Apr 29
>      12:23:35 JST 2013 x86_64 x86_64 x86_64 GNU/Linux
>
> gcc: gcc (SUSE Linux) 4.6.3 20120531 [gcc-4_6-branch revision 188067]
> g++: g++ (SUSE Linux) 4.6.3 20120531 [gcc-4_6-branch revision 188067]
> ld : GNU ld (GNU Binutils; openSUSE 12.1) 2.21.1
>
> Result of ./configure;
>
> Scilab is configured as follows. Please verify that this configuration
> matches your expectations.
>
> Host system type : x86_64-unknown-linux-gnu
>
>                   Option                        Value
> -------------------------------------------------------------------------
> Shared libraries.......      --enable-shared=yes
> Static libraries.......      --enable-static=no
> GNU ld.................      --with-gnu-ld=yes
> Enable debug ..........      --enable-debug=no
> Enable debug C.........      --enable-debug-C=no
> Enable debug C++.......      --enable-debug-CXX=no
> Enable debug Java......      --enable-debug-java=
> Enable debug Fortran...      --enable-debug-fortran=no
> Enable stop on warning.      --enable-stop-on-warning=
>
> Compiler Configuration:
>   Intel (--with-intelcompilers) .... =        
>   GNU gcc (--with-gcc) ............. =        yes
>   GNU Fortran 95 (--with-gfortran) . =        yes
>
> Options:
>   Do not use TCL/TK (--without-tk) ................. = 
>   TCL include (--with-tcl-include) ................. = /usr/include
>   TCL library (--with-tcl-library) ................. = /usr/lib64
>   TK include (--with-tk-include) ................... = /usr/include
>   TK library (--with-tk-library) ................... = /usr/lib64
>   Install XML Help (--with-install-help-xml) ....... = yes
>   Compilation tests (--enable-compilation-tests) ... = no
>   Make the package relocatable (--enable-relocatable)= no
>   Use FFTW (--without-fftw) ........................ = 
>   Use MATIO (--without-matio) ...................... = 
>
> Xcos enable
> Build modelica compiler (--without-modelica) ....... = 
>
> Ocaml Configuration (for Modelica compiler):
>   OCAMLC ............. = ocamlc
>   OCAMLOPT ........... = ocamlopt
>   OCAMLDEP ........... = ocamldep
>
> Not using code coverage
>
> OpenMP Configuration:
> OpenMP CFLAGS ...... = -fopenmp
> OpenMP CXXFLAGS .... = -fopenmp
> OpenMP LIBS ........ = -lgomp
> OpenMP LDFLAGS ..... = 
>
> FFTW Configuration:
>   FFTW LIBS .......... = -L/usr/lib64 -lfftw3
>   FFTW CFLAGS ........ = -I/usr/include
>
> MATIO Configuration:
>   MATIO LIBS .......... = -L/usr/lib64 -lm -lz -lmatio
>   MATIO CFLAGS ........ = -I/usr/include
>
> UMFPACK Configuration:
>   UMFPACK LIBS ....... = -lumfpack -lamd
>   UMFPACK CFLAGS ..... = 
>   UMFPACK SUITESPARSE  = Yes
>
> BLAS/LAPACK/ATLAS Configuration:
>   BLAS LIBS ............. = -lblas -L/usr/lib64
>   BLAS TYPE ............. = Generic Blas
>   LAPACK LIBS ........... = -llapack -L/usr/lib64
>   LAPACK TYPE ........... = Library -llapack
>   ARPACK LIBS ........... = -larpack
>
>
> Gettext/localization configuration:
>   xgettext ............... = /usr/bin/xgettext
>   msgfmt  ................ = /usr/bin/msgfmt
>   msgfmt_opts ............ = 
>   msgcat  ................ = /usr/bin/msgcat
>
> Documentation building configuration:
>   Docbook XSL path ....... = /usr/share/xml/docbook/stylesheet/nwalsh/current/
>   Saxon XSLT ............. = /usr/share/java/saxon.jar
>   XML commons external ... = /usr/share/java/xml-commons-jaxp-1.3-apis-ext-1.3.04.jar
>
> Java Configuration:
>   JAVA_HOME ........... = /usr/lib64/jvm/java
>   JAVAC ............... = /usr/lib64/jvm/java/bin/javac
>   JAVA_CLASSPATH ...... = 
>   JAVA_VERSION ........ = 1.7
>   JAVAC_FLAGS ......... = -g
>   JAVA_JNI_INCLUDE .... = -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux
>   JAVA_JNI_LIBS ....... = -L/usr/lib64/jvm/java/jre/lib/amd64 -ljava -lverify -L/usr/lib64/jvm/java/jre/lib/amd64/server -ljvm
>   JAVA_JNI_LIBS_PRELOAD = 
>   JAVA ................ = /usr/lib64/jvm/java/bin/java
>   JAVADOC ............. = /usr/lib64/jvm/java/bin/javadoc
>   JAR ................. = /usr/lib64/jvm/java/bin/jar
>   ANT ................. = /usr/bin/ant
>
> Java dependencies:
>   Flexdock ............ = /usr/share/java/flexdock.jar
>   JOGL 2............... = /usr/share/java/jogl2.jar
>   JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL
>   Gluegen 2 ........... = /usr/share/java/gluegen2-rt.jar
>   Gluegen 2 LIBS (JNI)  = -lgluegen2-rt
>   Jeuclid (MathML) .... = /usr/share/java/jeuclid-core.jar
>   Jhall  .............. = /usr/share/java/jhall.jar
>   Jrosetta (API) ...... = /usr/share/java/jrosetta-API.jar
>   Jrosetta (Engine) ... = /usr/share/java/jrosetta-engine.jar
>   Commons Logging ..... = /usr/share/java/commons-logging.jar
>   JGraph X ............ = /usr/share/java/jgraphx.jar
>   SciRenderer ......... = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
>   JLaTeXMath .......... = /usr/share/java/jlatexmath.jar
>
> Documentation, graphic export:
>   FOP (XML => PDF) .... = /usr/share/java/fop.jar
>   JLaTeXMath Fop ...... = /usr/share/java/jlatexmath-fop.jar
>   Batik (SVG) ......... = /usr/share/java/batik-all.jar
>   Avalon Framework .... = /usr/share/java/avalon-framework.jar
>   Commons I/O ......... = /usr/share/java/commons-io.jar
>   XML graphics commons  = /usr/share/java/xmlgraphics-commons.jar
>
> Code quality (optional):
>   Checkstyle .......... = /usr/share/java/checkstyle-5.5.jar
>   Commons-beanutils ... = /usr/share/java/commons-beanutils.jar
>   Antlr ............... = /usr/share/java/antlr.jar
>   Junit4 .............. = /usr/share/java/junit4.jar
>   Cobertura ........... = /usr/share/java/cobertura.jar
>   splint .............. = /usr/bin/splint
>
> 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.10
>   TK_SERIAL_VERSION .. = 8.5.10
>
> XML configuration:
>   XML_FLAGS .......... = -I/usr/include/libxml2
>   XML_LIBS ........... = -lxml2 -lz -lm
>   XML_VERSION ........ = 2.7.8
>
> HDF5 configuration:
>   HDF5 CFLAGS ......... = -I/usr/include
>   HDF5 LIBS ........... = -L/usr/lib64 -lhdf5 -lhdf5_hl
>
> PCRE configuration:
>   PCRE_CFLAGS ........ =  
>   PCRE_LIBS .......... = -L/usr/lib64 -lpcreposix -lpcre
>   PCRE_VERSION ....... = 8.13
>
> CURL configuration:
>   CURL_CFLAGS ........ =  
>   CURL_LIBS .......... = -lcurl
>   CURL_VERSION ....... = libcurl 7.28.1
>
> SWIG Configuration:
>   SWIG_BIN ........... = /usr/bin/swig
>   SWIG_JAVA .......... =  -java
>
> GIWS Configuration:
>   GIWS_BIN ........... = giws
>
> Libtool config:
>   objext .............. = o
>   libext (static) ..... = a
>   shrext_cmds ......... = .so
>   exeext .............. = 
>
> Compilation paths:
>   srcdir .............. = .
>   srcdir_full ......... = /tmp/source/scilab/scilab
>   builddir ............ = /tmp/source/scilab/scilab
>
> Platform information:
>   host ........... = x86_64-unknown-linux-gnu
>   host_cpu ....... = x86_64
>   host_vendor .... = unknown
>   host_os ... .... = linux-gnu
>   hostname ....... = linux-7lcw
>   CPU 64 bits .... = true
>
> Options used to compile and link:
>   prefix ......... = /usr
>   localedir ...... = ${datarootdir}/locale
>   VERSION ........ = 5
>   CC ............. = gcc
>   CFLAGS ......... = -g -O2
>   SCI_CFLAGS ..... = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector
>   DEFS ........... = -DHAVE_CONFIG_H
>   LD ............. = /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
>   LDFLAGS ........ = -lgfortran -liconv
>   SCI_LDFLAGS .... = -lstdc++ -Wl,--no-as-needed
>   LIBS ........... = -lpthread -ldl -lncurses  -lm
>   CXX ............ = g++
>   CXXFLAGS ....... = -fpermissive
>   SCI_CXXFLAGS ... = -DNDEBUG -fno-stack-protector
>   F77 ............ = gfortran
>   FFLAGS ......... = -g -O2
>   SCI_FFLAGS ..... = -DNDEBUG -m64 -fPIC
>   F77_LDFLAGS .... = 
>   TERMCAP_LIB .... = no
>
> And the error message;
>
> [...]
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_Xcos.lo -MD -MP -MF .deps/libscixcos_la-sci_Xcos.Tpo -c sci_gateway/cpp/sci_Xcos.cpp  -fPIC -DPIC -o .libs/libscixcos_la-sci_Xcos.o
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_closeXcosFromScilab.lo -MD -MP -MF .deps/libscixcos_la-sci_closeXcosFromScilab.Tpo -c sci_gateway/cpp/sci_closeXcosFromScilab.cpp  -fPIC -DPIC -o .libs/libscixcos_la-sci_closeXcosFromScilab.o
> mv -f .deps/libscixcos_algo_la-Xcos.Tpo .deps/libscixcos_algo_la-Xcos.Plo
> /bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes  -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux   -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_xcosDiagramToScilab.lo -MD -MP -MF .deps/libscixcos_la-sci_xcosDiagramToScilab.Tpo -c -o libscixcos_la-sci_xcosDiagramToScilab.lo `test -f 'sci_gateway/cpp/sci_xcosDiagramToScilab.cpp' || echo './'`sci_gateway/cpp/sci_xcosDiagramToScilab.cpp
> sci_gateway/cpp/sci_warnBlockByUID.cpp:27:17: error: ‘org_scilab_modules_xcos’ is not a namespace-name
> sci_gateway/cpp/sci_warnBlockByUID.cpp:27:40: error: expected namespace-name before ‘;’ token
> sci_gateway/cpp/sci_warnBlockByUID.cpp: In function ‘int sci_warnBlockByUID(char*, long unsigned int)’:
> sci_gateway/cpp/sci_warnBlockByUID.cpp:59:5: error: ‘Xcos’ has not been declared
> make[3]: *** [libscixcos_la-sci_warnBlockByUID.lo] error 1
> [...]
>
> Thanks,
>
> ---
> ┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
> ┃\/彡
> ┗━━┛ "Bill! You married with Computers.
>           Not with Me!"
>          "No..., with money."
> _______________________________________________
> dev mailing list
> dev at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/dev




More information about the dev mailing list