Re: [Gtk-osx-users] Build issues: codegen for igemacintegration



Op Wo, 2010-05-05 om 17:24 -0700 skryf John Ralls:
> On May 5, 2010, at 9:31 AM, F Wolff wrote:
> 
> > Op Wo, 2010-05-05 om 07:07 -0700 skryf John Ralls:
> >> On May 5, 2010, at 7:01 AM, F Wolff wrote:
> >> 
> >>> I get this error while trying to build ige-mac-integration-python:
> >>> 
> >>> *** Building ige-mac-integration-python *** [16/17]
> >>> make  
> >>> make  all-recursive
> >>> Making all in src
> >>> make[2]: Nothing to be done for `all'.
> >>> Making all in data
> >>> make[2]: Nothing to be done for `all'.
> >>> Making all in bindings
> >>> Making all in python
> >>> /usr/bin/python ~/gtk/inst/share/pygtk/2.0/codegen/h2def.py ../../src/ige-mac-menu.h ../../src/ige-mac-dock.h ../../src/ige-mac-bundle.h > igemacintegration.defs
> >>> /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file '~/gtk/inst/share/pygtk/2.0/codegen/h2def.py': [Errno 2] No such file or directory
> >>> make[3]: *** [igemacintegration.defs] Error 2
> >>> make[2]: *** [all-recursive] Error 1
> >>> make[1]: *** [all-recursive] Error 1
> >>> make: *** [all] Error 2
> >>> *** Error during phase build of ige-mac-integration-python: ########## Error running make   *** [16/17]
> >>> 
> >>> [1] Rerun phase build
> >>> [2] Ignore error and continue to install
> >>> [3] Give up on module
> >>> [4] Start shell
> >>> [5] Reload configuration
> >>> [6] Go to phase force_checkout
> >>> [7] Go to phase configure
> >>> [8] Go to phase clean
> >>> [9] Go to phase distclean
> >>> choice: 
> >>> 
> >>> 
> >>> Choosing [1] gave the impression of working, but the module doesn't
> >>> actually work.  igemacintegration._igemacintegration doesn't actually
> >>> contain anything.
> >>> 
> >>> Any ideas?
> >>> 
> >> 
> >> Yes, that one's easy. h2def.py got moved from pygtk to pygobject, so the path is now $PREFIX/share/pygobject/2.0/codegen/h2def.py
> >> Just edit the Makefile in ~/gtk/source/ige-mac-integration-0.8.6/bindings/python and try again.
> > 
> > Mmm, this doesn't seem to solve it.  The .defs file is still empty, and
> > the generated C file seems to only have minimal stuff in it.
> > igemacintegration._igemacintegration is still missing all the good
> > stuff.
> > 
> > I'm not sure if I have a bad order of clean and rebuild maybe, but from
> > the console output it seems to be regenerating things, but the results
> > doesn't seem right.
> > 
> 
> Yes, it sounds like something isn't right. The defs file should be 248
> lines, not empty. How did you tell it to rebuild?
> (Try jhbuild buildone --force ige-mac-integration-python). You are
> using the stable moduleset, right?

I actually did
	jhbuild clean ige-mac-integration-python
and confirmed that the (empty) file was gone. Then I did 
	jhbuild buildone --force ige-mac-integration-python
as you suggest. (I commented out  build_policy = "updated-deps"  in my
configuration during the clean call to ensure that it actually cleans
it.)

Which part of the build is supposed to overwrite the Makefile? I seem to
have to redo the change every now and then. 

Friedel


--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/how-should-we-do-high-contrast-application-icons





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]