[kde-freebsd] build kde-workspace-4.11.2 with clang

Rianav Antares kerenskyy at myopera.com
Thu Oct 24 23:00:17 UTC 2013


On Thu, 24 Oct 2013, at 12:23 PM, Rianav Antares wrote:
> On Thu, 24 Oct 2013, at 08:44 AM, Schaich Alonso wrote:
> > On Thu, 24 Oct 2013 04:10:30 +0000
> > Rianav Antares <kerenskyy at myopera.com> wrote:
> > 
> > > On Thu, 24 Oct 2013, at 01:48 AM, Schaich Alonso wrote:
> > > > On Wed, 23 Oct 2013 23:35:34 +0000
> > > > Rianav Antares <kerenskyy at myopera.com> wrote:
> > > > 
> > > > > Greetings all,
> > > > > 
> > > > > I would like to ask, is it possible to build  x11/kde4-workspace from
> > > > > area51 with clang? Or does it only build using gcc?
> > > > > 
> > > > > Thank you.
> > > > > 
> > > > > RA
> > > > 
> > > > Other than science/step, all ports in area51 can be built using clang at
> > > > this
> > > > time.
> > > 
> > > 
> > > Thank you for your reply.
> > > 
> > > Reason I ask is the kde4-workspace failed to build with the following:
> > > 
> > > [ 96%] Building CXX object
> > > kwin/CMakeFiles/kdeinit_kwin.dir/glxbackend.cpp.o
> > > /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:309:10:
> > > error: use of undeclared identifier
> > >       'GL_GUILTY_CONTEXT_RESET_ARB'
> > >     case GL_GUILTY_CONTEXT_RESET_KWIN:
> > >          ^
> > > /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:297:43:
> > > note: expanded from macro 'GL_GUILTY_CONTEXT_RESET_KWIN'
> > > #  define GL_GUILTY_CONTEXT_RESET_KWIN    GL_GUILTY_CONTEXT_RESET_ARB
> > >                                           ^
> > > /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:313:10:
> > > error: use of undeclared identifier
> > >       'GL_INNOCENT_CONTEXT_RESET_ARB'
> > >     case GL_INNOCENT_CONTEXT_RESET_KWIN:
> > > 
> > > complete output: http://pastebin.com/pkU1D3JH
> > > 
> > > Is there any work-around for this?
> > > 
> > > Thanks.
> > 
> > You have to use the most recent Xorg version available in ports for
> > kde-4.11,
> > i.e. define WITH_NEW_XORG in make.conf and run a ports update before
> > builing
> > kde.
> > 
> > Alonso
> 
> Thanks again. I will do a ports update. 
> I had added WITH_NEW_XORG after seeing it in UPDATING-area51.  however i
> had only upgraded the xserver, mesalib, etc.
> 
> RA
> 
The port builds successfully now. Thanks.
RA

-- 
pork recall flu response drill smart police airplane plane aeroplane
leak cloud wave exercise cops ice snow watch

kerenskyy at myopera.com


More information about the kde-freebsd mailing list