Export to GitHub

neatx - issue #5

rst2html is required, but ./configure only produces a warning


Posted on Jul 9, 2009 by Happy Elephant

Steps to reproduce (linux, neatx-0.3.1): 1. ./configure says "WARNING: rst2html not found, documentation rebuild will not be possible" 2. make dies with "rst2html not found during configure"

./configure should die when rst2html is not found or generate makefile that doesn't require it

Comment #1

Posted on Jul 9, 2009 by Grumpy Monkey

Note: Ganeti (http://code.google.com/p/ganeti/) fixed this a while ago.

Comment #2

Posted on Jul 9, 2009 by Happy Rhino

I've had a look at ganeti's git repo, but haven't been able to figure out what change imsnah is referring to

Comment #3

Posted on Jul 14, 2009 by Swift Camel

The configure script looks for rst2html but (on my openSUSE install) it's called rst2html.py. The script then looks for rst2html[$ac_executable_extensions] but I can't seem to find where this $ac_executable_extensions is set.

(I fixed it by making a symbolic link from rst2html to rst2html.py)

Comment #4

Posted on Jul 14, 2009 by Grumpy Monkey

ac_executable_extensions is likely for systems on which all programs have certain extensions (e.g. “.exe” on Windows). You should be able to use --with-rst2html=/usr/bin/rst2html.py for configure.

Comment #5

Posted on Jul 14, 2009 by Swift Ox

Compiling on OpenSolaris 2009.06 build 117 had the same issue, --with-rst2html=/usr/bin/rst2html reported: configure: WARNING: unrecognized options: --with-rst2html

I worked around the problem by putting ac_executable_extensions=${ac_executable_extensions-'.py'}

into the configure file, but I'm sure thats not the best way.

Comment #6

Posted on Jul 14, 2009 by Grumpy Monkey

Oh, I got it wrong. It's “./configure RST2HTML=/usr/bin/rst2html.py”.

Comment #7

Posted on Aug 6, 2009 by Happy Rhino

I have a patch out for review to fix the original issue (that of make failing if rst2html isn't available)

Comment #8

Posted on Feb 12, 2010 by Happy Rhino

Fixed in http://code.google.com/p/neatx/source/detail?r=40

Comment #9

Posted on Feb 16, 2010 by Swift Camel

configure still fails to find rst2html.py, would it be possible to change configure so it looks for rst2html.py?

Comment #10

Posted on Feb 19, 2010 by Happy Rhino

@wibaje: i've taken another look at this, and changed how things work a bit. Sending a patch out for review that should work with both rst2html and rst2html.py.

Comment #11

Posted on Feb 19, 2010 by Happy Rhino

@wibaje: Fixed in http://code.google.com/p/neatx/source/detail?r=58

Comment #12

Posted on Feb 22, 2010 by Swift Camel

Thanks, I verified it and it works now.

Comment #13

Posted on Aug 4, 2010 by Grumpy Wombat

Just in case someone comes here for answer, I fixed this issue when trying to install Midori by installing the pkg "Docutils" & was very easy install as well,just follow the readme inside pkg. You need to have python installed

Status: Fixed

Labels:
Type-Defect Priority-Medium