Hi again,
I have a possible solution for my problem.
In the line
number 827 of config.log (see bellow) the error message says that in
line 33 of ftgl.h an #include sentence is wrong. Lines 32 and 33 of
ftgl.h are
#include <ft2build.h>
#include FT_FREETYPE_H
I
suppose that FT_FREETYPE_H (the #include error origin) is defined in
ft2build.h. If I open /usr/include/ft2build.h I can see the lines 55
and 56
/* `<prefix>/include/freetype2' must be in your current inclusion path */
#include <freetype/config/ftheader.h>
In the line number 173 of ftheader.h is the FT_FREETYPE_H definition
#define FT_FREETYPE_H <freetype/freetype.h>
But
the problem was that the include path of freetype2 not is in the
include path of my installation. If I set the environment variables
C_INCLUDE_PATH and CPLUS_INCLUDE_PATH to /usr/include/freetype2 I can
configure octave without warnings. By the moment the compilation runs
OK.
But this solution is no good. I don't know why the include path is
not set during the installation of libftgl-dev. Any opinion about?
2008/8/19 José Luis García Pallero
<address@hidden>
Hi,
Since config.log is too big I paste only the lines in wich FTGL or ftgl word appears. Some lines appears duplicate because I search it with grep and I'n not an expert in this utility.
Note: I'm using libftgl-dev 2.1.3~rc5-2 package from Debian GNU/Linux unstable branch.
821:configure:11260: checking FTGL/ftgl.h usability
821:configure:11260: checking FTGL/ftgl.h usability
823:In file included from /usr/include/FTGL/ftgl.h:32,
823:In file included from /usr/include/FTGL/ftgl.h:32,
827:/usr/include/FTGL/ftgl.h:33:10: error: #include expects "FILENAME" or <FILENAME>
827:/usr/include/FTGL/ftgl.h:33:10: error: #include expects "FILENAME" or <FILENAME>
828:/usr/include/FTGL/ftgl.h:34:10: error: #include expects "FILENAME" or <FILENAME>
828:/usr/include/FTGL/ftgl.h:34:10: error: #include expects "FILENAME" or <FILENAME>
829:/usr/include/FTGL/ftgl.h:35:10: error: #include expects "FILENAME" or <FILENAME>
829:/usr/include/FTGL/ftgl.h:35:10: error: #include expects "FILENAME" or <FILENAME>
--
*****************************************
José Luis García Pallero
address@hidden(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************