[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warning: May need to re-run autogen.sh on next build
From: |
Rik |
Subject: |
Re: Warning: May need to re-run autogen.sh on next build |
Date: |
Sat, 28 Jul 2012 07:48:25 -0700 |
On 07/27/2012 04:00 PM, Juan Pablo Carbajal wrote:
> On Sat, Jul 28, 2012 at 12:52 AM, Rik <address@hidden> wrote:
> APPROACH #1
> hg pull
> make maintainer-clean
> hg update
> ./autogen.sh
> ./configure
> make
>
> Thanks Rik,
>
> Method 1 worked but doing the update before the make maintainer-clean
>
7/28/12
Juan,
The reason for doing the 'make maintainer-clean' before the update is
because only the old Makefiles know about all the created objects in the
DLD-FUNCTIONS/ directory. This is the *.df, *.oct, etc. that I said you
could remove manually in Approach #2. If you update to the new Makefiles
and then run 'make maintainer-clean' these files will still be left. Now
if you run octave in the build tree with ./run-octave the library path will
include the DLD-FUNCTIONS directory and the corefcns directory and Octave
picks up the first directory.
You can test this with the new which() functionality. Try
./run-octave
which fft
If it returns a file in the DLD-FUNCTIONS directory then you need to try
Approach #2.
--Rik