Bug 87200 - [GTK] generate-gtkdoc is called even if gtk-doc was disabled at configure time
Summary: [GTK] generate-gtkdoc is called even if gtk-doc was disabled at configure time
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2012-05-22 20:58 PDT by jimi_szdz
Modified: 2014-04-08 18:59 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jimi_szdz 2012-05-22 20:58:25 PDT
I was build webkitgtk 1.9.2 in my pc linux environment.
with configure:
./configure --prefix=/$BUILD_ROOT/usr --host=$ARCH-linux --with-gtk=2.0  --disable-webgl 
configure ok. 
compile ok.

but have  a error in install:

The error log:
  GEN    install-data-local
Rebasing WebKit1 documentation...
Running gtkdoc-rebase
Traceback (most recent call last):
  File "./Tools/gtk/generate-gtkdoc", line 169, in <module>
    rebase_installed_docs(pkg_config_path, options)
  File "./Tools/gtk/generate-gtkdoc", line 146, in rebase_installed_docs
    generator.rebase_installed_docs()
  File "/opt/test_1/webkit-1.9.2/Tools/gtk/gtkdoc.py", line 373, in rebase_installed_docs
    self._run_command(args, cwd=self.output_dir)
  File "/opt/test_1/webkit-1.9.2/Tools/gtk/gtkdoc.py", line 187, in _run_command
    stderr=subprocess.PIPE)
  File "/opt/eplatform/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/opt/eplatform/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory `/opt/test_1/webkit-1.9.2'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/opt/test_1/webkit-1.9.2'
make: *** [install] Error 2
Comment 1 jimi_szdz 2012-05-23 01:08:19 PDT
when i configure enable-gtk-doc
./configure --prefix=/$BUILD_ROOT/usr --host=$ARCH-linux --with-gtk=2.0  --disable-webgl --enable-gtk-doc

the install error was absent.

why?
Comment 2 jimi_szdz 2012-05-23 02:18:57 PDT
I have see the similar problem report by Maciej Piechotka.
Install error on version Webkit 1.7.5。

I found the Carlos Garcia Campos's patch code were mainly included in Webkit 1.9.2-version 118149。

because I don't know the Python script. 
so look for help,thanks!
Comment 3 jimi_szdz 2012-05-23 02:33:27 PDT
Hope somebody can give me some tips. thanks
Comment 4 Philippe Normand 2012-05-30 16:19:05 PDT
(In reply to comment #1)
> when i configure enable-gtk-doc
> ./configure --prefix=/$BUILD_ROOT/usr --host=$ARCH-linux --with-gtk=2.0  --disable-webgl --enable-gtk-doc
> 
> the install error was absent.
> 
> why?

our generate-gtkdoc requires the gtk-doc-tools package.
Comment 5 Martin Robinson 2014-04-08 18:59:11 PDT
We no longer allow for disabling gtkdoc entirely.