Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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)
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.
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.
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.
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).
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.