Ahh. I think I found the reason why.
This comes from
# This is used for the library which doesn't support version info.
def make_version_header(app_name, pkgname, dir = "src")
version = PKGConfig.modversion(pkgname).split(/\./)
version = "2.0b7".split(/\./)
(0..2).each do |v|
What's that 2.0b7 doing there?
It looks like this was introduced between mkmkf-gnome2.rb -r3967 -r4007
From: Grant Schoep [mailto:gschoep@...]
Sent: Tue 3/15/2011 6:06 PM
Subject: [ruby-gnome2-devel-en] invalid version of pango for 0.90.6 andlater on new build
Greetings. I'm not sure if this is a bug, or something in my environment. I tried to start as clean as possible.
Before I describe my troubleshooting, it seems like "ruby extconf.rb" for pango is creating a BAD rbpangoversion.h file
I tried a few versions, and it seemed to break between 0.90.5 and 0.90.6
The generated rbpangoversion.h file contains the following under 0.90.6
#define PANGO_MAJOR_VERSION (2)
#define PANGO_MINOR_VERSION (0)
#define PANGO_MICRO_VERSION (0)
#define PANGO_TAG_VERSION (b7)
Under 0.90.5 it creates
#define PANGO_MAJOR_VERSION (1)
#define PANGO_MINOR_VERSION (28)
#define PANGO_MICRO_VERSION (1)
On this test machine. I indeed have
I've seen it do this on other machines too.
Where the heck is it getting PANGO_MAJOR_VERSION == 2 from?
This is from a fairly clean install using the latest ruby-1.9.2-p180.tar.gz and pkg-config-1.0.8.gem for my ruby distro
This electronic communication and any attachments may contain confidential and proprietary
information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee
responsible for delivering this communication to the intended recipient, or if you have received
this communication in error, please do not print, copy, retransmit, disseminate or
otherwise use the information. Please indicate to the sender that you have received this
communication in error, and delete the copy you received. DigitalGlobe reserves the
right to monitor any electronic communication sent or received by its employees, agents