Menu

#2518 [5.5] make gnuplot-ja.pdf fails on windows [mingw]

None
closed-fixed
nobody
None
2022-04-15
2022-04-12
No

[5.5] make gnuplot-ja.pdf fails on windows [mingw]

gcc -s -L/mingw64/lib -o doc2tex-ja.exe -DWINDOWS_NO_GUI \
    -DALL_TERM_DOC \
    -DVERSION_MAJOR='"5.5"' -DPATCHLEVEL='"0"' \
    -DJAPANESE_DOC -I. -I../../src -DHAVE_CONFIG_H -I. -Ija/docs/ -Ija//term \
    ../../docs/doc2tex.c ../../docs/termdoc.c
In file included from ../../docs/doc2x.h:68,
                 from ../../docs/doc2tex.c:59:
./allterm-ja.h:852: error: unterminated #ifndef
  852 | #ifndef JAPANESE_DOC
      |
make: *** [Makefile:962: doc2tex-ja.exe] Error 1

Discussion

  • Shigeharu TAKENO

    It may be a bug in term-ja.diff made by me, sorry. Please use the attached file as term-ja.diff.

     
  • Tatsuro MATSUOKA

    I applied the pacth.

    # Apply patch for Japanese docs
    rm ja/docs/tex2ja.awk ja/docs/sjisenc.c
    (cd ja/ ; patch -p0 -i docs/term-ja.diff)
    patching file docs/doc2rtf.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
    8 out of 8 hunks ignored -- saving rejects to file docs/doc2rtf.c.rej
    patching file docs/sjisenc.c
    patching file docs/tex2ja.awk
    patching file term/ai.trm
    Reversed (or previously applied) patch detected!  Assume -R? [n]
      :
      :
    

    By ignoring reversing all patches, I could build gnuplot-ja.pdf on windws [mingw].
    Thanks!

     

    Last edit: Tatsuro MATSUOKA 2022-04-15
  • Tatsuro MATSUOKA

    I misunderstand how to use the diff file.
    I replaced docs/term-ja.diff by given diff file that Shigeharu provided.
    gnuplot-ja.pdf can be produced successfully.

     
  • Tatsuro MATSUOKA

    Commit [e156a5] fixes the issue.
    Thanks!

     

    Related

    Commit: [e156a5]

  • Tatsuro MATSUOKA

    • status: open --> closed-fixed
    • Group: -->
    • Priority: -->
     

Log in to post a comment.

MongoDB Logo MongoDB