tags 641432 unreproducible moreinfo
thanks
2011.09.13 15:36, Patryk Cisek rašė:
Package: cmake
Version: 2.8.5-1
Severity: important
When invoking cmake command, find_library() does not find library in
/usr/lib/arch-triplet directory.
$ cat ../CMakeLists.txt
project(demo)
cmake_minimum_required(VERSION 2.8)
find_package(PNG REQUIRED)
find_package(X11 REQUIRED)
$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.3.4")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
- found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/modax/test/cmake/builddir
2) Unpack tiny demo project attached to this report
$ cd ~
$ tar xfz /path/to/saved/attachment/demo.tar.gz
$ mkdir build_dir
$ cd build_dir
$ cmake ~/demo
Here you get an error:
CMake Error at /usr/share/cmake-2.8/Modules/FindX11.cmake:381 (MESSAGE):
Could not find X11
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)
I can't reproducible on up-to-date sid, sorry. What's more, the bug
itself is a bit inconsistent. The error is about X11 while example
itself attempts to look for PNG.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org