[Scilab-Dev] question about Scilab 6 toolbox development

Stéphane Mottelet stephane.mottelet at utc.fr
Thu Jun 25 15:06:43 CEST 2015


Helllo,

I am trying to port a toolbox (which uses compiled sources) to Scilab 6, 
is there an example somewhere ? I have the following error message under 
OSX :

ilib_gen_Make : Une erreur s'est produite lors de la détection du 
compilateur. Mettre ilib_verbose(2) pour plus d'informations.

The whole log is given below :

S.

macmottelet-gi-0:SCI mottelet$ 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/bin/scilab -nw 
-f spset/builder.sce
JavaVM: requested Java version (1.5) not available. Using Java at 
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" instead.
Scilab branch-YaSp-1435149914 (Jun 25 2015, 06:40:36)
Création de la passerelle...
    Génère un fichier gateway
    Génère un fichier loader
    Génère un Makefile
    ilib_gen_Make : Configure : Génère le Makefile.
Detection of C/C++/Fortran Compilers
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking for gfortran... gfortran
checking whether we are using the GNU Fortran compiler... yes
checking whether gfortran accepts -g... yes
checking build system type... x86_64-apple-darwin13.4.0
checking host system type... x86_64-apple-darwin13.4.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld 

checking if the linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) 
is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin13.4.0 file names to 
x86_64-apple-darwin13.4.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin13.4.0 file names to 
toolchain format... func_convert_file_noop
checking for 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld 
option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... darwin13.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld 

checking if the linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) 
is GNU ld... no
checking whether the g++ linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) 
supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... darwin13.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fno-common
checking if gfortran PIC flag -fno-common works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... darwin13.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gfortran option to produce PIC... -fno-common
checking if gfortran PIC flag -fno-common works... yes
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... yes
checking if gfortran supports -c -o file.o... (cached) yes
checking whether the gfortran linker 
(/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) 
supports shared libraries... yes
checking dynamic linker characteristics... darwin13.4.0 dyld
checking how to hardcode library paths into programs... immediate
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking Eigen/Sparse usability... no
checking Eigen/Sparse presence... no
checking for Eigen/Sparse... no
checking Eigen/Sparse usability... no
checking Eigen/Sparse presence... no
checking for Eigen/Sparse... no
ilib_gen_Make : Une erreur s'est produite lors de la détection du 
compilateur. Mettre ilib_verbose(2) pour plus d'informations.
at line    28 of function generateConfigure        ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci 
line 281 )
at line    65 of function ilib_gen_Make_unix       ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/dynamic_link/macros/ilib_gen_Make_unix.sci 
line 80 )
at line    58 of function ilib_gen_Make            ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/dynamic_link/macros/ilib_gen_Make.sci 
line 69 )
at line   108 of function ilib_build               ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/dynamic_link/macros/ilib_build.sci 
line 118 )
at line   134 of function tbx_build_gateway        ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/modules_manager/macros/tbx_build_gateway.sci 
line 145 )
at line     9 of function builder_gw_c             ( 
/Users/mottelet/svn/sysmetab/trunk/SYSMETAB/SCI/spset/sci_gateway//c/builder_gateway_c.sce 
line 11 )
at line    11 of executed file 
/Users/mottelet/svn/sysmetab/trunk/SYSMETAB/SCI/spset/sci_gateway//c/builder_gateway_c.sce
at line    13 of function tbx_builder              ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/modules_manager/macros/tbx_builder.sci 
line 23 )
at line    49 of function tbx_builder_gateway_lang ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/modules_manager/macros/tbx_builder_gateway_lang.sci 
line 71 )
at line     6 of function builder_gateway          ( 
/Users/mottelet/svn/sysmetab/trunk/SYSMETAB/SCI/spset//sci_gateway/builder_gateway.sce 
line 8 )
at line     4 of executed file 
/Users/mottelet/svn/sysmetab/trunk/SYSMETAB/SCI/spset//sci_gateway/builder_gateway.sce
at line    13 of function tbx_builder              ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/modules_manager/macros/tbx_builder.sci 
line 23 )
at line    32 of function tbx_builder_gateway      ( 
/Applications/scilab-branch-YaSp-1435149914.app/Contents/MacOS/share/scilab/modules/modules_manager/macros/tbx_builder_gateway.sci 
line 45 )
at line    33 of function main_builder             ( spset/builder.sce 
line 41 )
at line    49 of executed file spset/builder.sce

-- 
Département de Génie Informatique
EA 4297 Transformations Intégrées de la Matière Renouvelable
Université de Technologie de Compiègne -  CS 60319
60203 Compiègne cedex




More information about the dev mailing list