Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 18:04:33 -0300
From:      Mario Lobo <lobo@bsd.com.br>
To:        freebsd-questions@freebsd.org
Subject:   Re: Unable to build kde-workspace
Message-ID:  <20140228180433.2bc14212@Papi>
In-Reply-To: <00b801cf349b$a3801850$ea8048f0$@seibercom.net>
References:  <00b801cf349b$a3801850$ea8048f0$@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Feb 2014 10:42:07 -0500
"Jerry" <jerry@seibercom.net> wrote:

> I am unable to build "x11/kde4-workspace". It always ends with this
> error message:
> 
> [ 16%] Building CXX object
> kwin/CMakeFiles/kwin_gles.dir/kwin_gles_dummy.cpp.o
> cd /usr/ports/x11/kde4-workspace/work/.build/kwin && /usr/bin/c++
> -DDISABLE_NEPOMUK_LEGACY -DHAVE_CONFIG_H=1
> -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=34 -DKDE_DEPRECATED_WARNINGS
> -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION
> -DQT_USE_FAST_OPERATOR_PLUS -D_REENTRANT -O2 -pipe -march=athlon64
> -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security
> -Woverloaded-virtual -fno-common -fvisibility=hidden
> -Werror=return-type -fvisibility-inlines-hidden
> -Wno-return-type-c-linkage -O2 -DNDEBUG -DQT_NO_DEBUG
> -I/usr/ports/x11/kde4-workspace/work/.build/kwin
> -I/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.6/kwin
> -I/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.6/kwin/tabbox
> -I/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.6/kwin/effects
> -I/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.6/kwin/libkdecoratio
> ns
> -I/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.6/kwin/libkwineffect
> s -I/usr/ports/x11/kde4-workspace/work/.build/kwin/libkwineffects
> -I/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.6
> -I/usr/ports/x11/kde4-workspace/work/.build
> -I/usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.6/libs
> -I/usr/local/include -I/usr/local/include/KDE
> -I/usr/local/include/qt4/phonon
> -I/usr/local/include/qt4/QtXmlPatterns -I/usr/local/include/qt4/QtXml
> -I/usr/local/include/qt4/QtWebKit -I/usr/local/include/qt4/QtUiTools
> -I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtSvg
> -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtScriptTools
> -I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtOpenGL
> -I/usr/local/include/qt4/QtNetwork -I/usr/local/include/qt4/QtHelp
> -I/usr/local/include/qt4/QtDesigner
> -I/usr/local/include/qt4/QtDeclarative
> -I/usr/local/include/qt4/QtDBus -I/usr/local/include/qt4/Qt3Support
> -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore
> -I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default
> -I/usr/local/include/qt4 -D_LARGEFILE64_SOURCE -o
> CMakeFiles/kwin_gles.dir/kwin_gles_dummy.cpp.o
> -c /usr/ports/x11/kde4-workspace/work/.build/kwin/kwin_gles_dummy.cpp
> Linking CXX executable kwin_gles
> cd /usr/ports/x11/kde4-workspace/work/.build/kwin
> && /usr/local/bin/cmake -E cmake_link_script
> CMakeFiles/kwin_gles.dir/link.txt --verbose=1 /usr/bin/c++   -O2
> -pipe -march=athlon64 -DLIBICONV_PLUG -fno-strict-aliasing
> -DLIBICONV_PLUG -Wnon-virtual-dtor -Wno-long-long -Wundef
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
> -Wformat-security -Woverloaded-virtual -fno-common
> -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden
> -Wno-return-type-c-linkage -O2 -DNDEBUG -DQT_NO_DEBUG
> CMakeFiles/kwin_gles.dir/kwin_gles_dummy.cpp.o -o
> kwin_gles  ../lib/libkdeinit4_kwin_gles.so ../lib/libkdecorations.so.4.12.2 /usr/local/lib/qt4/libQtDeclarative.so /usr/local/lib/qt4/libQtScript.so /usr/local/lib/libplasma.so.3.0.0 /usr/local/lib/libkdeclarative.so.5.12.2 /usr/local/lib/libkactivities.so.6.2.0 /usr/local/lib/libX11.so /usr/local/lib/libXext.so /usr/local/lib/libICE.so /usr/local/lib/libSM.so
> /usr/local/lib/libXcursor.so /usr/local/lib/libXrandr.so
> /usr/local/lib/libXdamage.so /usr/local/lib/libXrender.so
> /usr/local/lib/libXfixes.so /usr/local/lib/libXxf86vm.so
> /usr/local/lib/libxcb.so /usr/local/lib/libX11-xcb.so
> /usr/local/lib/libxcb-xfixes.so /usr/local/lib/libxcb-damage.so
> /usr/local/lib/libxcb-composite.so /usr/local/lib/libxcb-shape.so
> /usr/local/lib/libxcb-sync.so /usr/local/lib/libxcb-render.so
> /usr/local/lib/libxcb-randr.so /usr/local/lib/libxcb-keysyms.so
> ../lib/libkwinglesutils.so.1.0.0 ../lib/libkwineffects.so.1.0.0
> /usr/local/lib/libkdeui.so.5.12.2 /usr/local/lib/libkdecore.so.5.12.2
> /usr/local/lib/qt4/libQtDBus.so /usr/local/lib/qt4/libQtCore.so
> -pthread /usr/local/lib/qt4/libQtGui.so /usr/local/lib/qt4/libQtSvg.so
> /usr/local/lib/libGLESv2.so /usr/local/lib/libEGL.so
> -Wl,-rpath,/usr/ports/x11/kde4-workspace/work/.build/lib:/usr/local/lib/qt4:
> /usr/local/lib: -Wl,-rpath-link,/usr/local/lib 
> /usr/local/lib/libGLESv2.so: undefined reference to
> `_glapi_get_dispatch' /usr/local/lib/libGLESv2.so: undefined
> reference to `_glapi_Dispatch' c++: error: linker command failed with
> exit code 1 (use -v to see invocation)
> gmake[3]: *** [kwin/kwin_gles] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/x11/kde4-workspace/work/.build' gmake[2]: ***
> [kwin/CMakeFiles/kwin_gles.dir/all] Error 2 gmake[2]: Leaving
> directory `/usr/ports/x11/kde4-workspace/work/.build' gmake[1]: ***
> [all] Error 2 gmake[1]: Leaving directory
> `/usr/ports/x11/kde4-workspace/work/.build' *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/x11/kde4-workspace
> 
> This is the link to the entire build log:
> 
> https://www.dropbox.com/sh/w1r4dydtim805d6/wXdS0uFwRf/kde-workspace.txt
> 
> Due to this problem, I am halfway through updating KDE4.
> Unfortunately, now I cannot even start KDE, so I have a serious
> problem.
> 

cd to port directory
make config
unmark the GLES option

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)
 
"UNIX was not designed to stop you from doing stupid things, 
because that would also stop you from doing clever things."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140228180433.2bc14212>