markcox / neatx

Automatically exported from code.google.com/p/neatx
0 stars 1 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by swi...@gmail.com on 9 Jul 2009 at 4:27

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

Original comment by ims...@gmail.com on 9 Jul 2009 at 9:50

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

Original comment by kormat on 9 Jul 2009 at 7:21

GoogleCodeExporter commented 9 years ago
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)

Original comment by wib...@gmail.com on 14 Jul 2009 at 9:04

GoogleCodeExporter commented 9 years ago
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.

Original comment by ims...@gmail.com on 14 Jul 2009 at 9:09

GoogleCodeExporter commented 9 years ago
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.

Original comment by burt...@gmail.com on 14 Jul 2009 at 10:16

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

Original comment by ims...@gmail.com on 14 Jul 2009 at 10:36

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

Original comment by kormat on 6 Aug 2009 at 4:57

GoogleCodeExporter commented 9 years ago
Fixed in http://code.google.com/p/neatx/source/detail?r=40

Original comment by kormat on 12 Feb 2010 at 11:38

GoogleCodeExporter commented 9 years ago
configure still fails to find rst2html.py, would it be possible to change 
configure
so it looks for rst2html.py?

Original comment by wib...@gmail.com on 16 Feb 2010 at 4:01

GoogleCodeExporter commented 9 years ago
@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.

Original comment by kormat on 19 Feb 2010 at 1:51

GoogleCodeExporter commented 9 years ago
@wibaje: Fixed in http://code.google.com/p/neatx/source/detail?r=58

Original comment by kormat on 19 Feb 2010 at 4:16

GoogleCodeExporter commented 9 years ago
Thanks, I verified it and it works now.

Original comment by wib...@gmail.com on 22 Feb 2010 at 10:30

GoogleCodeExporter commented 9 years ago
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

Original comment by Mr.J.S.H...@gmail.com on 4 Aug 2010 at 6:15