Jump to content

Newbie compiling issues: Problems with compiling pango


Guest wilburpan
 Share

Recommended Posts

Guest wilburpan

I've been getting my feet wet with compiling my own programs, and was

trying to build a version of phoenix with xft support. First off, I

found that I needed an updated version of GTK+, which I proceeded to

put together. I have got all the source files needed, including the

dependencies, and started the ./configure;make;make install process.

When I try to build pango 1.2.0, the process stalls out when I

./configure. I get the following error message:

 

*** 'pkg-config --modversion glib-2.0' returned 2.2.0, but GLIB (2.0.7)

*** was found! If pkg-config was correct, then it is best

*** to remove the old version of GLib.

 

Here is what I think is the relevant part of the config.log:

 

===============

 

configure:9376: checking for pkg-config

configure:9394: found /usr/local/bin/pkg-config

configure:9407: result: /usr/local/bin/pkg-config

configure:9424: checking for fontconfig >= 1.0.1

configure:9539: checking for xft >= 2.0.0

configure:9667: checking for pkg-config

configure:9698: result: /usr/local/bin/pkg-config

configure:9721: checking for GLIB - version >= 2.1.3

configure:9837: gcc -o conftest -g -O2 -Wall

-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include

conftest.c -Wl,--export-dynamic -L/usr/local/lib -lgobject-2.0

-lgmodule-2.0 -ldl -lglib-2.0 >&5

configure:9840: $? = 0

configure:9842: ./conftest

configure:9845: $? = 1

configure: program exited with status 1

 

==========

 

I know I have glib-2.2.0, because I successfully installed it just

before bulding pango. Besides, pkg-configure finds and identifies it

as 2.2.0.

 

Why does pango think I have an older copy of glib?

 

By the way, I've been using MDK 9.0 for just about a month now, and

I'm pretty excited. No crashes for the past month, and I have been

Windows free for a week! As an added bonus, XMMS sounds better than

any Windows mp3 player I have ever used.

 

Thanks in advance.

Link to comment
Share on other sites

Why do you want to compile it when it has already been compiled for Mandrake 9 and packaged in an RPM ?

 

Here it is:

 

http://rpmseek.com/rpm-pl/pango.html?hl=co...Str=0&qDnStr=12

 

or

 

http://rpmfind.net/linux/rpm2html/search.p...=mandrake&arch=

 

Install with 'rpm -ivh PackageName.rpm'

 

Hope that help

 

MOttS

Link to comment
Share on other sites

Guest wilburpan
Why do you want to compile it when it has already been compiled for Mandrake 9 and packaged in an RPM?

Because if I understand the compilation procedure for phoenix correctly, I need GTK-2.2, which in turn requires ATK-1.2.0, glib-2.2.0, and pango-1.2.0. The latest rpm I can find is for pango 1.1.6.

 

Furthermore, if pango is misidentifying glib, then other programs that require glib to compile will have similar problems. I tried compiling ATK and got exactly the same error as with pango.

Link to comment
Share on other sites

So insatll Phoenix in an RPM format ! (I hate .tar.gz)

 

Check that -> http://www.pclinuxonline.com/modules.php?o...pic=501&forum=7

 

Now install it by following the procedure:

 

As root type in a console (this is on the same line)

urpmi.addmedia Textar ftp://ftp.ibiblio.org/pub/Linux/distributions/contrib/texstar/linux/distributions/mandrake/9.0/rpms with hdlist.cz

 

This will add the Textar source rpm to your database. Then download and insatll Phoenix with its dependencies by typing as root

 

urpmi phoenix

 

Hope that works

 

MOttS

Link to comment
Share on other sites

Guest wilburpan
So install Phoenix in an RPM format [from Texstar]

That was where I got Phoenix in the first place. Unfortunately, there is a bug in that version where the buttons in menus do not give any visual feedback, except with the Phoenity Christmas theme. Since it's past Christmas, I don't want to use that theme.

 

I already searched the PCLinuxOnline forums and Google for this issue, and there is no other solution at this time.

 

This is why I want to try compiling Phoenix on my own. Also, if I can figure this out, I can keep up with nightly builds.

 

I already have texstar's repository set up in synaptic.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...