help-octave
[Top][All Lists]
Advanced

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

Re: List of dependencies for compiling


From: louis scott
Subject: Re: List of dependencies for compiling
Date: Wed, 30 Jan 2013 14:12:24 +0000

I ran into this, and just went ahead and did it. After messing up the first time, I installed a VM with Mint Maya 32bit on a 64bit install.  Here is how to do it. Keep in mind that I started with gcc, gfortran and c++ already installed  starting with build dependencies will be easier.
 
BuildOctaveNoAtlas:
---------------------------------------
 
#!/bin/bash
clear
# Download the tar file and decompress,
# On Mint-13-32, octave-3.6.3 successfuly builds but make check fails:
# liboctave/Sparse.cc .........make[1]: *** [check] Segmentation fault
# wget ftp://ftp.gnu.org/gnu/octave/octave-3.6.3.tar.bz2
wget ftp://ftp.gnu.org/gnu/octave/octave-3.6.2.tar.bz2
# to determine dependencies (see http://wiki.octave.org/Octave_for_GNU/Linux)
# I first went to http://repogen.simplylinux.ch/generate.php to update my
# src repositopry list, then ran sudo apt-get update
# according to the octave wiki, at a minimum, one should install one of the packages returned by:
# $ aptitude search ?provides\(^octave$\)
# in this case, octave3.2
sudo apt-get build-dep octave3.2
# you may need libftgl-dev and imagemagic
# try dpkg -l libftgl* to ensure they are there
# On a fresh install of Mint-13-32, these were needed
sudo apt-get install automake perl bison libfontconfig1-dev
# Now decompress and tidy up
cd ~/Downloads
# sudo mv octave-3.6.3.tar.bz2 /home/MyUSER/
cd ~
tar --bzip2 -xvf octave-3.6.3.tar.bz2
sudo rm -r octave-3.6.3.tar.bz2
cd octave-3.6.3

./configure f77=gfortran --prefix=$HOME/octave
# make -j4 --always-make 2>&1 | tee output.txt
make -j4 2>&1 | tee output.txt
make check 2>&1 | tee octcheck.txt
# sudo make install
sudo apt-get install checkinstall
sudo checkinstall
cd ~/octave
wget http://downloads.sourceforge.net/octave/benchmark-1.1.1.tar.gz
# run benchmarks

On Wed, Jan 30, 2013 at 1:47 PM, Jordi Gutiérrez Hermoso <address@hidden> wrote:
On 30 January 2013 04:02, Alec Teal <address@hidden> wrote:
> Linux Mint doesn't provide the deb-src's in it's default list (annoying,
> don't know why) what would the full line be? deb-src (that link) doesn't
> work,

How does it fail to work? What are you seeing?

Can you come to #octave in Freenode to talk about this?

- Jordi G. H.
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]