pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53751: code blocks fails to build

Thank you!  My suggestion made the build work but the executable wasn’t usable, it complained about having both gtk2 and gtk3 symbols in the same image.

However, your suggestion worked for the build and created a usable executable in the -current pkgsrc (I haven’t tried it in older archives).  I thought a recent change to wxGTK30 allowed it to use either gtk2 or gtk3.  Does it only build with one or the other or does it build for both?  And if it builds for both can the OPTION be moved to codeblocks itself?


On Dec 19, 2018, at 9:18 AM, Benny Siegert <> wrote:

> On Thu, Nov 29, 2018 at 6:44 PM Robert Nestor <> wrote:
>> +.include "../../x11/gtk2/"
>> .include "../../x11/wxGTK30/"
> wxGTK30/ provides a buildlink for whatever toolkit wxWidgets is
> built with. The default is gtk3 but AFAICT codeblocks only works with
> gtk2.
> Does it work if you add the following line to your mk.conf
> PKG_OPTIONS.wxGTK30=gtk2
> Then do the following:
> cd x11/wxGTK30
> make replace
> cd ../../editors/codeblocks
> make package-install
> -- 
> Benny

Home | Main Index | Thread Index | Old Index