Menu

#177 wxJSON does not configure if wxWidgets is configured with --disable-gui

open
nobody
None
5
2019-12-24
2019-12-24
SET
No

I have a requirement where wxWidgets is configured disabling GUI :

../configure wxDEBUG_LEVEL=0 --disable-gtktest --disable-sdltest --disable-compat28 --disable-debug --prefix=/usr/local/wxWidgets-nogui --disable-gui

Configuring wxJSON would fail as follows :

PATH=/usr/local/wxWidgets-nogui/bin:$PATH ../configure --prefix=/usr/local/wxWidgets-nogui
...
checking which wxWidgets toolkit was selected... configure: error:
Cannot detect the currently installed wxWidgets port !
Please check your 'wx-config --cxxflags'...
...

The wxJSON GTK3 patch has been previously applied.

Manipulating JSON files does not really need a GUI toolkit.

I'm wondering if this can be taken into account in the configure script, that I can't tinker with.

Thank you.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.