# Invalid version of pango for 0.90.6 and later on new build

**URL:** <https://www.ruby-forum.com/t/invalid-version-of-pango-for-0-90-6-and-later-on-new-build/204574>\
**Category:** Ruby-Gnome 2\
**Created:** [March 16, 2011, 1:30am UTC](https://www.ruby-forum.com/t/invalid-version-of-pango-for-0-90-6-and-later-on-new-build/204574 "2011-03-16T01:30:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [March 16, 2011, 1:30am UTC](https://www.ruby-forum.com/t/invalid-version-of-pango-for-0-90-6-and-later-on-new-build/204574/1 "2011-03-16T01:30:18Z")

</div>

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

pango-1.28.1-4.fc14.i686  
pango-devel-1.28.1-4.fc14.i686

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  
or representatives.

---

<div class="post-metadata">

**Author:** ![grantspeelman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/da6949/32.png) [@grantspeelman](https://www.ruby-forum.com/u/grantspeelman)\
**Post date:** [March 16, 2011, 2:59am UTC](https://www.ruby-forum.com/t/invalid-version-of-pango-for-0-90-6-and-later-on-new-build/204574/2 "2011-03-16T02:59:42Z")

</div>

Ahh. I think I found the reason why.

This comes from  
ruby-gnome2-all-0.90.8/glib2/lib/mkmf-gnome2.rb  
…

# 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

---

<div class="post-metadata">

**Author:** ![grantspeelman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/da6949/32.png) [@grantspeelman](https://www.ruby-forum.com/u/grantspeelman)\
**Post date:** [March 16, 2011, 6:19pm UTC](https://www.ruby-forum.com/t/invalid-version-of-pango-for-0-90-6-and-later-on-new-build/204574/3 "2011-03-16T18:19:16Z")

</div>

2011/3/16 Grant S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> 

Hi.

> …
> 
> What’s that 2.0b7 doing there?

I guess it was written for testing purpose.  
I have deleted it from svn repo.

Thanks for your report.

> on new build
> 
> #define PANGO\_MINOR\_VERSION (28)
> 
> information of DigitalGlobe, Inc. If you are not the intended recipient, or  
> employees, agents  
> ruby-gnome2-devel-en mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en](https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en)

–  
Vincent C.

---

<div class="post-metadata">

**Author:** ![grantspeelman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/da6949/32.png) [@grantspeelman](https://www.ruby-forum.com/u/grantspeelman)\
**Post date:** [March 17, 2011, 1:23pm UTC](https://www.ruby-forum.com/t/invalid-version-of-pango-for-0-90-6-and-later-on-new-build/204574/4 "2011-03-17T13:23:21Z")

</div>

Hi,

I’m sorry for my late response because my mail domain’s mail  
server is still down by the earhquake in Japan…

In [AANLkTi=aHOvsMUWUsoTBTw8Qkn4xT3R+gtJ9dpWN8=removed\_email\_address@domain.invalid](mailto:AANLkTi=aHOvsMUWUsoTBTw8Qkn4xT3R+gtJ9dpWN8=removed_email_address@domain.invalid)  
“Re: [ruby-gnome2-devel-en] invalid version of pango for 0.90.6  
andlater on new build” on Wed, 16 Mar 2011 18:18:42 +0100,  
Vincent C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > What’s that 2.0b7 doing there?
> 
> I guess it was written for testing purpose.  
> I have deleted it from svn repo.

Yes. It’s my fault.  
Thanks for fixing it!

> Thanks for your report.

And thanks for reporting too!

–  
kou

---

<div class="post-metadata">

**Author:** ![grantspeelman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/da6949/32.png) [@grantspeelman](https://www.ruby-forum.com/u/grantspeelman)\
**Post date:** [March 18, 2011, 5:16am UTC](https://www.ruby-forum.com/t/invalid-version-of-pango-for-0-90-6-and-later-on-new-build/204574/5 "2011-03-18T05:16:06Z")

</div>

In the next coming months I hope to help out alot more. I just  
“inhertited” a nice chunk of Ruby/GTK code. Something I will be stuck  
with for awhile. I am more used to dealing with kernel’s and hardware  
directly. this GUI stuff… hmm… human interaction? :\>

But I love Ruby. And Gnome is basically the default GUI evironment on  
computers these days. So I might as well get and learn it.

* * *

From: Kouhei S. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: Thu 3/17/2011 6:12 AM  
To: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [ruby-gnome2-devel-en] invalid version of pango for 0.90.6  
andlater on new build

…

> > What’s that 2.0b7 doing there?
> 
> I guess it was written for testing purpose.  
> I have deleted it from svn repo.

Yes. It’s my fault.  
Thanks for fixing it!

> Thanks for your report.

And thanks for reporting too!

…

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  
or representatives.

---

<div class="post-metadata">

**Author:** ![grantspeelman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/da6949/32.png) [@grantspeelman](https://www.ruby-forum.com/u/grantspeelman)\
**Post date:** [March 18, 2011, 5:24am UTC](https://www.ruby-forum.com/t/invalid-version-of-pango-for-0-90-6-and-later-on-new-build/204574/6 "2011-03-18T05:24:52Z")

</div>

Good to hear your there and ok. It was funny, at work(I am in US) I  
overheard two different “cube units” talking about “I hope Matz is ok”  
and also “what about the other guys that do…xyz”

Oh yes, and I was also wondering… is the power for

> **[The source of https://ruby-gnome.github.io/](https://ruby-gnome.github.io/)**
>
> The source of https://ruby-gnome.github.io/

Going to be stable?

Anyways, take care. Keep clear.

I had a dream last night that Sir Elton John was leading a party of  
nuclear surviors through some canyon. That is a good sign right? … hmm

Sorry this has nothign to do with gnome2-devel. I just thought a little  
shinny light would be good.

* * *

From: Kouhei S. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: Thu 3/17/2011 6:12 AM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [ruby-gnome2-devel-en] invalid version of pango for 0.90.6  
andlater on new build

Hi,

I’m sorry for my late response because my mail domain’s mail  
server is still down by the earhquake in Japan…

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  
or representatives.
