Bug 115612 - [GTK] Fails to build while generating gtkdoc
Summary: [GTK] Fails to build while generating gtkdoc
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-05 10:12 PDT by Alberto Garcia
Modified: 2013-05-15 09:12 PDT (History)
4 users (show)

See Also:


Attachments
Patch (952 bytes, patch)
2013-05-15 05:18 PDT, Alberto Garcia
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.