Hello all,
   I was trying to install git-1.8.2 on Mac from source. I already had 
1.7.x pre-installed. So I had the following similar issue when I was trying 
to compile and install git-1.8.2.
   
     * /bin/sh: line 1: docbook2x-texi: command not found  

 *  I installed the docbook2x-texi package installed via mac ports but it 
didn't help much. I observed that "which docbook2texi" showed that it was 
present in "/opt/local/bin/docbook2texi" but there wasn't any 
docbook2x-texi or docbook2xtexi present on the system.

So I made change in the makefile(in Documentation directory) where this 
package was referenced. 

I did "vi Documentation/Makefile +104" and put a check for OS, i.e., if OS 
is "Darwin" , use docbook2texi else use the default one. This fixed the 
issue at my end :).
Cheers!

-Mayur.*
*
On Wednesday, October 17, 2012 7:49:22 PM UTC+5:30, Yves S. Garret wrote:
>
> Hello,
>
>    I've run the following commands (which I found in INSTALL) and the 
> error that I got is shown below the commands:
>
> Commands:
> $ make prefix=/usr all doc info ;
> $ make prefix=/usr install install-doc install-html install-info ;
>
> Error:
> # install RelNotes/1.7.9.txt /usr/share/doc/git-doc/RelNotes/1.7.9.txt
> # install RelNotes/1.8.0.txt /usr/share/doc/git-doc/RelNotes/1.8.0.txt
> # install docbook-xsl.css /usr/share/doc/git-doc/docbook-xsl.css
> make[1]: Leaving directory `/home/ashvets/git-learning/git/Documentation'
> make -C Documentation install-info
> make[1]: Entering directory `/home/ashvets/git-learning/git/Documentation'
> make[2]: Entering directory `/home/ashvets/git-learning/git'
> make[2]: `GIT-VERSION-FILE' is up to date.
> make[2]: Leaving directory `/home/ashvets/git-learning/git'
>     DB2TEXI user-manual.texi
> /bin/sh: line 1: docbook2x-texi: command not found
> make[1]: *** [user-manual.texi] Error 127
> make[1]: Leaving directory `/home/ashvets/git-learning/git/Documentation'
> make: *** [install-info] Error 2
>
> I'm doing this in Cygwin.  What's the docbook2x-texi command and how can I 
> get it?
>
> I downloaded this source (http://sourceforge.net/projects/docbook2x/ ===> 
> ./configure 
> && make && make install) and got this error instead:
>
>     XMLTO gitnamespaces.7
>     ASCIIDOC gitrevisions.xml
>     XMLTO gitrevisions.7
>     ASCIIDOC gitworkflows.xml
>     XMLTO gitworkflows.7
>     ASCIIDOC gitcredentials.xml
>     XMLTO gitcredentials.7
> make[1]: Leaving directory `/home/ashvets/git-learning/git/Documentation'
> make -C Documentation info
> make[1]: Entering directory `/home/ashvets/git-learning/git/Documentation'
>     GEN doc.dep
> make[2]: Entering directory `/home/ashvets/git-learning/git'
> make[2]: `GIT-VERSION-FILE' is up to date.
> make[2]: Leaving directory `/home/ashvets/git-learning/git'
> make[1]: Leaving directory `/home/ashvets/git-learning/git/Documentation'
> make[1]: Entering directory `/home/ashvets/git-learning/git/Documentation'
> make[2]: Entering directory `/home/ashvets/git-learning/git'
> make[2]: `GIT-VERSION-FILE' is up to date.
> make[2]: Leaving directory `/home/ashvets/git-learning/git'
>     DB2TEXI user-manual.texi
> /bin/sh: line 1: docbook2x-texi: command not found
> make[1]: *** [user-manual.texi] Error 127
> make[1]: Leaving directory `/home/ashvets/git-learning/git/Documentation'
> make: *** [info] Error 2
>
> Now I'm just confused...
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to