Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#138 Does not install - cannot compile in doc.

closed
None
5
2012-10-30
2012-06-04
Susi Lehtola
No

latex2rtf 2.2.0 fails to install:

  • make install PREFIX=/builddir/build/BUILDROOT/latex2rtf-2.2.0-1.fc18.x86_64/usr MAN_INSTALL=/builddir/build/BUILDROOT/latex2rtf-2.2.0-1.fc18.x86_64/usr/share/man/man1
    cc -g -Wall -Wno-write-strings -DUNIX fonts.o direct.o encodings.o commands.o stack.o funct1.o tables.o chars.o ignore.o cfg.o main.o utils.o parser.o lengths.o counters.o preamble.o letterformat.o equations.o convert.o xrefs.o definitions.o graphics.o mygetopt.o styles.o preparse.o vertical.o fields.o labels.o biblio.o auxfile.o acronyms.o -lm -o latex2rtf
    cd doc && make
    make[1]: Entering directory /builddir/build/BUILD/latex2rtf-2.2.0/doc' make[1]: Leaving directory/builddir/build/BUILD/latex2rtf-2.2.0/doc'
    make[1]: No rule to make target header.html', needed byweb/usage.html'. Stop.
    make:
    [install] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.WF7M7q (%install)
    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.WF7M7q (%install)
    Child returncode was: 1
    EXCEPTION: Command failed. See logs for output.
    # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/latex2rtf.spec']
    Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", line 70, in trace
    result = func(args, *kw)
    File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 352, in do
    raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
    Error: Command failed. See logs for output.
    # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/latex2rtf.spec']
    LEAVE do --> EXCEPTION RAISED

Discussion

  • Sorry, the files header.html and footer.html were missing in the tar.gz file.
    I uploaded a new tar.gz file, hopefully it now works.
    Please wait some time until the new tar.gz file is distributed to the file mirrors.

     
  • Susi Lehtola
    Susi Lehtola
    2012-06-06

    Ugh. You shouldn't modify release tarballs after the release, since the contents is not the same. Make a minor release instead.