Tjaster94 / pywebkitgtk

Automatically exported from code.google.com/p/pywebkitgtk
Other
0 stars 0 forks source link

Compiled code is recompiled during 'make install' #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
pyewbkitgtk-1.1.5 on OS X 10.4, patched per Issue #35 to use the automatic
PYTHON_INCLUDES (same result if I patch the python-config pathname, doesn't
even compile at all otherwise) and Issue #31...

PYTHON=/sw/bin/python2.6 ./configure --prefix=/sw --disable-static
PKG_CONFIG_PATH="/sw/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
[nothing unusual, all dependencies found]
make
[nothing unusual, all .c->.o are compiled and libtool appears to link the
webkit.so module)
make install DESTDIR=/sw/build.build/root-pywebkitgtk-py26-1.1.5-1
[codegen reruns to generate webkit/gen-webkit.c. Twice. Why at all?]
[webkit.c is compiled and webkit.so is linked; but I already had webkit.so]

So the bug is that gen-webkit.c is regenereated during 'make install', as
if it has a makefile dependency on some part of the install target
location. Given its timestamp is updated, I assume that's what leads to
recompiling/relinking.

Original issue reported on code.google.com by dma...@gmail.com on 20 Jun 2009 at 1:03

GoogleCodeExporter commented 8 years ago
I've been having this problem as well; here's a patch for 1.1.7.

Original comment by yselkow...@gmail.com on 5 Nov 2009 at 9:19

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch. Committed at 
http://github.com/jmalonzo/pywebkitgtk/commit/111335bd796bd8b9f28df30f1cb9f229ad
55aa06

Cheers.

Original comment by jmalo...@gmail.com on 7 Aug 2010 at 9:25