Hi LyX devs!

In order to put my time where is my mouth (see lyx-users list & "Forget 
Windows" thread), here I send result of my attempt to build LyX CVS with 
a gtk front-end:

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -Winvalid-pch --include=./pch.h 
-I../../../images -I../../../src -I../../../src/frontends 
-I../../../src/frontends/controllers -I../xforms 
-I../../../src/frontends/xforms -I../../../boost -I/usr/include/gtkmm-2.4 
-I/usr/lib64/gtkmm-2.4/include -I/usr/include/glibmm-2.4 
-I/usr/lib64/glibmm-2.4/include -I/usr/include/gdkmm-2.4 
-I/usr/lib64/gdkmm-2.4/include -I/usr/include/pangomm-1.4 
-I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 
-I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 
-I/usr/lib64/glib-2.0/include -I/usr/lib64/gtk-2.0/include 
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/atk-1.0 
-I/usr/include/libglademm-2.4 -I/usr/lib64/libglademm-2.4/include 
-I/usr/include/libglade-2.0 -I/usr/include/libxml2 -Wextra -Wall 
-fno-exceptions -g -O -MT GPainter.lo -MD -MP -MF .deps/GPainter.Tpo -c 
GPainter.C -o GPainter.o
In file included from /usr/include/X11/Xft/Xft.h:40,
                 from GPainter.h:19,
                 from GPainter.C:21:
/usr/include/ft2build.h:56:38: freetype/config/ftheader.h: No such file 
or directory
In file included from GPainter.h:19,
                 from GPainter.C:21:
/usr/include/X11/Xft/Xft.h:41:10: #include expects "FILENAME" or <FILENAME>
In file included from GPainter.h:19,
                 from GPainter.C:21:
...

So, LyX build system cannot find 'freetype/config/ftheader.h' header 
although it is in:

gaura-nitai ~ # ls -al /usr/include/freetype2/freetype/config/ftheader.h
-rw-r--r--  1 root root 34617 Jul  9 13:40 
/usr/include/freetype2/freetype/config/ftheader.h

but not in:

gaura-nitai ~ # ls -al /usr/include/freetype
total 238
drwxr-xr-x    2 root root   520 Mar 24  2005 .
drwxr-xr-x  302 root root 30464 Nov  7 23:46 ..
lrwxrwxrwx    1 root root    22 Mar 24  2005 freetype -> /usr/include//freetype
-rw-r--r--    1 root root 44044 Mar 23  2005 freetype.h
-rw-r--r--    1 root root  5551 Mar 23  2005 fterrid.h
-rw-r--r--    1 root root 30284 Mar 23  2005 ftnameid.h
-rw-r--r--    1 root root  1710 Mar 23  2005 ftxcmap.h
-rw-r--r--    1 root root  1576 Mar 23  2005 ftxerr18.h
-rw-r--r--    1 root root  1614 Mar 23  2005 ftxgasp.h
-rw-r--r--    1 root root  6322 Mar 23  2005 ftxgdef.h
-rw-r--r--    1 root root 25892 Mar 23  2005 ftxgpos.h
-rw-r--r--    1 root root 20595 Mar 23  2005 ftxgsub.h
-rw-r--r--    1 root root  6199 Mar 23  2005 ftxkern.h
-rw-r--r--    1 root root  8600 Mar 23  2005 ftxopen.h
-rw-r--r--    1 root root  2161 Mar 23  2005 ftxpost.h
-rw-r--r--    1 root root 23446 Mar 23  2005 ftxsbit.h
-rw-r--r--    1 root root  3462 Mar 23  2005 ftxwidth.h


So, what is the proper way to include the ../freetype2 header dir?

Does the gtk front-end needs freetype1 or freetype2?

Sincerely,
Gour

-- 
Registered Linux User   | #278493
GPG Public Key          | 8C44EDCD


Reply via email to