Skip Menu |

This queue is for tickets about the WWW-WebKit CPAN distribution.

Report information
The Basics
Id: 89083
Status: open
Priority: 0/
Queue: WWW-WebKit

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Unable to install WWW::WebKit on Darwin; have gdk-2.0, need gdk-3.0
I have been trying to install WWW::WebKit on Darwin/x86_64. For conformity with my fellow developers, I use 'brew' to install packages outside of CPAN and 'cpanm' to install CPAN packages. I have been unable to complete installation of WWW::WebKit, receiving the following error message: ########## cpanm (App::cpanminus) 1.5021 on perl 5.016003 built for darwin-2level Work directory is /Users/jkeenan/.cpanm/work/1380575580.61678 You have make /usr/bin/make You have LWP 6.04 You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3 You have /usr/bin/unzip Searching install on cpanmetadb ... install is up to date. (0.01) Searching WWW::WebKit on cpanmetadb ... --> Working on WWW::WebKit Fetching http://www.cpan.org/authors/id/N/NI/NINE/WWW-WebKit-0.05.tar.gz -> OK Unpacking WWW-WebKit-0.05.tar.gz Entering WWW-WebKit-0.05 Checking configure dependencies from META.yml Checking if you have Glib::MakeHelper 0 ... Yes (1.302) Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62) Checking if you have ExtUtils::Depends 0 ... Yes (0.304) Checking if you have ExtUtils::PkgConfig 0 ... Yes (1.15) Configuring WWW-WebKit-0.05 Running Makefile.PL Package gdk-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gdk-3.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gdk-3.0' found at Makefile.PL line 7. *** can not find package gdk-3.0 *** check that it is properly installed and available in PKG_CONFIG_PATH at Makefile.PL line 7. -> N/A -> FAIL Configure failed for WWW-WebKit-0.05. See /Users/jkeenan/.cpanm/build.log for details. ########## The pkg-config command gives me this output: ########## $ pkg-config --list-all | ack 'g([td])k' | sort -d gdk-2.0 GDK - GTK+ Drawing Kit (x11 target) gdk-pixbuf-2.0 GdkPixbuf - Image loading and scaling gdk-x11-2.0 GDK - GTK+ Drawing Kit (x11 target) gtk+-2.0 GTK+ - GTK+ Graphical UI Library (x11 target) gtk+-unix-print-2.0 GTK+ - GTK+ Unix print support gtk+-x11-2.0 GTK+ - GTK+ Graphical UI Library (x11 target) ########## This suggests that I only have gdk-2.0, but need gdk-3.0. However, when I say 'brew install gdk', I get: "No available formula for gdk". So I am wondering: 1. Is there any way I could use WWW::WebKit with just gdk-2.0? 2. Do you know of any/a best way to install gdk-3.0? Thank you very much. Jim Keenan ########## $ perl -V Summary of my perl5 (revision 5 version 16 subversion 3) configuration: Platform: osname=darwin, osvers=11.4.2, archname=darwin-2level uname='darwin macbook-pro.local 11.4.2 darwin kernel version 11.4.2: thu aug 23 16:25:48 pdt 2012; root:xnu-1699.32.7~1release_x86_64 x86_64 ' config_args='-de -Dprefix=/Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2 -Aeval:scriptdir=/Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/bin' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include', optimize='-O3', cppflags='-fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=, so=dylib, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF Built under darwin Compiled at Mar 13 2013 11:01:16 %ENV: PERL5DIR="/Users/jkeenan/gitwork/perl" PERL5LIB="/Users/jkeenan/adama/extlib/lib/perl5/darwin-2level:/Users/jkeenan/adama/extlib/lib/perl5" PERLBREW_BASHRC_VERSION="0.46" PERLBREW_HOME="/Users/jkeenan/.perlbrew" PERLBREW_MANPATH="/Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/man" PERLBREW_PATH="/Users/jkeenan/perl5/perlbrew/bin:/Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/bin" PERLBREW_PERL="perl-5.16.2" PERLBREW_ROOT="/Users/jkeenan/perl5/perlbrew" PERLBREW_VERSION="0.46" PERL_LOCAL_LIB_ROOT="/Users/jkeenan/adama/extlib" PERL_MB_OPT="--install_base /Users/jkeenan/adama/extlib" PERL_MM_OPT="INSTALL_BASE=/Users/jkeenan/adama/extlib" @INC: /Users/jkeenan/adama/extlib/lib/perl5/darwin-2level /Users/jkeenan/adama/extlib/lib/perl5/darwin-2level /Users/jkeenan/adama/extlib/lib/perl5 /Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.3/darwin-2level /Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.3 /Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.3/darwin-2level /Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.3 /Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/darwin-2level /Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2 /Users/jkeenan/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl . ##########
On Mon Sep 30 17:29:42 2013, JKEENAN wrote: Show quoted text
> I have been trying to install WWW::WebKit on Darwin/x86_64. For > conformity with my fellow developers, I use 'brew' to install packages > outside of CPAN and 'cpanm' to install CPAN packages. I have been > unable to complete installation of WWW::WebKit, receiving the > following error message: > This suggests that I only have gdk-2.0, but need gdk-3.0. However, > when I say 'brew install gdk', I get: "No available formula for gdk". > > So I am wondering: > > 1. Is there any way I could use WWW::WebKit with just gdk-2.0?
I don't think gdk-2 would work. On my system the gdk-3 library is part of the gtk3-devel package, so I assume that they are closely related. Show quoted text
> 2. Do you know of any/a best way to install gdk-3.0?
Sorry, I've never used a Mac. On Linux it's usually quite simple, but I've no idea how it's done on Darwin. But if you do manage, please install the Gtk3 Perl module in version 0.012 and Glib::Object::Introspection in version 0.013 and _not_ newer. Newer versions are stricter and break the Webkit bindings. See https://rt.cpan.org/Ticket/Display.html?id=82376 for details.
On Tue Oct 01 15:24:46 2013, NINE wrote: Show quoted text
> But if you do manage, please install the Gtk3 Perl module in version > 0.012 and Glib::Object::Introspection in version 0.013 and _not_ > newer. Newer versions are stricter and break the Webkit bindings. See > https://rt.cpan.org/Ticket/Display.html?id=82376 for details.
Disregard that. I finally fixed the compatability problems and WWW::WebKit now works with the current versions of Gtk3 and Glib::Object::Introspection. At least if an up to date enough libwebkitgtk is installed.
Subject: Re: [rt.cpan.org #89083] Unable to install WWW::WebKit on Darwin; have gdk-2.0, need gdk-3.0
Date: Thu, 03 Oct 2013 18:52:55 -0400
To: bug-WWW-WebKit [...] rt.cpan.org
From: James E Keenan <jkeen [...] verizon.net>
On 10/3/13 1:32 PM, Stefan Seifert via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=89083> > > On Tue Oct 01 15:24:46 2013, NINE wrote: >
>> But if you do manage, please install the Gtk3 Perl module in version >> 0.012 and Glib::Object::Introspection in version 0.013 and _not_ >> newer. Newer versions are stricter and break the Webkit bindings. See >> https://rt.cpan.org/Ticket/Display.html?id=82376 for details.
> > Disregard that. I finally fixed the compatability problems and WWW::WebKit now works with the current versions of Gtk3 and Glib::Object::Introspection. At least if an up to date enough libwebkitgtk is installed. >
Well, Gtk3 appears to be out-of-bounds on Darwin for the time being. Note the following weird series of results I got today: $ brew install gtk+3 Warning: Your Xcode (4.4) is outdated Please install Xcode 4.6.3. intltool: Unsatisfied dependency: XML::Parser Homebrew does not provide Perl dependencies; install with: cpan -i XML::Parser Error: An unsatisfied requirement failed this build. $ ./bin/cpanm install XML::Parser install is up to date. (0.01) XML::Parser is up to date. (2.41) $ brew install gtk+3 Warning: Your Xcode (4.4) is outdated Please install Xcode 4.6.3. intltool: Unsatisfied dependency: XML::Parser Homebrew does not provide Perl dependencies; install with: cpan -i XML::Parser Error: An unsatisfied requirement failed this build. So even though I installed the prerequisite 'brew' requested, and in the precise manner it requested, it still wouldn't install gtk+3. Thank you very much. Jim Keenan