How to find proper --enable options when building wxGTK3?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,089
Rep:
How to find proper --enable options when building wxGTK3?
When trying to build the latest dvdstyler (3.2) I found that this required upgrades of wxGTK3 (> 3.1.5) and wxsvg (> 1.5.22). Building with ponce's buildscripts for -current went fine, but dvdstyler still refused to build, complaining over a missing wxGTK3 header file (colrdlgg.h).
The source package contains the file in question (wxWidgets-3.1.5/include/wx/generic/colrdlgg.h) but for some reason it wasn't included in the .tgz package. My dirty solution was to extract the header file from the source, putting it in its proper place in the -tgz package. Then I could build dvdstyler without issues.
I realise that my solution is not the proper one. I probably need to add a --enable line to the buildscript but I have no clue to what should be enabled - maybe --enable-colourdialog or something similar. Haven't found any hints when googling.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,089
Original Poster
Rep:
Thanks, that looked like a very promising suggestion. However, after adding
--enable-coldlg \
to the build script, the file was still missing when the package was built.
I'm not sure if the header for the generic dialog is still installed for linux systems for newer versions of wxWidgets. However, if you look at the code in wxVillaLib/PropDlg.cpp in lines 764 ff you see, that the generic dialog is only used if __WXMSW__ is defined. So I think you can safely delete the line #include <wx/generic/colrdlgg.h> for your Slackware build. The proper solution might be to use a patch file, e.g.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,089
Original Poster
Rep:
Thanks, much obliged! Couldn't get the patch to work (first change accepted, second rejected), but simply deleting the line
Code:
#include <wx/generic/colrdlgg.h>
did the trick, build went smooth and the program works as intended.
Causes me another headache, though. Filezilla refuses to run (or compile) on anything but a "stable" wxGTK3, i.e. version 3.0.5. Well, I can live with that for now and sort it out when the next stable wxWidget release arrives.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.