After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 314042 - pango_font_get_font_map
pango_font_get_font_map
Status: RESOLVED NOTGNOME
Product: GARNOME
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GARNOME Maintainers
garnome list
Depends on:
Blocks:
 
 
Reported: 2005-08-20 16:29 UTC by Eduard Carreras i Nadal
Modified: 2005-09-17 11:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to solve the issue (786 bytes, patch)
2005-08-24 21:46 UTC, Eduard Carreras i Nadal
none Details | Review

Description Eduard Carreras i Nadal 2005-08-20 16:29:22 UTC
Distribution/Version: Debian testing

while compiling gaim-1.5.0 occurs the next error:
/bin/sh ../libtool --silent --tag=CC --mode=link cc  -g
-I/developer/garnome/include -L/developer/garnome/lib -O2 -pipe -Wall -g3 
-Wl,--export-dynamic -L/developer/garnome/lib -o gaim -export-dynamic account.o
accountopt.o blist.o buddyicon.o cmds.o connection.o conversation.o core.o
debug.o eventloop.o ft.o imgstore.o log.o md5.o network.o notify.o plugin.o
pluginpref.o pounce.o prefix.o prefs.o privacy.o proxy.o prpl.o request.o
roomlist.o server.o sha.o signals.o status.o stringref.o sound.o sslconn.o
util.o value.o xmlnode.o away.o dnd-hints.o gaim-disclosure.o gtkaccount.o
gtkcellrendererprogress.o gtkblist.o gtkconn.o gtkconv.o gtkdebug.o gtkdialogs.o
gtkeventloop.o gtkft.o gtkimhtml.o gtkimhtmltoolbar.o gtklog.o gtknotify.o
gtkplugin.o gtkpluginpref.o gtkprefs.o gtkprivacy.o gtkpounce.o gtkrequest.o
gtkroomlist.o gtksound.o gtksourceiter.o gtkutils.o idle.o main.o session.o
stock.o themes.o -Wl,--rpath -Wl,/developer/garnome/lib -L/developer/garnome/lib
-L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangocairo-1.0 -lpangox-1.0 -lpangoft2-1.0 -lfreetype -lz
-lcairo -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfontconfig
-lpixman -lXrender -lX11     -L/usr/X11R6/lib  -lSM -lICE -lX11 -lXext 
-L/usr/X11R6/lib  -lXss -L/usr/X11R6/lib -lSM -lICE  -Wl,--rpath
-Wl,/developer/garnome/lib -L/developer/garnome/lib -L/usr/X11R6/lib -lgtkspell
-laspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangocairo-1.0 -lpangox-1.0 -lpangoft2-1.0 -lfreetype -lz
-lcairo -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfontconfig
-lpixman -lXrender -lX11   -L/developer/garnome/lib -lstartup-notification-1   -lnsl
/developer/garnome/lib/libpangocairo-1.0.so: undefined reference to
`pango_font_get_font_map'
Comment 1 Stef van der Made 2005-08-20 16:32:57 UTC
Which version of garnome are you using to compile ? and which version of Pango,
GTK+ and Glib is included ?
Comment 2 Eduard Carreras i Nadal 2005-08-20 16:38:38 UTC
garnome: 2.11.91
pango: 1.9.1
cairo: 0.9.0
gtk+: 2.7.5
glib: 2.7.7
Comment 3 Stef van der Made 2005-08-20 19:50:22 UTC
You might want to update glib and gtk+ to version 2.8.0 this resolved the
funiness with control-center on this issue. gaim possibily has the same issue.

Secondly check if cairo is compiled with png support. This is mentioned at the
end of the configure process. If png is not compiled into cairo check if you
have libpgn.pc and libpng12.pc in the searchpath of garnome
Comment 4 Eduard Carreras i Nadal 2005-08-22 10:04:01 UTC
I've build garnome-2.11-20050819.1645 which includes glib and gtk+ 2.8.0 and the
cairo's configure script result is :

cairo will be compiled with the following surface backends:
  Xlib: yes
  Quartz: no
  XCB: no (requires XCB http://xcb.freedesktop.org)
  Win32: no
  PostScript: yes
  PDF: yes
  glitz: yes

the following font backends:
  FreeType: yes
  Win32: no
  ATSUI: no

and the following features:
  PNG functions: yes

I still have the error compiling gaim:
/developer/garnome/lib/libpangocairo-1.0.so: undefined reference to
`pango_font_get_font_map'
Comment 5 Stef van der Made 2005-08-22 10:15:50 UTC
Can you please run  nm /developer/garnome/lib/libpangocairo-1.0.so >> nm.so and
check if pango_font_get_font_map is in the nm.so file. If not try recompiling
cairo and check again
Comment 6 Eduard Carreras i Nadal 2005-08-22 10:29:59 UTC
devel@debenq:~$ nm /developer/garnome/lib/libpangocairo-1.0.so | grep
pango_font_get_font_map
         U pango_font_get_font_map

yes, is in :S
Comment 7 Eduard Carreras i Nadal 2005-08-24 21:46:13 UTC
Created attachment 51292 [details] [review]
patch to solve the issue
Comment 8 Bob Kashani 2005-09-16 23:54:45 UTC
Eduard, can you file a bug upstream with pango?
Comment 9 Bob Kashani 2005-09-17 01:59:56 UTC
Reassigning to pango.
Comment 10 Bob Kashani 2005-09-17 02:40:01 UTC
Arrgh...reassigning to GARNOME.

Does this still happen with garnome-2.12.0?
Comment 11 Owen Taylor 2005-09-17 11:18:34 UTC
This is a libtool problem with it linking against old verions of Pango
from your installed copy.