Jhbuild Issue in Intrepid Ibex
Update: The error in jhbuild discussed below is a consequence of me trying to merge the jhbuild checkout folder and the gnome components’ checkout folder. It may not apply for those building with default directory structures as prescribed in the jhbuild gnome live wiki.
I recently downloaded the jhbuild sources from the git repository. I was able to compile and install it without many hiccups, thanks to the elaborate distro-specific Jhbuild Issues wiki in gnome.org.
To my shock, ‘jhbuild’ command returned the following error,
Traceback (most recent call last):
File “/home/pk/bin/jhbuild”, line 5, in
import jhbuild.main
ImportError: No module named jhbuild.main
I am not sure if this is consistently reproducible by others. But the solution here is pretty straight forward. Open the ~/bin/jhbuild file. Don’t pay heed to your graphical editors conservative warnings. It is just a python script. Check if the second argument of the sys.path.insert points to the directory which contains the jhbuild sources. Change it suitably and the problem is fixed. In my case the second argument was pointing to “~/svn/gnome2/jhbuild”. I had to modify it to “~/checkout/gnome2″.
Happy building
-
Archives
- September 2009 (1)
- May 2009 (2)
- March 2009 (1)
- February 2009 (1)
- December 2008 (2)
- November 2008 (1)
- October 2008 (1)
- September 2008 (1)
- July 2008 (3)
- June 2008 (5)
- May 2008 (2)
- April 2008 (2)
-
Categories
-
RSS
Entries RSS
Comments RSS
