Bug 115612

Summary: [GTK] Fails to build while generating gtkdoc
Product: WebKit Reporter: Alberto Garcia <berto>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, gns, mrobinson, zan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Alberto Garcia 2013-05-05 10:12:03 PDT
I'm getting this while trying to build webkitgtk 2.0.1 in a clean environment:

  [...]
  GEN    generate-webkit2-forwarding-headers
  GEN    generate-webkit2-forwarding-headers
  GEN    generate-webkittestrunner-forwarding-headers
  GEN    generate-webkittestrunner-forwarding-headers
  GEN    generate-testwebkitapi-forwarding-headers
  GEN    generate-testwebkitapi-forwarding-headers
CC=gcc ./Tools/gtk/generate-gtkdoc
Generating WebKit1 documentation...
Copying template files to output directory...
Copying HTML files to output directory...
Running gtkdoc-scan
Running gtkdoc-scangobj
/usr/bin/ld: cannot find -lwebkitgtk-3.0
/usr/bin/ld: cannot find -ljavascriptcoregtk-3.0
collect2: error: ld returned 1 exit status

Of course it cannot find those libraries because they haven't been built yet.
Comment 1 Zan Dobersek 2013-05-05 13:45:17 PDT
How are you performing the build? configure & make or build-webkit? Any non-standard configuration options used?

Odd.
Comment 2 Alberto Garcia 2013-05-05 23:32:31 PDT
$ ./autogen.sh --disable-video --enable-gtk-doc
$ make

This is the latest stable release (SVN r148510)

I don't have GStreamer 1.0 installed (hence the disable-video option),
everything else is standard I think).
Comment 3 Alberto Garcia 2013-05-15 05:18:40 PDT
Created attachment 201819 [details]
Patch

It was typo in the automake file.
Comment 4 Zan Dobersek 2013-05-15 06:07:43 PDT
Figures!
Comment 5 WebKit Commit Bot 2013-05-15 09:12:51 PDT
Comment on attachment 201819 [details]
Patch

Clearing flags on attachment: 201819

Committed r150117: <http://trac.webkit.org/changeset/150117>
Comment 6 WebKit Commit Bot 2013-05-15 09:12:54 PDT
All reviewed patches have been landed.  Closing bug.