[scilab-Users] Reg :: Configure error in scilab-5.1.1 source version

Sylvestre Ledru sylvestre.ledru at scilab.org
Wed Oct 14 12:59:27 CEST 2009


Le mercredi 14 octobre 2009 à 16:24 +0530, Sumit Adhikari a écrit :
> Hello All,
>   While configuring scilab-5.1.1, I am facing some problems.
> Following is the run script :
> 
> ./configure --prefix=/fshy01/uxhyu/sa1/tools/scilab-5.1.1/ \
>             --with-gcc --x-includes=/usr/X11R6/include/
> --x-libraries=/usr/X11R6/lib64/ \
> 
> --with-fftw-include=/fshy01/uxhyu/sa1/tools/fftw-3.1.2/include/ \
> 
> --with-fftw-library=/fshy01/uxhyu/sa1/tools/fftw-3.1.2/lib/ \
>             --with-tcl-library=/fshy01/uxhyu/sa1/tools/tcl8.5.7/lib/ \
> 
> --with-tcl-include=/fshy01/uxhyu/sa1/tools/tcl8.5.7/include/ \
>             --with-tk-library=/fshy01/uxhyu/sa1/tools/tcl8.5.7/lib/  \
> 
> --with-tk-include=/fshy01/uxhyu/sa1/tools/tcl8.5.7/include/  \
>             --with-x               \
As a matter of simplicity, you should install these dependencies through
your packaging system!

>             --enable-build-swig --enable-build-giws --enable-static
--enable-static will probably not work 

And 
--enable-build-swig
--enable-build-giws
are probably useless for you.
(it is used to regenerate some code)

> Following is the error message :
> 
> checking whether ln -s works... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> 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 for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for a BSD-compatible install... /usr/bin/install -c
> configure: error: cannot run /bin/sh config/config.sub
> 
> following is the message I am getting when I am
> running ./config/config.sub
> 
> ./config/config.sub: line 6:  : command not found
> ./config/config.sub: line 8:  : command not found
> ./config/config.sub: line 32:  : command not found
> ./config/config.sub: line 33:  : command not found
> ./config/config.sub: line 41:  : command not found
> ./config/config.sub: line 49:  : command not found
> ./config/config.sub: line 56:  : command not found
> ./config/config.sub: line 58:  : command not found
> ./config/config.sub: line 71:  : command not found
> ./config/config.sub: line 80:  : command not found
> ./config/config.sub: line 83:  : command not found
> ./config/config.sub: line 86: syntax error near unexpected token `in '
> ./config/config.sub: line 86: `  case $1 in '
What is you shell ? bash ?
(and your operating system)

Sylvestre

> 
> -- 
> 
> --------------------------------------------
> Sumit Adhikari
> System Design Engineer
> austriamicrosystems AG
> Business Unit : Automotive
> Mob : 00-91-9885271710/00-91-9000161710
-- 
Sylvestre Ledru
-------------------------
The Scilab Consortium
Digiteo
Domaine de Voluceau
Rocquencourt - B.P. 105
78153 Le Chesnay Cedex
France






More information about the users mailing list