# (xulrunner|firefox)-gtkmozembed

**URL:** <https://www.ruby-forum.com/t/xulrunner-firefox-gtkmozembed/72220>\
**Category:** Ruby-Gnome 2\
**Created:** [October 15, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/xulrunner-firefox-gtkmozembed/72220 "2006-10-15T18:44:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@andy](https://www.ruby-forum.com/u/andy)\
**Post date:** [October 15, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/xulrunner-firefox-gtkmozembed/72220/1 "2006-10-15T18:44:46Z")

</div>

Hey,

I’ve tried modifying gtkmozembed/extconf.rb to build with  
PACKAGE\_ID=“xulrunner-gtkmozembed” and “firefox-gtkmozembed”, but  
neither work. I have both firefox and xulrunner installed, but running  
extconf.rb throws out the same type of error message for each:

Package xulrunner-gtkmozembed was not found in the pkg-config search  
path.  
Perhaps you should add the directory containing  
`xulrunner-gtkmozembed.pc' to the PKG_CONFIG_PATH environment variable No package 'xulrunner-gtkmozembed' found extconf.rb:27: private method `sub!’ called for nil:NilClass  
(NoMethodError)

Indeed, pkg-config confirms this… but I don’t understand why. I  
installed firefox using Fedora’s yum package manager, and xulrunner as  
described here:  
[http://developer.mozilla.org/en/docs/XULRunner\_1.8.0.4\_Release\_Notes](http://developer.mozilla.org/en/docs/XULRunner_1.8.0.4_Release_Notes)

How can I get these packages registered properly so that ruby-gnome2  
will build properly?

Cheers,  
Andy.

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![andy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@andy](https://www.ruby-forum.com/u/andy)\
**Post date:** [October 16, 2006, 11:09pm UTC](https://www.ruby-forum.com/t/xulrunner-firefox-gtkmozembed/72220/2 "2006-10-16T23:09:28Z")

</div>

Hello Andy,

Andy wrote:

> Package xulrunner-gtkmozembed was not found in the pkg-config search path.  
> Perhaps you should add the directory containing `xulrunner-gtkmozembed.pc’  
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
> to the PKG\_CONFIG\_PATH environment variable  
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I think this can be the key to solve your problem.

–  
Mirko M.

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![andy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@andy](https://www.ruby-forum.com/u/andy)\
**Post date:** [October 17, 2006, 5:00pm UTC](https://www.ruby-forum.com/t/xulrunner-firefox-gtkmozembed/72220/3 "2006-10-17T17:00:46Z")

</div>

Mirko,

The strange thing is that I don’t have xulrunner-gtkmozembed.pc or  
firefox-gtkmozembed.pc anywhere on my system…

Andy.

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)

---

<div class="post-metadata">

**Author:** ![andy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/aeb1de/32.png) [@andy](https://www.ruby-forum.com/u/andy)\
**Post date:** [October 18, 2006, 6:25pm UTC](https://www.ruby-forum.com/t/xulrunner-firefox-gtkmozembed/72220/4 "2006-10-18T18:25:41Z")

</div>

Andy wrote:

> Mirko,
> 
> The strange thing is that I don’t have xulrunner-gtkmozembed.pc or  
> firefox-gtkmozembed.pc anywhere on my system…

This means you’ve installed the binary library but non the development  
files  
needed for compiling.

Search some package named mozilla-devel, firefox-devel, install it and  
watch  
what files are shipped. This is very distribution dependent and I don’t  
know  
if Fedora has a firefox-devel package and how it’s named.

Good luck.

–  
Mirko M.  
Ubuntu: an African word meaning “I can’t figure out how to configure  
Debian”

* * *

Using Tomcat but need to do more? Need to support web services,  
security?  
Get stuff done quickly with pre-integrated technology to make your job  
easier  
Download IBM WebSphere Application Server v.1.0.1 based on Apache  
Geronimo  
[http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642](http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642)
