help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.2.2 for Ubuntu9.04 -- How to compile from sources


From: Uwe Dippel
Subject: Re: Octave 3.2.2 for Ubuntu9.04 -- How to compile from sources
Date: Mon, 21 Sep 2009 11:54:34 +0800
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Judd Storrs wrote:
Ok, new approach since the libcurl4-dev virtual packge isn't working for you maybe if you manually install the build dependencies you can skip the build-dep step.

I got the octave3.0_3.0.1-6ubuntu2.dsc from ubuntu ("apt-get source octave3.0"). These are the packages listed as build dependencies:

g++-4.1
gcc-4.1
gfortran
debhelper
autoconf
texinfo
texlive-latex-base
texlive-generic-recommended
libreadline5-dev
libncurses5-dev
gperf
libhdf5-serial-dev
libhdf5-lam-dev
libhdf5-mpich-dev
libblas-dev
liblapack-dev
gnuplot-nox
libfftw3-dev
texi2html
less
dpatch
slice
libpcre3-dev
flex
libglpk-dev
libsuitesparse-dev
gawk
ghostscript
libqhull-dev
desktop-file-utils

Also install:

libcurl4-gnutls-dev
libgraphicsmagick++1-dev
libfltk-dev
libarpack2-dev

Then try continuing from step 3

Thanks so much, Judd!

I can confirm that Octave 3.2.2 compiles and installs with these dependencies, with some minor modifications, also suggested by you:
leave out: libhdf5-lam-dev libhdf5-mpich-dev
add: libftgl-dev libfltk-dev

and it goes through.

Next, time to try Eidors.
octave:1> run /home/udippel/Sources/eidors-v3.3/startup.m
warning: you do not have a compiled mex file eidors_var_id.
Please compile it using: mex /home/udippel/Sources/eidors-v3.3/arch/eidors_var_id.cpp

[exit]

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
%&-line parsing enabled.
entering extended mode
(/home/udippel/Sources/eidors-v3.3/arch/eidors_var_id.cpp
This is MeX  Version 1.05  18 XII 1993  (B. Jackowski & M. Ry\'cko)
! Missing $ inserted.
<inserted text>
               $
<to be read again>
                  _
l.1 /* eidors_
             var.id: calculate the sha1 hash of variable in memory
?

What now?

At least, demo_real.m works.

Thanks a bunch!

Uwe



reply via email to

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