octave-maintainers
[Top][All Lists]
Advanced

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

Re: lex.ll:78:23: fatal error: oct-parse.h: No such file or directory


From: Ben Abbott
Subject: Re: lex.ll:78:23: fatal error: oct-parse.h: No such file or directory
Date: Sat, 28 Apr 2012 21:13:05 -0400

On Apr 28, 2012, at 2:01 PM, Ben Abbott wrote:

> For me, oct-parse.h is no longer created during the make process.
> 
> rm oct-parse.h oct-parse.h
> touch oct-parse.yy
> make
> 
> making defaults.h from defaults.in.h
> defaults.h is unchanged
> making oct-conf.h from oct-conf.in.h
> oct-conf.h is unchanged
> /bin/sh ../build-aux/ylwrap oct-parse.yy y.tab.c oct-parse.cc y.tab.h `echo 
> oct-parse.cc | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ 
> -e s/c$/h/` y.output oct-parse.output -- bison -y -dv 
> conflicts: 16 shift/reduce, 1 reduce/reduce
> updating oct-parse.hh
> oct-parse.output is unchanged
> /opt/local/bin/g++-mp-4.6 -E -DHAVE_CONFIG_H -I. -I..  \
>         -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave 
> -I../liboctave -I. -I. -I/opt/local/include -I/opt/local/include -pipe -O0 -g 
> -m64 -ggdb3  -DHAVE_CONFIG_H -I/opt/local/include 
> -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include   
> -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings 
> -Wcast-align -Wcast-qual -pipe -O0 -g -m64 -ggdb3 -D_THREAD_SAFE -pthread 
> -pipe -O0 -g -m64 -ggdb3 \
>         -DMAKE_BUILTINS oct-parse.cc | ./mkdefs . oct-parse.cc > 
> oct-parse.df-t
> mv oct-parse.df-t oct-parse.df
> ./mkbuiltins bitfcns.df data.df debug.df defaults.df dirfns.df error.df 
> file-io.df graphics.df help.df input.df lex.df load-path.df load-save.df 
> ls-oct-ascii.df mappers.df oct-hist.df oct-parse.df octave.df pager.df 
> pr-output.df profiler.df sighandlers.df sparse.df strfns.df symtab.df 
> syscalls.df sysdep.df toplev.df utils.df variables.df ov-base.df 
> ov-bool-mat.df ov-cell.df ov-class.df ov-fcn-handle.df ov-fcn-inline.df 
> ov-flt-re-mat.df ov-null-mat.df ov-oncleanup.df ov-range.df ov-re-mat.df 
> ov-struct.df ov-typeinfo.df ov-usr-fcn.df ov.df ov-int16.df ov-int32.df 
> ov-int64.df ov-int8.df ov-uint16.df ov-uint32.df ov-uint64.df ov-uint8.df 
> pt-arg-list.df pt-binop.df pt-eval.df pt-mat.df > builtins.cc-t
> mv builtins.cc-t builtins.cc
> make  all-am
> making defaults.h from defaults.in.h
> defaults.h is unchanged
> /bin/sh ../libtool  --tag=CXX   --mode=compile /opt/local/bin/g++-mp-4.6 
> -DHAVE_CONFIG_H -I. -I..  -I../libgnu -I../libgnu -I../libcruft/misc 
> -I../liboctave -I../liboctave -I. -I. -I/opt/local/include 
> -I/opt/local/include -pipe -O0 -g -m64 -ggdb3  -DHAVE_CONFIG_H 
> -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include 
> -I/opt/local/include   -Wall -W -Wshadow -Wold-style-cast -Wformat 
> -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -pipe -O0 -g -m64 
> -ggdb3 -D_THREAD_SAFE -pthread -pipe -O0 -g -m64 -ggdb3 -MT 
> liboctinterp_la-lex.lo -MD -MP -MF .deps/liboctinterp_la-lex.Tpo -c -o 
> liboctinterp_la-lex.lo `test -f 'lex.cc' || echo './'`lex.cc
> libtool: compile:  /opt/local/bin/g++-mp-4.6 -DHAVE_CONFIG_H -I. -I.. 
> -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. 
> -I. -I/opt/local/include -I/opt/local/include -pipe -O0 -g -m64 -ggdb3 
> -DHAVE_CONFIG_H -I/opt/local/include -I/opt/local/include/freetype2 
> -I/opt/local/include -I/opt/local/include -Wall -W -Wshadow -Wold-style-cast 
> -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -pipe -O0 
> -g -m64 -ggdb3 -D_THREAD_SAFE -pthread -pipe -O0 -g -m64 -ggdb3 -MT 
> liboctinterp_la-lex.lo -MD -MP -MF .deps/liboctinterp_la-lex.Tpo -c lex.cc  
> -fno-common -DPIC -o .libs/liboctinterp_la-lex.o
> lex.ll:78:23: fatal error: oct-parse.h: No such file or directory
> compilation terminated.
> make[1]: *** [liboctinterp_la-lex.lo] Error 1
> make: *** [all] Error 2
> 
> While oct-parse.h is missing, there is an oct-parse.hh. After "mv 
> oct-parse.hh oct-parse.h", make completes without error.
> 
> Ben

My macports package manager updated me to automake 1.12

If the back up to 1.11, the problem goes away.

What version of automake is required?  I had thought >= 1.11 was needed, but 
that looks to be incorrect.

Ben






reply via email to

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