LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Gtk+ and Pango problems (https://www.linuxquestions.org/questions/linux-software-2/gtk-and-pango-problems-171815/)

rundjuling 04-18-2004 07:11 PM

Gtk+ and Pango problems
 
Hi,

I'm trying to install Gtk+ 2.4 and now I've encountered a problem I have no idea how to solve. I have installed Pango 1.4.0, as Gtk+ demands, but then later in the configuration process, I get this error:

configure: error: Pango 1.2.0 and Xft backend is required for x11 target

I don't understand this. First it demands to Pango 1.4 to be installed and now for Pango 1.2 with Xft backend?

Can anyone help me out here? I'd appreciate it.

rundjuling 04-19-2004 01:56 PM

I'm still stuck with this. Would be nice if anyone has any tips.

drivefast 05-03-2004 10:58 AM

i'm stuck in the exact same place. My hunch is that we are not using pkgconfig at this stage (and it's not finding pango).

but if you get past this, then, you get another error b/c it want's pango 1.4.0

i'm still trying to figure this one out. :(

wmeler 05-17-2004 09:18 AM

I am stuck too. Here are the tips I've found that seem useful thus far...but unfortunately I haven't been near the box I am trying to fix this on, so let me know what you have figured out.

1)http://mail.gnome.org/archives/gtk-l.../msg00216.html
2)http://www.linuxquestions.org/questi...ight=pango+1.4
3)http://mail.gnome.org/archives/gtk-l.../msg00152.html
4)Need to install XFree86-devel-*.i586

My hunch is it is a combo of #1 and #3 in particular, but just guessing.

wmeler 05-17-2004 09:32 AM

Looks promising too...

http://www.linuxquestions.org/questi...ight=pango+1.4

wmeler 05-17-2004 09:40 AM

Best yet...

http://www.linuxquestions.org/questi...ight=pango+1.4

wmeler 05-17-2004 12:40 PM

Now having a problem installing freetype2..

make all-recursive
make[3]: Entering directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk'
Making all in x11
make[4]: Entering directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk/x11'
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -g -O2 -Wall -MT gdkasync.lo -MD -MP -MF ".deps/gdkasync.Tpo" \
-c -o gdkasync.lo `test -f 'gdkasync.c' || echo './'`gdkasync.c; \
then mv -f ".deps/gdkasync.Tpo" ".deps/gdkasync.Plo"; \
else rm -f ".deps/gdkasync.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/X11R6/include -g -O2 -Wall -MT gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c -fPIC -DPIC -o .libs/gdkasync.o
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
from ../../gdk/x11/gdkdrawable-x11.h:35,
from ../../gdk/x11/gdkwindow-x11.h:30,
from gdkprivate-x11.h:36,
from gdkx.h:78,
from gdkasync.c:49:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make[4]: *** [gdkasync.lo] Error 1
make[4]: Leaving directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tom/Desktop/download/gtk+-2.4.1/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/Desktop/download/gtk+-2.4.1'
make: *** [all] Error 2

wmeler 05-17-2004 01:10 PM

I think this is the solution, though I haven't tried it yet...

http://www.linuxquestions.org/questi...ight=ftbuild.h

wmeler 05-17-2004 01:15 PM

This looks interesting as well...

http://www.linuxquestions.org/questi...ight=ftbuild.h


All times are GMT -5. The time now is 01:48 PM.