Page 1 of 1

(Solved) Webkitgtk Slackbuild Error

Posted: 19. Jan 2013, 15:55
by ghostdawg
I've been trying to install Shotwell Photo Manager from the Slackbuild but I keep an error when it builds Webkitgtk.

I'm not sure what part of the message I should post but here is what I think it's saying failing.

Code: Select all

# slapt-src -i shotwell
The following packages will be installed:
 shotwell 
The following dependent slackbuilds will be built and installed:
 webkitgtk 
Do you want to continue? [y/N]

-----------------------------
/usr/bin/ginstall -c -m 644 ./Documentation/webkitgtk/html/webkit-environment.html
 /usr/bin/ginstall -c -m 644 ./Documentation/webkitgtk/html/webkitgtk-Global-functions.html
 /usr/bin/ginstall -c -m 644 ./Documentation/webkitgtk/html/webkitgtk-webkitdownload.html
 /usr/bin/ginstall -c -m 644 ./Documentation/webkitgtk/html/webkitgtk-webkitwebview.html
 /usr/bin/ginstall -c -m 644 ./Documentation/webkitgtk/html/webkitgtk.devhelp2
  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 "/usr/src/slapt-src/libraries/webkitgtk/webkit-1.8.3/Tools/gtk/gtkdoc.py", line 373, in rebase_installed_docs
    self._run_command(args, cwd=self.output_dir)
  File "/usr/src/slapt-src/libraries/webkitgtk/webkit-1.8.3/Tools/gtk/gtkdoc.py", line 187, in _run_command
    stderr=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/usr/src/slapt-src/libraries/webkitgtk/webkit-1.8.3'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/src/slapt-src/libraries/webkitgtk/webkit-1.8.3'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/slapt-src/libraries/webkitgtk/webkit-1.8.3'
make: *** [install-strip] Error 2
fakeroot -- sh webkitgtk.SlackBuild Failed
Any ideas what is happening and is it fixable?

Thnx.

Re: Webkitgtk Slackbuild Error

Posted: 19. Jan 2013, 21:52
by laprjns
I tried building webkitgt here and after a couple of hours I got the same errors as you. When I built webkit for Salix 14.0 I recall getting a build error very late (hours) into the build. If I recall correctly, the error had something to do with documents. I'm pretty certain that installing linuxdoc-tools will fix this problem. It was only needed to build webkit and not needed at run time. I am rebuilding webkitgt now with linuxdoc-tools installed to confirm this but its going to take a couple of hours.
You can get linuxdoc-tools using slapt-get

Confirmed. Install linuxdocs-tools and the package will build

Re: Webkitgtk Slackbuild Error

Posted: 19. Jan 2013, 23:53
by ghostdawg
I just installed the linuxdoc-tools and now recompiling webkitgtk. I'll let you know how mine turns out also.

Thnx.

Re: Webkitgtk Slackbuild Error

Posted: 20. Jan 2013, 01:21
by mimosa
The build here seems to have completed successfully. I did have linuxdoc-tools. However, I noticed a lot of messages early on in the build about missing this or that - which may not matter at all.

Re: Webkitgtk Slackbuild Error

Posted: 20. Jan 2013, 03:02
by ghostdawg
Following laprjns advice about installing linuxdoc-tools did solve the problem. It installed and running fine now. Thanks to all who replied.