LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-19-2005, 10:18 AM   #1
BabyLinux
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
Desperate with freetype library


hello linux'er ...

i am newbie.. and dont understand with freetype libraries. i tried to install gtk+-2 but i got trouble with freetype libraries

root@babylinux:/home/babylinux/Mydocument/gtk+-2.0.3 # ./configure --prefix=/usr

--------------------------- process--------------- ----

checking for freetype-config... /usr/local/bin/freetype-config
checking for FT_New_Face in -lfreetype... yes
checking For sufficiently new FreeType (at least 2.0.1)... no
configure: error: pangoxft Pango backend found but did not find freetype libraries
root@babylinux:/home/babylinux/Mydocument/gtk+-2.0.3 #

i installed pango already

root@babylinux:/home/babylinux/Mydocument/gtk+-2.0.3 # whereis pango
pango: /etc/pango /usr/etc/pango /usr/lib/pango

then i installed Freetype-2.1.10

root@babylinux:/home/babylinux/Mydocument/freetype-2.1.10 # ./configure --prefix=/usr
-- process---


FreeType build system -- automatic system detection

The following settings are used:

platform unix
compiler cc
configuration directory ./builds/unix
configuration rules ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).

make: Nothing to be done for `unix'.
root@babylinux:/home/babylinux/Mydocument/freetype-2.1.10 #

i've ready INSTALL .. but it said same answer ./configure ... make... make install
then i installed phyton to do make rofdoc ( i dont know what is refdoc mean )

root@babylinux:/home/babylinux/Mydocument/freetype-2.1.10 # make refdoc
python /home/cupid/Mydocument/freetype-2.1.10/src/tools/docmaker/docmaker.py \
--prefix=ft2 \
--title=FreeType-2.1.10 \
--output=/home/cupid/Mydocument/freetype-2.1.10/docs/reference \
/home/cupid/Mydocument/freetype-2.1.10/include/freetype/*.h \
/home/cupid/Mydocument/freetype-2.1.10/include/freetype/config/*.h \
/home/cupid/Mydocument/freetype-2.1.10/include/freetype/cache/*.h
root@babylinux:/home/babylinux/Mydocument/freetype-2.1.10 #make install

-------------------------process.--------------- ---
root@babylinux:/home/babylinux/Mydocument/freetype-2.1.10 #

then i back at my gtk+-2.0.3

root@babylinux:/home/babylinux/Mydocument/gtk+-2.0.3 #./configure --prefix=/usr

----------------------------- process --------------------------------
checking for x86 platform... yes
checking compiler support for MMX... yes
checking for freetype-config... /usr/local/bin/freetype-config
checking for FT_New_Face in -lfreetype... yes
checking For sufficiently new FreeType (at least 2.0.1)... no
configure: error: pangoxft Pango backend found but did not find freetype libraries
root@babylinux:/home/babylinux/Mydocument/gtk+-2.0.3 #

i got same anwer again from my gtk+-2.0.3 .. i asked my google and sourceforge how to install it... they said just ... ./configure --prefix=/usr ... make ... make install without problem like mine ...

i checked my pkg.config list just to make it sure..

root@bbaylinux:/home/linux/Mydocument/gtk+-2.0.3 # pkg-config --list-all
pyorbit-2 PyORBit - Python bindings for ORBit2
gmodule-no-export-2.0 GModule - Dynamic module loader for GLib
pango Pango - Internationalized text handling
render Render - Render extension headers
gnome-python-2.0 GNOME-python - Python bindings for GNOME libraries
xrender Xrender - X Render Library
gnome-system-tools gst - Gnome System Tools
streamtuner streamtuner - A stream directory browser
system-tools-backends gst-backends - GNOME System Tools backends
glib-2.0 GLib - C Utility Library
rhythmbox Rhythmbox - Rhythmbox
pygtk-2.0 PyGTK - Python bindings for GTK+ and related libraries
pangoxft Pango Xft - Xft font support for Pango
gstreamer-0.8 GStreamer - Streaming-media framework
gnome-media-profiles GNOME Media Profiles - Media Profiles describing audio codec settings for output
gnome-mime-data-2.0 gnome-mime-data - Base set of file types and applications for GNOME
gdk-pixbuf-xlib-2.0 GdkPixbuf Xlib - GdkPixbuf rendering for Xlib
xft Xft - X FreeType library
totem-plparser totem-plparser - Totem Playlist Parser library
gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
gnome-doc-utils gnome-doc-utils - GNOME Documentation Utilities
gmodule-2.0 GModule - Dynamic module loader for GLib
atk Atk - Accessibility Toolkit
xml2po xml2po - Tool for translating XML documents
pygobject-2.0 PyGObject - Python bindings for GObject
libart-2.0 libart - LGPL version of the libart library
libxml-2.0 libXML - libXML library version2.
gdk-x11-2.0 GDK - GIMP Drawing Kit (x11 target)
pangoft2 Pango FT2 - Freetype 2.0 font support for Pango
gdk-2.0 GDK - GIMP Drawing Kit (x11 target)
gthread-2.0 GThread - Thread support for GLib
fontconfig Fontconfig - Font configuration and customization library
freetype2 FreeType 2 - A free, high-quality, and portable font engine.
shared-mime-info shared-mime-info - Freedesktop common MIME database
pangox Pango X - X Window System font support for Pango
gst-python-0.8 gst-python - Python bindings for GStreamer
gtk+-2.0 GTK+ - GIMP Tool Kit (x11 target)
gtk+-x11-2.0 GTK+ - GIMP Tool Kit (x11 target)
gtk-engines-2 gtk-engines-2 - GTK+ Theme Engines
gdk-pixbuf-2.0 GdkPixbuf - Image loading and scaling
gstreamer-control-0.8 GStreamer control library - Dynamic parameters for plug-ins
gnome-icon-theme gnome-icon-theme - A collection of icons used as the basis for GNOME themes
root@babylinux:/home/babylinux/Mydocument/gtk+-2.0.3 #

honestly... i am so desperate.. i tried to finished it since 2 days ago.. but i got nothing .

configure: error: pangoxft Pango backend found but did not find freetype libraries <--- i dont understand with freetype libraries...what i have to do.. what i have to install or i made mistakes??

sorry if my post is too long ... coz i really confused ( any solution for my problem ?? i appreciate it ... thank u very much

babylinux
 
Old 06-19-2005, 10:32 AM   #2
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Why are you trying to install GTK+? This should normally be provided with your distribution. What distro are you running?
 
Old 06-19-2005, 05:16 PM   #3
BabyLinux
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
yes.. u are right.... i tried to install gtk+-2 ... i am runniing ubuntu hoary on my PC

thanks
 
Old 06-19-2005, 05:24 PM   #4
BabyLinux
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
i am trying install GTK+-2 .. because i wanna install Gyach on my ubuntu

root@cupid:/home/cupid/Mydocument/Gyach/libgnomecanvas-2.4.0 #./configure --prefix=usr/
-----------------------proccess-------------
checking LIBGNOMECANVAS_LIBS... -Wl,--export-dynamic -L/usr//lib -lgtk-x11-2.0 -lart_lgpl_2 -lpango-1.0 -lpangoft2-1.0
checking for gtk+-2.0 >= 2.0.3 libart-2.0 >= 2.3.8 pango >= 1.0.1 pangoft2 >= 1.0.1 libglade-2.0 >= 2.0.0... Package libglade-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libglade-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libglade-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 2.0.3 libart-2.0 >= 2.3.8 pango >= 1.0.1 pangoft2 >= 1.0.1 libglade-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them
root@cupid:/home/cupid/Mydocument/Gyach/libgnomecanvas-2.4.0 #
 
Old 06-19-2005, 05:45 PM   #5
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Ahh ... what you're missing here are the development libraries. You already have GTK2. Try using Synaptic to install "build-essential" or alternatively, the libglade development package (sorry I don't know what that is called on Ubuntu)
 
Old 06-19-2005, 06:34 PM   #6
BabyLinux
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
thank u for ur help... life is so beautifull .. but i still got an error lol

i was found libglade-2.0.1tar.gz..

root@babylinux:/home/babylinux/Mydocument/libglade-2.0.1 # ./configure --prefix=/usr/

-------------process----------------------------

configure: creating ./config.status
config.status: creating Makefile
config.status: creating libglade.spec
config.status: creating glade/Makefile
config.status: creating doc/Makefile
config.status: creating tests/Makefile
config.status: creating libglade-2.0.pc
config.status: creating libglade-convert
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands

This is the development branch of libglade
If you want something that works with gtk+ 1.2, checkout the
libglade-1-0 branch with the following command
cvs update -r libglade-1-0 .

root@babylinux:/home/babylinux/Mydocument/libglade-2.0.1 #make

----------------------- process ----------------------

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libglade\" -I.. -DXTHREADS -I/usr/include/libxml2 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr//include/pango-1.0 -DGLADE_LIBDIR=\""/usr//lib"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -O2 -Wall -std=c9x -c -o glade-init.lo `test -f 'glade-init.c' || echo './'`glade-init.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libglade\" -I.. -DXTHREADS -I/usr/include/libxml2 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr//include/pango-1.0 -DGLADE_LIBDIR=\"/usr//lib\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -O2 -Wall -std=c9x -c glade-init.c -MT glade-init.lo -MD -MP -MF .deps/glade-init.TPlo -fPIC -DPIC -o .libs/glade-init.lo
In file included from /usr/include/gtk-2.0/gdk/gdk.h:34,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:30,
from ../glade/glade-xml.h:26,
from glade-build.h:28,
from glade-init.c:33:
/usr/include/gtk-2.0/gdk/gdkdrawable.h:161: error: syntax error before "PangoMatrix"
/usr/include/gtk-2.0/gdk/gdkdrawable.h:359: error: syntax error before "PangoMatrix"
In file included from /usr/include/gtk-2.0/gdk/gdk.h:43,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:30,
from ../glade/glade-xml.h:26,
from glade-build.h:28,
from glade-init.c:33:
/usr/include/gtk-2.0/gdk/gdkpango.h:69: error: syntax error before "PangoRenderer"
/usr/include/gtk-2.0/gdk/gdkpango.h:69: warning: no semicolon at end of struct or union
/usr/include/gtk-2.0/gdk/gdkpango.h:72: error: syntax error before '}' token
/usr/include/gtk-2.0/gdk/gdkpango.h:84: error: syntax error before "PangoRendererClass"
/usr/include/gtk-2.0/gdk/gdkpango.h:84: warning: no semicolon at end of struct or union
/usr/include/gtk-2.0/gdk/gdkpango.h:89: error: syntax error before '*' token
/usr/include/gtk-2.0/gdk/gdkpango.h:89: warning: type defaults to `int' in declaration of `gdk_pango_renderer_new'
/usr/include/gtk-2.0/gdk/gdkpango.h:89: warning: data definition has no type or storage class
/usr/include/gtk-2.0/gdk/gdkpango.h:90: error: syntax error before '*' token
/usr/include/gtk-2.0/gdk/gdkpango.h:90: warning: type defaults to `int' in declaration of `gdk_pango_renderer_get_default'
/usr/include/gtk-2.0/gdk/gdkpango.h:90: warning: data definition has no type or storage class
/usr/include/gtk-2.0/gdk/gdkpango.h:97: error: syntax error before "PangoRenderPart"
/usr/include/gtk-2.0/gdk/gdkpango.h:100: error: syntax error before "PangoRenderPart"
In file included from /usr/include/gtk-2.0/gtk/gtkaccellabel.h:34,
from /usr/include/gtk-2.0/gtk/gtk.h:34,
from glade-private.h:26,
from glade-init.c:34:
/usr/include/gtk-2.0/gtk/gtklabel.h:133: error: syntax error before "PangoEllipsizeMode"
/usr/include/gtk-2.0/gtk/gtklabel.h:134: error: syntax error before "gtk_label_get_ellipsize"
/usr/include/gtk-2.0/gtk/gtklabel.h:134: warning: type defaults to `int' in declaration of `gtk_label_get_ellipsize'
/usr/include/gtk-2.0/gtk/gtklabel.h:134: warning: data definition has no type or storage class
In file included from /usr/include/gtk-2.0/gtk/gtk.h:132,
from glade-private.h:26,
from glade-init.c:34:
/usr/include/gtk-2.0/gtk/gtkprogressbar.h:144: error: syntax error before "PangoEllipsizeMode"
/usr/include/gtk-2.0/gtk/gtkprogressbar.h:145: error: syntax error before "gtk_progress_bar_get_ellipsize"
/usr/include/gtk-2.0/gtk/gtkprogressbar.h:145: warning: type defaults to `int' in declaration of `gtk_progress_bar_get_ellipsize'
/usr/include/gtk-2.0/gtk/gtkprogressbar.h:145: warning: data definition has no type or storage class
make[2]: *** [glade-init.lo] Error 1
make[2]: Leaving directory `/home/babylinux/Mydocument/libglade-2.0.1/glade'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bablinux/Mydocument/libglade-2.0.1'
make: *** [all] Error 2

thanks
 
Old 06-19-2005, 06:56 PM   #7
BabyLinux
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
then i tryin with apt-get

root@babylinux:~ # apt-get -f install libglade2-dev
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.2.ds1-20ubuntu13) but 2.3.2.ds1-22 is to be installed
libc6-i686: PreDepends: libc6 (= 2.3.2.ds1-20ubuntu13) but 2.3.2.ds1-22 is to be installed
libfontconfig1-dev: Depends: libfontconfig1 (= 2.2.3-4ubuntu7) but 2.3.2-1 is to be installed
libxft-dev: Depends: libxft2 (= 2.1.2-6ubuntu1) but 2.1.7-1 is to be installed
locales: Depends: glibc-2.3.2.ds1-20ubuntu13
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@babylinux:~ #

hehehehhe... its so hurt being newbie

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Freetype... Linux~Powered Slackware 3 03-02-2005 11:06 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM
what is the function library of the basic graphics library in rethat9.0? zerwolve Red Hat 0 04-29-2004 09:18 PM
Freetype-devel for freetype-2.1.4-1 (redhat 9) Goog Linux - Distributions 0 05-05-2003 06:55 PM
freetype no1d Linux - Software 0 02-28-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration