compile error please help

Doug Stewart dastew at sympatico.ca
Sat Dec 13 22:36:24 CST 2008


John W. Eaton wrote:
> On 13-Dec-2008, Doug Stewart wrote:
>
> | John W. Eaton wrote:
> | > On 13-Dec-2008, Doug Stewart wrote:
> | >
> | > | I did a
> | > | 
> | > | hg pull http://www.octave.org/hg/octave
> | > | hg update
> | > | ./autogen.sh
> | > | ./configure
> | > | make
> | > | 
> | > | and I end at this:
> | > | 
> | > | 
> | > | 
> | > | making comment-list.d from comment-list.cc
> | > | making c-file-ptr-stream.d from c-file-ptr-stream.cc
> | > | making bitfcns.d from bitfcns.cc
> | > | making Cell.d from Cell.cc
> | > | make[2]: Leaving directory `/home/doug/octave2/src'
> | > | make[2]: Entering directory `/home/doug/octave2/src'
> | > | making defaults.h from defaults.h.in
> | > | defaults.h is unchanged
> | > | make[2]: --cppflags: Command not found
> | > | make[2]: --ldflags: Command not found
> | > | making oct-conf.h from oct-conf.h.in
> | > | oct-conf.h is unchanged
> | > | g++ -c -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc 
> | > | -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -g -O2 lex.cc -o pic/lex.o
> | > | lex.l: In function ?int is_keyword_token(const std::string&)?:
> | > | lex.l:1038: error: expected initializer before ?*? token
> | > | lex.l:1040: error: ?kw? was not declared in this scope
> | > | lex.l:1046: error: ?break_kw? was not declared in this scope
> | > | lex.l:1047: error: ?case_kw? was not declared in this scope
> | > | lex.l:1048: error: ?catch_kw? wa
> | > | 
> | > | + more errors.
> | > | 
> | > | I am learning how to do all this so I can contribute more:
> | > | So any suggestions as to what I am doing wrong?
> | >
> | > You need gperf.
> | >
> | > jwe
> | >
> | >   
> | 
> |  
> |  ./configure  also said it found gperf
> |  
> |  checking lex output file root... lex.yy
> |  checking lex library... -lfl
> |  checking whether yytext is a pointer... yes
> |  defining LFLAGS to be -t -I
> |  checking for bison... bison -y
> |  checking whether ln -s works... yes
> |  checking for a BSD-compatible install... /usr/bin/install -c
> |  checking for desktop-file-install... desktop-file-install
> |  checking for gnuplot... gnuplot
> |  checking for less... less
> |  checking for gperf... gperf
> |  checking for gs... gs
> |  checking for makeinfo... makeinfo
> |  checking for texi2dvi... texi2dvi
> |  checking for texi2pdf... texi2pdf
> |  
> |  any other ideas ?
>
> Was the file
>
>   src/oct-gperf.h
>
> generated correctly when you ran make the first time?  I would guess
> that it was not.
>
> jwe
>
>   

oct-gperf.h is empty

now what ??

Doug



More information about the Help-octave mailing list