Menu

#2587 XDG in 5.4.6 needs wxGTK>=3

None
closed-accepted
nobody
None
2023-05-19
2023-02-13
Anonymous
No

Slackware64-14.2 with wxGTK-2.8.12

My initial build of gnuplot-5.4.6 failed at wxt_gui.cpp because my version of wxGTK does not seem to support XDG. This also happened in 5.5 when XDG support was first introduced, but
was later fixed . The fix, still in 6.0 and 6.1, is to sandwich the line '#include "xdg.h" ' near line
120 in wxt_gui.cpp between '#if (wxMAJOR_VERSION >= 3)' and '#endif'. After making
this change, the build was normal and all seems to work as expected.

Discussion

  • Ethan Merritt

    Ethan Merritt - 2023-02-13

    Indeed. Thanks. Showing yet again that no back-port is so simple as to avoid problems.
    So maybe there will be a 5.4.7 after all. I had been thinking this could be the last in the series because it would be bug-free. Hah! Only out for days and already two known problems.

     
  • Ethan Merritt

    Ethan Merritt - 2023-02-13
    • status: open --> pending-accepted
    • Group: -->
    • Priority: -->
     
  • Ethan Merritt

    Ethan Merritt - 2023-05-19
    • status: pending-accepted --> closed-accepted
     

Log in to post a comment.