|
From: | David Grundberg |
Subject: | Re: Installation error from development sources |
Date: | Tue, 16 Mar 2010 09:33:13 +0100 |
User-agent: | Thunderbird 2.0.0.23 (X11/20090812) |
xnand wrote:
LUK ShunTim-3 wrote:xnand wrote:xnand wrote:David Grundberg-3 wrote:xnand wrote:What lexical analyzer generator are you running? And which version? Check the configure output.Hi all. I am installing octave from the development sources. Below is the ending part of the output I got for the command "make": /bin/sh ../build-aux/ylwrap lex.ll lex.octave_.c lex.cc -- flex -I -I "/home/me/octave/src/lex.ll", line 27: unrecognized '%' directive "/home/me/octave/src/lex.ll", line 28: bad character: # "/home/me/octave/src/lex.ll", line 28: unknown error processing section 1 "/home/me/octave/src/lex.ll", line 29: bad character: # "/home/me/octave/src/lex.ll", line 29: bad character: < "/home/me/octave/src/lex.ll", line 29: bad character: . "/home/me/octave/src/lex.ll", line 29: bad character: > "/home/me/octave/src/lex.ll", line 30: bad character: # "/home/me/octave/src/lex.ll", line 31: bad character: } make[2]: *** [lex.cc] Error 1 make[2]: Leaving directory `/home/me/octave/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/me/octave' make: *** [all] Error 2 Thanks. Nandshth, David _______________________________________________ Help-octave mailing list address@hidden https://www-old.cae.wisc.edu/mailman/listinfo/help-octaveHi David. It's flex rpm package, version : 2.5.4a, release : 41.fc6. The lines related to lex in configure output were: checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl Thanks. NandsHi all. I installed flex-2.5.35, and now I am getting this: libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -g -O2 -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2 -pthread -g -O2 -MT DLD-FUNCTIONS/DLD_FUNCTIONS_convhulln_la-convhulln.lo -MD -MP -MF DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_convhulln_la-convhulln.Tpo -c DLD-FUNCTIONS/convhulln.cc -fPIC -DPIC -o DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_convhulln_la-convhulln.o DLD-FUNCTIONS/convhulln.cc:45:27: error: qhull/qhull_a.h: No such file or directoryIt seems the qhull headers are not found. You may need to install the development package of qhull (usually called libqhull-dev or libqhull-devel) of your linux(?) distribution. Regards, ST -- _______________________________________________ Help-octave mailing list address@hidden https://www-old.cae.wisc.edu/mailman/listinfo/help-octaveHi all. Thanks to LUK ShunTim, I installed development package of qhull and got cured of the error. But now, new error: libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -g -O2 -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -g -O2 -pthread -g -O2 -MT DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo -MD -MP -MF DLD-FUNCTIONS/.deps/DLD_FUNCTIONS_urlwrite_la-urlwrite.Tpo -c DLD-FUNCTIONS/urlwrite.cc -fPIC -DPIC -o DLD-FUNCTIONS/.libs/DLD_FUNCTIONS_urlwrite_la-urlwrite.o DLD-FUNCTIONS/urlwrite.cc: In member function 'string_vector curl_handle::list() const': DLD-FUNCTIONS/urlwrite.cc:405: error: 'CURLOPT_DIRLISTONLY' was not declared in this scope DLD-FUNCTIONS/urlwrite.cc:412: error: 'CURLOPT_DIRLISTONLY' was not declared in this scope make[3]: *** [DLD-FUNCTIONS/DLD_FUNCTIONS_urlwrite_la-urlwrite.lo] Error 1 make[3]: Leaving directory `/home/me/octave/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/me/octave/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/me/octave' make: *** [all] Error 2 Thanks. Nanddeep
I think you need a newer version of curl. If you don't feel like having urlwrite/urlread support, you can disable curl (--without-curl) at configuration.
David
[Prev in Thread] | Current Thread | [Next in Thread] |