octave-maintainers
[Top][All Lists]
Advanced

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

Re: MinGW build error (3) No rule to make target `corefcn/libcorefcn.la'


From: Philip Nienhuis
Subject: Re: MinGW build error (3) No rule to make target `corefcn/libcorefcn.la', needed by 'octave-config.exe'
Date: Tue, 28 Aug 2012 15:24:25 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Philip Nienhuis wrote:
Michael Goffioul wrote:
On Tue, Aug 28, 2012 at 8:53 AM, Philip Nienhuis <address@hidden
<mailto:address@hidden>> wrote:

John W. Eaton wrote:

On 27-Aug-2012, Philip Nienhuis wrote:

| With recent tip, (parent: 15242:4da650457377), build now
breaks consistently
| in /src with:
|
|
|
|> :
|> making octave-config.cc from
../../octave/src/octave-__config.in.cc <http://octave-config.in.cc>
|> g++ -shared-libgcc -DHAVE_CONFIG_H -I. -I../../octave/src -I..
|> -I../../octave/src/../__libinterp -I../libgnu
-I../../octave/libgnu
|> -I/x/Programs/gplibs/include -I/x/Programs/OctaveLibs/__include
|> -I/x/programs/GnuWin32/include -g -O2 -mieee-fp
|> -Ic:/Programs/gplibs/include/__freetype2
-Ic:/Programs/gplibs/include
|> -IX:/Programs/gplibs/include
|> -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
|> -Wwritestrings -Wcast-align -Wcast-qual -g -O2 -MT
octave-config.o -MD
|> -MP -MF .deps/octave-config.Tpo -c -o octave-config.o
octave-config.cc
|> mv -f .deps/octave-config.Tpo .deps/octave-config.Po
|> make[2]: *** . No rule to make target `corefcn/libcorefcn.la
<http://libcorefcn.la>', needed by
|> `octave-config.exe' Stop.
|> make[2]: Leaving directory `/home/Philip/octave/oct-3.7/__src'
|> make[1]: *** [all-recursive] Error 1
|> make[1]: Leaving directory `/home/Philip/octave/oct-3.7'
|> make: *** [all] Error 2
|>
|
| Cloned fresh sources on my Linux box, transplanted them to my
Windows
| desktop, in MSYS ran . /autogen.sh
|
| What should I do now?

Does this change fix the problem for you?

http://hg.savannah.gnu.org/__hgweb/octave/rev/b7f9d2c99a06
<http://hg.savannah.gnu.org/hgweb/octave/rev/b7f9d2c99a06>

You should only have to update and run make again. You should not
have to run autogen.sh or configure.


Yep that does it, thanks.
AFAICS the rest seems to go OK.

make check (& make -i check) doesn't run as "make" simply stops
somewhere after or in the doc build stage.
make [-i] install doesn't produce an Octave excutable, essentially
only octave_config_info and mkoctfile and a few .dlls.
I suspect it is something with doc building. Unfortunately I forgot
to specify --enable-docs=no with configure yesterday so I think I
just build again (no big deal now I know what fixes are needed, just
put it to work and do other things).

FYI what I get is:

$ ./run-octave
/home/Philip/octdev/oct3.7/__libtool: line 10108:
/home/Philip/octdev/oct3.7/__src/octave: No such file or directory
/home/Philip/octdev/oct3.7/__libtool: line 10108: exec:
/home/Philip/octdev/oct3.7/__src/octave: cannot execute: No such
file or directory


Philip,

Is it possible that you build problem above is occurring when creating
DOCSTRINGS in libinterp directory and failing to parse data.df?

I don't know; currently I'm busy for work with a colleague, I plan to
look further into libtool's error message tonight.

(BTW the MinGW build from clean checkout took 3.5 hours, not too bad)

Here's what I get when doing "make check" (after configure .....
--enable-docs=no)


address@hidden ~/octdev/oct-3.7
$ make check
Makefile:2632: warning: overriding commands for target `check'
Makefile:2214: warning: ignoring old commands for target `check'
make all-recursive
make[1]: Entering directory `/home/Philip/octdev/oct-3.7'
Makefile:2632: warning: overriding commands for target `check'
Makefile:2214: warning: ignoring old commands for target `check'
Making all in libgnu
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/libgnu'
make all-recursive
make[3]: Entering directory `/home/Philip/octdev/oct-3.7/libgnu'
make[4]: Entering directory `/home/Philip/octdev/oct-3.7/libgnu'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/Philip/octdev/oct-3.7/libgnu'
make[3]: Leaving directory `/home/Philip/octdev/oct-3.7/libgnu'
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/libgnu'
Making all in libcruft
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/libcruft'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/libcruft'
Making all in liboctave
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/liboctave'
make all-am
make[3]: Entering directory `/home/Philip/octdev/oct-3.7/liboctave'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Philip/octdev/oct-3.7/liboctave'
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/liboctave'
Making all in libinterp
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/libinterp'
make all-am
make[3]: Entering directory `/home/Philip/octdev/oct-3.7/libinterp'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Philip/octdev/oct-3.7/libinterp'
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/libinterp'
Making all in libgui
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/libgui'
Making all in src
make[3]: Entering directory `/home/Philip/octdev/oct-3.7/libgui/src'
make all-am
make[4]: Entering directory `/home/Philip/octdev/oct-3.7/libgui/src'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/Philip/octdev/oct-3.7/libgui/src'
make[3]: Leaving directory `/home/Philip/octdev/oct-3.7/libgui/src'
make[3]: Entering directory `/home/Philip/octdev/oct-3.7/libgui'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Philip/octdev/oct-3.7/libgui'
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/libgui'
Making all in src
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/src'
Making all in scripts
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/scripts'
Making all in examples
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/examples'
Making all in test
make[2]: Entering directory `/home/Philip/octdev/oct-3.7/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Philip/octdev/oct-3.7/test'
make[2]: Entering directory `/home/Philip/octdev/oct-3.7'
Makefile:2632: warning: overriding commands for target `check'
Makefile:2214: warning: ignoring old commands for target `check'

Octave successfully built. Now choose from the following:

./run-octave - to run in place to test before installing
make check - to run the tests
make install - to install (PREFIX=/x/octave/octave-3.7.x)

make[2]: Leaving directory `/home/Philip/octdev/oct-3.7'
make[1]: Leaving directory `/home/Philip/octdev/oct-3.7'
make -C test check
make[1]: Entering directory `/home/Philip/octdev/oct-3.7/test'
../../octave/test/build_sparse_tests.sh
../../octave/test/build_bc_overload_tests.sh
../../octave/test/bc_overloads_expected
../run-octave --norc --silent --no-history ../../octave/test/fntests.m
../../octave/test
/home/Philip/octdev/oct-3.7/libtool: line 10108:
/home/Philip/octdev/oct-3.7/src/octave: No such file or directory
/home/Philip/octdev/oct-3.7/libtool: line 10108: exec:
/home/Philip/octdev/oct-3.7/src/octave: cannot execute: No such file or
directory
make[1]: *** [check] Error 126
make[1]: Leaving directory `/home/Philip/octdev/oct-3.7/test'
make: *** [check] Error 2

....and here's the contents of <BUILDDIR>/src:

address@hidden ~/octdev/oct-3.7
$ ls -l src
total 3905
-rw-r--r-- 1 Philip Administrators   96964 Aug 28 10:20 Makefile
-rw-r--r-- 1 Philip Administrators   25765 Aug 28 12:54 mkoctfile.cc
-rwxr-xr-x 1 Philip Administrators   28174 Aug 28 12:54 mkoctfile.exe
-rw-r--r-- 1 Philip Administrators 2520069 Aug 28 12:54 mkoctfile.o
-rw-r--r-- 1 Philip Administrators    8112 Aug 28 12:54 octave-config.cc
-rwxr-xr-x 1 Philip Administrators   28686 Aug 28 12:54 octave-config.exe
-rw-r--r-- 1 Philip Administrators 1286476 Aug 28 12:54 octave-config.o


So, building of octave & octave-cli has simply been skipped w/o warning (unless the stanzas:
  Makefile:2632: warning: overriding commands for target `check'
  Makefile:2214: warning: ignoring old commands for target `check'
...indicate something).
I wouldn't know how to get any further here. Suggestions?

Philip


reply via email to

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