On Mon, Apr 9, 2012 at 12:26 AM, Steve Spicklemire <[email protected]> wrote:
> Ok.. so the best explanation *may* be that I'm an idiot... but I don't 
> usually have this much trouble!
>
> Before I get into the details, I noticed that Luke mentioned needing to test 
> pythonwebkit separately from pywebkitgtk. Is it possible to get pyjd 
> functionality without the gtk bit?
>
> Now.. you'll recall no doubt I followed the instructions here:
>
> http://pyjs.org/wiki/pyjamasubuntuwebkitgtk/
>
> But I hit a snag with the 'get_window_type' method not being found in my 
> 'gtk.Window' object class.
>
> Soo... Luke kindly pointed out that I needed several packages, one of which 
> was python-gobject-2.
>
> I was running debian squeeze/stable and was not able to get python-gobject-2. 
> I noticed that it's apparently only available for wheezy/testing
>
> http://packages.debian.org/search?keywords=python-gobject-2
>
> So.... I wiped out my debian squeeze/stable and tried wheezy/testing
>
> I tried again to follow the instructions but hit 'jpeg library not found' 
> during the configure step in the pythonwebkit build (in spite of having both 
> libjpeg62 *and* libjpeg8 installed).
>
> Then I tried again with Ubuntu 11.10 with the same result.... 'jpeg library 
> not found'
>
> I even tried tricking the configure script into believing that the jpeg 
> library was really there, but it kept complaining anyway.

 i ran into this.  i'm sure i sorted it out.  try doing a "git pull"
because i'm sure i committed it.

 or wait.... you have to remember that compiling you *must* install
the "-dev" package.  have you got this package installed:

ii  libjpeg62-dev                            6b1-1
       Development files for the IJG JPEG library (version 6.2)

you *can't* just have the binary package installed, you *must* have
the -dev package installed.  the binary package neither includes the
header files nor the .pc file.  errr.. "dpkg -L libjpeg62-dev" shows
that there isn't one.  hmmm, that explains a few things [when using
macports].

 _normallyyyy_ there's a .pc file (see /usr/share/pkgconfig/*.pc) but
some libraries, libjpeg included, don't use that convention.

anyway, yeah: install libjpeg62-dev.

l.

Reply via email to