[blfs-support] cmake

Fernando de Oliveira famobr at yahoo.com.br
Sat Mar 1 01:54:34 PST 2014


Em 28-02-2014 20:39, Waitman Gobble escreveu:
> Hi,
> 
> I'm receiving this error building cmake-2.8.12.2, I have MesaLib-10.0.3 
> and Qt-5.2.1 installed.
> The CMAKE_CXX_LIBRARY_ARCHITECTURE "" looks suspect.. not sure at the 
> moment why it is missing the GL lib..

We have split GLU from MESA and are still finding where it should be
included as dependency. Please, If you install GLU does that disappear?
> 
> Any tips? I'll guess to try reinstalling Qt5 for start.
> 
> Thank you,
> Waitman Gobble
> 
> 
> CMake Error at /usr/lib64/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16 
> (message):
>    Failed to find "GLESv2" in "/usr/X11/lib" with
>    CMAKE_CXX_LIBRARY_ARCHITECTURE "".  Missing: "Qt5Gui_GLESv2_LIBRARY".
> 
> Call Stack (most recent call first):
>    /usr/lib64/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:51 
> (_qt5gui_find_extra_libs)
>    /usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake:155 (include)
>    /usr/lib64/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
>    Source/QtDialog/CMakeLists.txt:17 (find_package)
> 
> 
> /usr/lib64/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake line 51:
> 
> _qt5gui_find_extra_libs(OPENGL "GLESv2" "/usr/X11/lib" "")
> 
> 
> # find /usr/X11/lib/ | grep GLESv2
> /usr/X11/lib/libGLESv2.so
> /usr/X11/lib/libGLESv2.so.2.0.0
> /usr/X11/lib/libGLESv2.so.2
> /usr/X11/lib/libGLESv2.la
> 
> # cat /usr/X11/lib/pkgconfig/glesv2.pc
> prefix=/usr/X11
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
> 
> Name: glesv2
> Description: Mesa OpenGL ES 2.0 library
> Requires.private:
> Version: 10.0.3
> Libs: -L${libdir} -lGLESv2
> Libs.private: -lm -lpthread -ldl
> Cflags: -I${includedir}
> 
> # export
> declare -x CVSROOT="anoncvs at anoncvs.NetBSD.org:/cvsroot"
> declare -x CVS_RSH="ssh"
> declare -x C_INCLUDE_PATH="/usr/X11/include:/usr/local/include"
> declare -x EDITOR="vi"
> declare -x GIT_SSL_NO_VERIFY="true"
> declare -x GROUP="root"
> declare -x HISTCONTROL="ignoredups"
> declare -x HISTFILESIZE="4192"
> declare -x HISTSIZE="4192"
> declare -x HOME="/root"
> declare -x HOST="arika"
> declare -x HOSTTYPE="x86_64-linux"
> declare -x LIBRARY_PATH="/usr/local/lib:/usr/X11/lib"
> declare -x LOGNAME="root"
> declare -x MACHTYPE="x86_64"
> declare -x MAIL="/var/mail/root"
> declare -x MANPAGER="cat"
> declare -x OLDPWD
> declare -x OSTYPE="linux"
> declare -x PAGER="more"
> declare -x 
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11/bin:/usr/X11/bin"
> declare -x PKG_CONFIG_PATH="/usr/X11/lib/pkgconfig:/usr/local/lib/pkgconfig"
> declare -x PWD="/sources/cmake-2.8.12.2"
> declare -x REMOTEHOST="192.168.0.154"
> declare -x SHELL="/bin/csh"
> declare -x SHLVL="2"
> declare -x SSH_CLIENT="192.168.0.154 53315 22"
> declare -x SSH_CONNECTION="192.168.0.154 53315 192.168.0.152 22"
> declare -x SSH_TTY="/dev/pts/4"
> declare -x TERM="xterm"
> declare -x USER="root"
> declare -x VENDOR="unknown"
> declare -x XORG_CONFIG="--prefix=/usr/X11 --sysconfdir=/etc 
> --localstatedir=/var --disable-static"
> declare -x XORG_PREFIX="/usr/X11"
> 
> 


-- 
[]s,
Fernando



More information about the blfs-support mailing list