On 13.10.2017 15:02, John Burrell wrote:
if gtk-doc-1.26 is installed then compile gives:

Traceback (most recent call last):
   File "/bin/gtkdoc-fixxref", line 57, in <module>
     fixxref.Run(options)
   File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 114, in Run
     FixCrossReferences(options)
   File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 217, in 
FixCrossReferences
     FixHTMLFile(options, full_entry)
   File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 236, in FixHTMLFile
     repl_func, content, flags=re.DOTALL)
   File "/usr/lib/python2.7/re.py", line 155, in sub
     return _compile(pattern, flags).sub(repl, string, count)
   File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 233, in repl_func
     return HighlightSourceVim(options, m.group(1), m.group(2))
   File "/usr/share/gtk-doc/python/gtkdoc/fixxref.py", line 382, in 
HighlightSourceVim
     subprocess.check_call([script], shell=True)
   File "/usr/lib/python2.7/subprocess.py", line 186, in check_call
     raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '["echo 'let html_number_lines=0|let 
html_use_css=1|let html_use_xhtml=1|e /tmp/tmpkDoOfu.h|syn on|set syntax=c|run! 
syntax/2html.vim|w! /tmp/tmpkDoOfu.h.html|qa!' | /bin/vim -n -e -u NONE -T xterm 
>/dev/null"]' returned non-zero exit status 1

Putting --without-gtk-doc in the configure fixes this.

jb.


Similar problem was seen with some other packages. I believe the solution was to install highlight and then rebuild gtk-doc with highlight support.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to