In current Fedora, /sbin,/bin, and /lib are symbolic links to /usr/sbin, /usr/bin, and /usr/lib. This causes problems such as the one outlined here:
https://bugzilla.redhat.com/show_bug.cgi?id=917407
where find_package(PKG NO_MODULE) will find PKGConfig.cmake in /lib/pkg/ instead of /usr/lib/pkg/, and perhaps then make the erroneous assumption that everything is based in / rather than /usr. I think some of this is caused by cmake being found in /bin/ if /bin in earlier than /usr/bin in the PATH.

I'm looking for suggestions as to how to handle this on a distro wide level (as I'm a packager of cmake for Fedora). Perhaps some way to tell cmake to start with /usr as a prefix first rather than basing off of PATH or where cmake is first found?

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email protected]
Boulder, CO 80301              http://www.cora.nwra.com
--

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://www.cmake.org/mailman/listinfo/cmake

Reply via email to