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 03-13-2005, 05:36 AM   #1
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Rep: Reputation: 15
Unhappy I've got the making pango blues.


I'm trying to install gtk+2.6 and, of course, I need pango. I've installed all the dependencies and got a little mixed up with a pkgconfig problem where it was looking for glib-2.0.pc in the wrong directory, but I figured that out after a while. ./configure runs fine, but when I go to make pango it gives me this at the end:

Code:
Making all in examples
make[2]: Entering directory `/home/ekim/downloads/gtk/pango-1.8.1/examples'
/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall   -o pango-xftview  xftview.o renderdemo.o
argcontext.o ../pango/libpango-1.0.la ../pango/libpangoft2-1.0.la ../pango/libpangoxft-1.0.la 
-L/usr/X11R6/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig   -L/usr/X11R6/lib -lX11
gcc -g -O2 -Wall -o .libs/pango-xftview xftview.o renderdemo.o argcontext.o
  ../pango/.libs/libpango-1.0.so -L/usr/local/lib ../pango/.libs/libpangoft2-1.0.so
 -L/usr/X11R6/lib ../pango/.libs/libpangoxft-1.0.so /home/ekim/downloads/gtk/pango-1.8.1/pango/.libs/libpangoft2-1.0.so /home/ekim/downloads/gtk/pango-1.8.1/pango/.libs/libpango-1.0.so -lm /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lXft /usr/X11R6/lib/libfreetype.so -lXrender /usr/X11R6/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lX11
/usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_PS_Font_Info'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetShort'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FT_Stream_ExitFrame'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetLong'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FT_Stream_Seek'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FT_Get_Next_Char'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FT_Stream_EnterFrame'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `FT_Get_BDF_Property'
../pango/.libs/libpangoft2-1.0.so: undefined reference to `FT_Get_First_Char'
collect2: ld returned 1 exit status
make[2]: *** [pango-xftview] Error 1
make[2]: Leaving directory `/home/ekim/downloads/gtk/pango-1.8.1/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ekim/downloads/gtk/pango-1.8.1'
make: *** [all] Error 2
I can see I need to define some stuff, but I don't know how to go about doing that at all. Can anybody point me in the right direction?

TIA
-Mike

Edit: After reading some other posts about undefined references, I think I'm missing a font library. Does anybody know which would give me those errors?

Last edited by Darkenedes; 03-13-2005 at 06:27 AM.
 
Old 03-13-2005, 06:23 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what version of freetype do you have installed?
 
Old 03-13-2005, 06:30 AM   #3
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
I'm guessing freetype-2.1.7 That's what it shows in my docs folder.

And thanks, J. One of your replies in another topic helped solve the problem I was having getting atk installed.

Last edited by Darkenedes; 03-13-2005 at 06:32 AM.
 
Old 03-13-2005, 06:36 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
no problem.

do you have a freetype entry in /var/log/packages?

you shouldn't have to define anything to build pango

I just upgraded to gnome 2.10 ( had to redo pango too) on my slack 10 and didn't have any problems.
The problem lies somewhere with freetype here thats where the FT_xxxxxx will come from ( and its building the ft2 backend)
 
Old 03-13-2005, 06:40 AM   #5
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
No, there's no freetype entry there. If it will help, I'll get the latest from sourceforge and see if that works. It won't mess anything up if I have 2.1.7 and 2.1.9 at the same time will it? I wouldn't even know how to get rid of the older version because it's not on my packages list, and I didn't install it myself.
 
Old 03-13-2005, 06:46 AM   #6
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
the 2.1.7 is the one probably from Xorg. I always install the standalone freetype 2 for enlightenment, never had any problems. see if the freetype libs come up in ldconfig:

ldconfig | grep freetype

if you get no output you probably don't have any freetype libs on your system, or at least they are not in the lib path. You should be fine, just make a slack package of the freetype build and install it just in case you need to remove it later.
 
Old 03-13-2005, 07:02 AM   #7
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
Hmm, I got a hell of lot of these when I ran make, but I'm not sure if they're supposed to be there or not.
Code:
In file included from /home/ekim/downloads/gtk/freetype-2.1.9/src/type1/type1.c:23:
/home/ekim/downloads/gtk/freetype-2.1.9/src/type1/t1load.c: In function `t1_allocate_blend':
/home/ekim/downloads/gtk/freetype-2.1.9/src/type1/t1load.c:107: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
There were no results with ldconfig. This should work as long as those messages are just normal warnings, or due to the fact that my video card is ancient. If it's ok to install I'll give it a go.

Last edited by Darkenedes; 03-13-2005 at 07:09 AM.
 
Old 03-13-2005, 07:10 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
it's normal with freetype ( it was normal with the freetype 1.x libs as well). generally, you can ignore warnings without having to worry about it ( unless you get something thats just bad code).
 
Old 03-13-2005, 08:13 AM   #9
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Get freetype 2.19 and fontconfig 2.2.99 then the latest pango.
 
Old 03-13-2005, 08:18 AM   #10
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
Well, I installed freetype, and got caught up in some other things that need done around here. I'll finish this later and post the results. Thanks for all your help, I appreciate it.

-Mike
 
Old 05-20-2005, 10:08 PM   #11
kernelhacker
LQ Newbie
 
Registered: May 2005
Location: Oregon
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Also, check and make sure you have xft x - free type > 2.0.
It's a problem if you don't.
 
  


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
error in the creation of `etc/pango/pango.modules` okeyla Linux - Newbie 3 07-02-2011 08:06 PM
simple lan making me feel the blues jinan Linux - Newbie 3 02-10-2005 11:58 AM
making error whit Pango-1.6.0 jimsons Linux - Software 1 11-04-2004 08:23 AM
Pango wants >=glib-2.4.0, I installed glib 2.4.7 and pango still says I need >=2.4.0 Locura Red Hat 5 11-01-2004 05:53 PM
Please Help! Pango install error while making Spud_Hed Linux - Software 1 05-17-2004 01:11 PM

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

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