Another compilation error

John W. Eaton jwe at bevo.che.wisc.edu
Fri May 30 11:30:35 CDT 2008


On 28-May-2008, Andrea Spadaccini wrote:

| Ciao John,
| 
| > | g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
| > | -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -g -O2
| > | load-path.cc -o pic/load-path.o
| > | lex.l: In function 'int is_keyword_token(const std::string&)':
| > | lex.l:1037: error: expected initializer before '*' token
| > | lex.l:1039: error: 'kw' was not declared in this scope
| > 
| > Do you have gperf installed?  It is needed to build oct-gperf.h from
| > octave.gperf.
| 
| I'm not at that machine right now, but I suppose that I don't have this
| gperf. :)
| 
| But.. shouldn't the configure script be responsible of all those checks, rather
| than the end user? I know this is a development version, so it's ok, but I hope
| that usually configure checks for those dependencies.

The configure script does check for gperf.  If this is not working in
the best way, then I would consider patches that improve the
situation.

jwe


More information about the Help-octave mailing list