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?

-bob

On Dec 19, 2018, at 9:18 AM, Benny Siegert <bsiegert%gmail.com@localhost> wrote:

> On Thu, Nov 29, 2018 at 6:44 PM Robert Nestor <rnestor%mac.com@localhost> wrote:
>> +.include "../../x11/gtk2/buildlink3.mk"
>> .include "../../x11/wxGTK30/buildlink3.mk"
> 
> wxGTK30/bl3.mk 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