[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling Scilab 4.0 from source at Debian AMD64



Hello Community,

I am trying to compile Scilab (http://www.scilab.org/index.php) from source on my Debian AMD 64. After unpacking the tarball, i get the following error running ./configure:

no1:/usr/local/clustertools/pacotes/scilab-4.0# ./configure --prefix=/usr/local/clustertools/scilab --exec-prefix=/usr/local/clustertools/scilab/bin/ --with-tcl-library='/usr/lib64/tcl8.4'  --with-tk-library='/usr/lib64/tk8.4' --with-tcl-include=/usr/include --with-tk-include=/usr/include

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
creating Path.incl
configuration of libtool
checking for gcc... gcc
...... ( lots of OK stuff )
checking limits.h usability... no
checking limits.h presence... yes
configure: WARNING: limits.h: present but cannot be compiled
configure: WARNING: limits.h: check for missing prerequisite headers?
configure: WARNING: limits.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for limits.h... yes
checking values.h usability... no
checking values.h presence... yes
configure: WARNING: values.h: present but cannot be compiled
configure: WARNING: values.h: check for missing prerequisite headers?
configure: WARNING: values.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for values.h... yes
checking for main in -lncurses... no
checking for main in -lcurses... no
checking for main in -ltermcap... no
checking for main in -ltermlib... no
checking for PVM architecture... LINUX64
checking for main in -ldl... no
checking for header file tcl.h... found in /usr/include/tcl8.4
checking if tcl is version 8.4 or later... cc1: error: bad value (athlon64) for -march= switch
cc1: error: bad value (athlon64) for -mcpu= switch
(can't happen) yes
checking for tcl library tcl.... configure: error: header file tcl.h  has been found for 8.4*  but no corresponding tcl library


First, i don't understand the warning about limits.h, but the main problem is the "supposed" absence of tcl and the error with cc1.

This is my kernel :  2.6.8-11-amd64-k8-smp
My gcc: gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)

The output of dpkg --list | grep tcl :
ii  tcl8.0         8.0.5-8        Tcl (the Tool Command Language) v8.0 - run-t
ii  tcl8.4         8.4.9-1        Tcl (the Tool Command Language) v8.4 - run-t
ii  tcl8.4-dev     8.4.9-1        Tcl (the Tool Command Language) v8.4 - devel
ii  tcllib         1.6.1-1        The Standard Tcl Library


Any tips?


Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
Reply to: