[Top][All Lists]

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

Re: Problems with mkoctfile in new Octave 3.4.1

From: John W. Eaton
Subject: Re: Problems with mkoctfile in new Octave 3.4.1
Date: Sun, 19 Jun 2011 14:13:44 -0400

On 19-Jun-2011, José Luis García Pallero wrote:

| I'm trying to compile the mercurial sources with the last mkoctfile
| fix patch and when I execute ./ in order to generate the
| configure script the proccess is waiting for a long time in the step
| "Cloning into gnulib...". I'm waiting since 10 minutes and
| is not terminated. The messages of ./ is:
| address@hidden:~/Desktop/octave$ ./
| generating source lists for liboctave/Makefile...
| generating doc/interpreter/
| generating src/DLD-FUNCTIONS/
| bootstrapping...
| build-aux/bootstrap: Bootstrapping from checked-out octave sources...
| build-aux/bootstrap: getting gnulib files...
| Cloning into gnulib...
| Is needed any order previous to ./ in order to build Octave
| from Mercurial sources? I'm in Debian Sid and I have installed the
| autotools insfrastructure (autoconf 2.68, automake 1.11.1, etc)

One fix is to edit the bootstrap script and change the lines

    git clone -h 2>&1 | grep -- --depth > /dev/null && shallow='--depth 2'
    git clone $shallow git:// "$gnulib_path" ||


    git clone git:// "$gnulib_path" || cleanup_gnulib

I reported this problem in April:

Maybe you could report it again, or revive that thread to let someone
know it is still failing?

In any case, if you just want to fix your 3.4.0 installation, there is
really no need to build a complete new version of Octave from scratch.
You can just install 3.4.0 and then cd to $prefix/bin and do

  mv mkoctfile mkoctfile-3.4.0
  ln -s mkoctfile-3.4.0 mkoctfile
  mv octave-config octave-config-3.4.0
  ln -s octave-config-3.4.0 octave-config


reply via email to

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