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

Re: Compiling Scilab 4.0 from source at Debian AMD64



João Marcelo wrote:

> 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
[snip]

Hi João,

Why not simply use the Debian packages of Scilab?
http://packages.debian.org/scilab
http://packages.debian.org/scilab-bin
http://packages.debian.org/scilab-doc

(Note they are in non-free so you'll need to have that in your
sources.list in order to apt-get install them.)

If you're running testing, Scilab binary packages don't appear to be
available yet.  But you can try downloading and manually installing the
ones from Sid with "dpkg -i" -- Sid and Etch aren't too different at the
moment.  If that doesn't work, you can probably build .debs in Etch
using the Debian source package from Sid, in the usual way:

# Download the Debianized sources
ftp ftp.debian.org
cd /debian/pool/non-free/s/scilab
bin
get scilab_4.0.orig.tar.gz scilab_4.0-8.diff.gz scilab_4.0-8.dsc
quit

# Install the build dependencies
sudo apt-get install build-essential fakeroot autoconf cdbs debhelper \
	g77 ocaml-nox quilt tk8.4-dev xaw3dg-dev xsltproc

# Unpack the source package
dpkg-source -x scilab_4.0-8.dsc
cd scilab-4.0

# Build and install the .debs
dpkg-buildpackage -rfakeroot -uc -us > ../scilab.log 2>&1
cd .. && sudo dpkg -i scilab*_4.0-8_*.deb

best regards,

-- 
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544



Reply to: