octave-maintainers
[Top][All Lists]
Advanced

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

Re: octave-config-h?


From: John W. Eaton
Subject: Re: octave-config-h?
Date: Fri, 12 Feb 2016 15:24:31 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 02/12/2016 09:02 AM, Ben Abbott wrote:
On Feb 12, 2016, at 7:33 AM, Ben Abbott <address@hidden> wrote:

John,

Did the new octave-config.h not get pushed, or is it not ready yet?

  GEN      libinterp/corefcn/LSODE-opts.cc
  GEN      libinterp/corefcn/Quad-opts.cc
  GEN      libinterp/octave.df
In file included from libinterp/octave.cc:42:
./liboctave/util/cmd-edit.h:26:10: fatal error: 'octave-config.h' file not found
#include "octave-config.h”

Ben

I should have spent more time reviewing the recent changesets. Im able to use 
the new-file, mk-octave-config-h.sh, to generate octave-config.h.

        ./build-aux/mk-octave-config-h.sh config.h > octave-config.h

It looks to me like this should happen automatically

$ fgrep -in octave-config.h Makefile.am
148:  octave-config.h \
175:octinclude_HEADERS += octave-config.h oct-conf-post.h
191:octave-config.h: config.h build-aux/mk-octave-config-h.sh

Expanding the relevant lines …

191 octave-config.h: config.h build-aux/mk-octave-config-h.sh
192   $(AM_V_GEN)$(top_srcdir)/build-aux/mk-octave-config-h.sh $< > address@hidden 
&& \
193   mv address@hidden $@

Unfortunately, the build process doesn’t generate octave-config.h for me. I’m 
trying to build on Mac OS X and am using Fink for dependencies (anyone else?).

Perhaps there is a dependency requirement I’m lacking (maybe my version is too 
old?). Rather than dumping everything into email, I’ll wait for feedback.

It should happen automatically after this change:

  http://hg.savannah.gnu.org/hgweb/octave/rev/5ddc9b61a0c4

Is octave-config.h listed in BUILT_SOURCES in your Makefile?

jwe




reply via email to

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