Am Dienstag, 17. Juli 2012, 11:43:45 schrieb Brad King: > On 07/17/2012 11:11 AM, Shlomi Fish wrote: > >> On 07/17/2012 05:41 AM, Shlomi Fish wrote: > >>> With cmake-2.8.9-rc2 on Mageia Linux Cauldron (see > > > >>> https://wiki.mageia.org/en/Cauldron ) I am getting: > > shlomif@telaviv1:~$ rpm -qa '*jasper*' > > lib64jasper-devel-1.900.1-13.mga2 > > lib64jasper1-1.900.1-13.mga2 > > > > shlomif@telaviv1:~$ rpm -ql lib64jasper-devel | xargs grep JAS_VERSION > > grep: /usr/include/jasper: Is a directory > > /usr/include/jasper/jas_version.h:#ifndef JAS_VERSION_H > > /usr/include/jasper/jas_version.h:#define JAS_VERSION_H > > /usr/include/jasper/jas_version.h:#if !defined(JAS_VERSION) > > /usr/include/jasper/jas_version.h:#define JAS_VERSION > > "unknown" /usr/include/jasper/jas_version.h: returned by this function > > may not necessarily correspond to JAS_VERSION. */ grep: > > /usr/include/multiarch-x86_64-linux/jasper: Is a directory > > /usr/include/multiarch-x86_64-linux/jasper/jas_config.h:#define > > JAS_VERSION "1.900.1" > > /usr/include/multiarch-x86_64-linux/jasper/jas_config.h:#define > > JAS_VERSION "1.900.1" grep: /usr/share/doc/lib64jasper-devel: Is a > > directory > > > > hope it helps. > > > > /usr/include/jasper/jas_config.h just contains this: > > > > #define _MULTIARCH_HEADER jasper/jas_config.h > > #include <multiarch-dispatch.h> > > Well, it looks like we can't even detect the version of a > library from a header file without running the preprocessor > with a specific architecture.
The same problem as the PostgreSQL "bug" recently reported for RedHat. Will likely pop up more times :/ Eike
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
