LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-28-2006, 01:35 AM   #1
funtimaster
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Rep: Reputation: 0
PANGO install problems(FT_GLYPSHLOT_EMBOLDEN)


HI everybody
im posting after i searched for the problem and the solutions didnt help me
im new to linux and using slackware 10.1 KDE is my window manager
im trying to install pango with cairo support and im having problems

if i uninstall cairo and install pango without cairo support then it installs fine.
but if do the install after i install cairo it gives an error
the error is caused because of the examples in pango (atleast thats what i think)
it says there is a undefined reference to FT_GLYPSLOT_EMBOLDEN in libcairo.so but the cairo install shows that it recognised the function and now i dont know what to do
here are the outputs of cairo configure and pango make respectively
by the way i have freetype-2.1.10 installed
hope you could help me
sorry for the inconvinence

CAIRO 1.0.4 ./CONFIGURE OUTPUT
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for vasnprintf... no
checking for cos in -lm... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for XRENDER... checking X11/extensions/Xrender.h usability... yes
checking X11/extensions/Xrender.h presence... yes
checking for X11/extensions/Xrender.h... yes
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XrmFinalize... no
checking for some Win32 platform... no
checking for FONTCONFIG... yes
checking for FcFini... yes
checking for FREETYPE... yes
checking for FT_Bitmap_Size.y_ppem... yes
checking for FT_Load_Sfnt_Table... yes
checking for FT_GlyphSlot_Embolden... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for compress in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking for uint64_t... yes
checking for uint128_t... no
checking For MMX/SSE intrinsics in the compiler... no
configure: creating ./config.status
config.status: creating cairo.pc
config.status: creating Makefile
config.status: creating pixman/Makefile
config.status: creating pixman/src/Makefile
config.status: creating src/Makefile
config.status: creating src/cairo-features.h
config.status: creating test/Makefile
config.status: creating doc/Makefile
config.status: creating doc/public/Makefile
config.status: creating doc/public/version.xml
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

cairo will be compiled with the following surface backends:
Xlib: yes
Quartz: no
XCB: no
Win32: no
PostScript: no
PDF: no
glitz: no

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

and the following features:
PNG functions: no




the following is the pango make file output
( i tried pango-1.12 and 1.13 with same result)


make all-recursive
make[1]: Entering directory `/root/programs/GTK/pango-1.13.0'
Making all in pango
make[2]: Entering directory `/root/programs/GTK/pango-1.13.0/pango'
make all-recursive
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/pango'
Making all in opentype
make[4]: Entering directory `/root/programs/GTK/pango-1.13.0/pango/opentype'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/programs/GTK/pango-1.13.0/pango/opentype'
Making all in mini-fribidi
make[4]: Entering directory `/root/programs/GTK/pango-1.13.0/pango/mini-fribidi'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/programs/GTK/pango-1.13.0/pango/mini-fribidi'
make[4]: Entering directory `/root/programs/GTK/pango-1.13.0/pango'
make[4]: Leaving directory `/root/programs/GTK/pango-1.13.0/pango'
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/pango'
make[2]: Leaving directory `/root/programs/GTK/pango-1.13.0/pango'
Making all in modules
make[2]: Entering directory `/root/programs/GTK/pango-1.13.0/modules'
Making all in arabic
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/arabic'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/arabic'
Making all in basic
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/basic'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/basic'
Making all in hangul
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/hangul'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/hangul'
Making all in hebrew
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/hebrew'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/hebrew'
Making all in indic
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/indic'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/indic'
Making all in khmer
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/khmer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/khmer'
Making all in syriac
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/syriac'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/syriac'
Making all in thai
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/thai'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/thai'
Making all in tibetan
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules/tibetan'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules/tibetan'
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/modules'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules'
make[2]: Leaving directory `/root/programs/GTK/pango-1.13.0/modules'
Making all in examples
make[2]: Entering directory `/root/programs/GTK/pango-1.13.0/examples'
make all-am
make[3]: Entering directory `/root/programs/GTK/pango-1.13.0/examples'
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o pango-view renderdemo.o viewer-x.o viewer-main.o pango-view.o viewer-pangox.o viewer-pangoft2.o viewer-cairo.o viewer-pangocairo.o ../pango/libpango-1.0.la -L/usr/local/lib -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 ../pango/libpangox-1.0.la ../pango/libpangoft2-1.0.la -L/usr/local/lib -lfontconfig -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz ../pango/libpangocairo-1.0.la -L/usr/local/lib -lcairo -L/usr/X11R6/lib -lX11
gcc -g -O2 -Wall -o .libs/pango-view renderdemo.o viewer-x.o viewer-main.o pango-view.o viewer-pangox.o viewer-pangoft2.o viewer-cairo.o viewer-pangocairo.o -Wl,--rpath -Wl,/usr/local/lib ../pango/.libs/libpango-1.0.so -L/usr/local/lib ../pango/.libs/libpangox-1.0.so -L/usr/X11R6/lib ../pango/.libs/libpangoft2-1.0.so ../pango/.libs/libpangocairo-1.0.so /root/programs/GTK/pango-1.13.0/pango/.libs/libpangoft2-1.0.so /root/programs/GTK/pango-1.13.0/pango/.libs/libpango-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so /usr/local/lib/libfontconfig.so /usr/local/lib/libcairo.so -lXrender -lXext /usr/X11R6/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/local/lib/libfreetype.so -lz -lm -lX11
make[3]: Leaving directory `/root/programs/GTK/pango-1.13.0/examples'
make[2]: Leaving directory `/root/programs/GTK/pango-1.13.0/examples'
make[1]: Leaving directory `/root/programs/GTK/pango-1.13.0'
/usr/local/lib/libcairo.so: undefined reference to 'FT_Glyphslot_Embolden'
collect2: ld returned 1 exit status
make[3]: ***[pango-view] Error 1
make[2]: ***[all] Error 2
make[1]: ***[all-recursive] Error 1
make: *** [all] Error 2
 
Old 04-29-2006, 10:36 AM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I know this isn't a good answer, but why don't you just use the Slackware packages? They installed fine on my computer.

regards,
...drkstr
 
Old 04-29-2006, 10:58 AM   #3
funtimaster
LQ Newbie
 
Registered: Apr 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by drkstr
I know this isn't a good answer, but why don't you just use the Slackware packages? They installed fine on my computer.

regards,
...drkstr

i switched to linux to learn something abt how things work
so i thought better learn completely than just know how to get away with the problem (that way ill be makig another WINDOZE out of linux)
 
Old 04-29-2006, 12:04 PM   #4
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I know, I'm the same way, that's why I didn't like my answer. I didn't know if your goal was to get it to work or to learn something in the process. I should have known better, you being a Slackware user and all.

Question: when you installed freetype-2.1.10, did you use the package or compile it form source? Sometimes when compiling from source, the libraries are being put in a diffrent directory then what other apps are configured to look for them. it appears it is looking for freetype in /usr/lib/, check to see if you installed the new version of freetype in /usr/local/lib/ instead. If so, copy or symlink to the right directory.

Hope this was a little more help,
...drkstr
 
Old 05-22-2006, 09:05 AM   #5
Ph0N37Ic5
LQ Newbie
 
Registered: May 2006
Location: Sydney
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
I seem to have the exact same problem but with different versions of everything (Slackware 10.2)
I have compiled and installed freetype 2.2.1 with an edit to ./src/base/rules.mk (I added ftsynth.c to BASE_SRC)
Then I recompiled cairo 1.0.2 and installed that without problems (I haven't found cairo 1.0.4-2 as .tar.gz yet)
I have a problem compiling pango 1.10.2 (I get the same message as above), I was however successful in compiling and installing pango by removing the examples directory, but it gave some errors when I did (I only removed the directory 8/ )
But I ended up getting the same error when trying to compile gtk+ 2.8.17 (but that was after I upgraded my X11 to R6.9)

This is the last command from gtk+ compilation with the error:
gcc -g -O2 -Wall -o .libs/gtk-demo appwindow.o button_box.o changedisplay.o clipboard.o colorsel.o combobox.o dialog.o drawingarea.o editable_cells.o entry_completion.o expander.o hypertext.o iconview.o iconview_edit.o images.o list_store.o menus.o panes.o pickers.o pixbufs.o rotated_text.o sizegroup.o stock_browser.o textview.o tree_store.o ui_manager.o main.o ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/usr/local/lib ../../gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib ../../gtk/.libs/libgtk-x11-2.0.so /install/gtk+-2.8.17/gdk/.libs/libgdk-x11-2.0.so -lXrandr -lXinerama /install/gtk+-2.8.17/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so /usr/local/lib/libcairo.so -lXrender -lXext -lX11 -lpng12 /usr/X11R6/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/local/lib/libfreetype.so -lz -lm
/usr/local/lib/libcairo.so: undefined reference to `FT_GlyphSlot_Embolden'
collect2: ld returned 1 exit status
make[5]: *** [gtk-demo] Error 1
make[5]: Leaving directory `/install/gtk+-2.8.17/demos/gtk-demo'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/install/gtk+-2.8.17/demos/gtk-demo'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/install/gtk+-2.8.17/demos'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/install/gtk+-2.8.17/demos'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/gtk+-2.8.17'
make: *** [all] Error 2

I could probably find some way to bypass the demos directory altogether, only to have the error bite me again in some later compilation.

(I have totally upgraded most parts of my system now, and all I really tried to do was getting mysql-administrator to work, but that seems to be the way of Linux 8/ )
 
Old 05-22-2006, 01:54 PM   #6
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
As mentioned in my previous post, I ran into problems compiling programs that required freetype because I ended up installing in two different places. You are getting an undefined error because it is not finding the current freetype library you installed which defines 'FT_GlyphSlot_Embolden'. Try doing a "find in file" from the root drive and see where it get's defined. If something comes up, make sure you specify the make to use this version of the compiled freetype library, './configure --help' should give you some additional options. The alternative would be to delete the older version and replace it with a link to the new one. The later method would probably prevent other problems in the future as well. Running 'ldconfig' to update your library links might also help. Let me know if you are still having problems and we can try some other things as well.

regards,
...drkstr

**edit**
notice how the error reports using '/usr/lib/libfreetype.so' If you compiled from source, you might have installed it to '/usr/local/lib/libfreetype.so' or something of the likes. Just search around until you find the library that matches the date you installed.
**edit**

Last edited by drkstr; 05-22-2006 at 02:01 PM.
 
Old 05-23-2006, 08:08 AM   #7
Ph0N37Ic5
LQ Newbie
 
Registered: May 2006
Location: Sydney
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Hmm, I guess it helps to read the whole post 8/ silly me. Oh well, all I can do is learn from it. It's nice to have someone knowing where and how to look for such things. I got to learn that some day. Thank you.
 
Old 05-23-2006, 10:21 AM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
it's okay mate, took me awhile to learn this myself. Let me know if you need further assistance.

good luck!
...drkstr
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
error in the creation of `etc/pango/pango.modules` okeyla Linux - Newbie 3 07-02-2011 08:06 PM
GTK install: Pango Problems Daddywags Linux - Software 9 04-27-2005 08:57 AM
Can't install pango-1.6.0 ns_sanish Linux - Software 3 10-20-2004 07:29 AM
Having problems install pango 1.2.0...please help :( RoaCh Of DisCor Linux - Software 4 10-13-2004 01:19 PM
Trying to install pango... psyklops Linux - General 8 08-26-2003 06:17 AM

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

All times are GMT -5. The time now is 04:45 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