[Pkg-octave-devel] Bug#637787: Bug#637787: Bug#637787: Bug#637787: Bug#637787: Bug#637787: Bug#637787: Bug#637787: trivial fix

Thomas Weber tweber at debian.org
Tue Oct 25 21:44:49 UTC 2011


On Mon, Oct 24, 2011 at 11:07:50PM -0400, John W. Eaton wrote:
> On 24-Oct-2011, Thomas Weber wrote:
> | I've put a log file of the build at
> | http://people.debian.org/~tweber/octave.log.bz2
> | 
> | The commands effectively run are:
> | 	automake --foreign --verbose
> | 	./configure --build=x86_64-linux-gnu --prefix=/usr 
> | 	make -j1
> | 
> | Do you have any ideas?
> 
> I can't reproduce the problem, but I'm not sure I'm doing exactly the
> same thing as you.
> 
> Can you please give me step-by-step instructions for how to download
> exactly the Debian package files and what to do with them to try to
> generate the package?  Jordi gave me that info a few days ago and with
> what he showed me, I was able to generate the error you mention
> above.  But now I can't find his instructions.

You can clone the git repository via
	git clone git://anonscm.debian.org/users/tweber/.git
I've put a tarball with the current status at
	http://people.debian.org/~tweber/octave-debian.tar.bz2

In order to build the software, you'll need the build-dependencies from
the debian/control file. The following line should do this:
	aptitude install --without-recommends gfortran debhelper autotools-dev automake texinfo texlive-latex-base texlive-generic-recommended libreadline-dev libncurses5-dev gperf libhdf5-serial-dev libhdf5-lam-dev libblas-dev liblapack-dev gnuplot-nox libfftw3-dev texi2html less quilt slice libpcre3-dev flex libglpk-dev libsuitesparse-dev gawk ghostscript libcurl4-gnutls-dev libqhull-dev desktop-file-utils libfltk1.1-dev libgraphicsmagick++1-dev libftgl-dev libfontconfig1-dev libqrupdate-dev libarpack2-dev 

In addition, quilt is needed for the patches, together with a specific
$HOME/.quiltrc:
	$ cat $HOME/.quiltrc 
	QUILT_PATCHES=debian/patches
	QUILT_DIFF_ARGS="--no-timestamps --no-index -pab"
	QUILT_REFRESH_ARGS="--no-timestamps --no-index -pab"

Now, go into the octave/ directory of the software (either git or
tarball) and execute 
	dpkg-buildpackage
This should build the softwre and apply the patches first (the quilt
usage is only needed if you want to build by hand). Another way of
building is by issueing
	./debian/rules binary

This has the advantage that it doesn'c clean the tree before building
(dpkg-buildpackage does clean it).

Thanks
	Thomas





More information about the Pkg-octave-devel mailing list