MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0012049 | CMake | Modules | public | 2011-04-06 03:46 | 2013-03-04 08:38 | |||||
Reporter | Boris Pek | |||||||||
Assigned To | Philip Lowman | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake-2-8 | |||||||||
Target Version | CMake 2.8.10 | Fixed in Version | CMake 2.8.10 | |||||||
Summary | 0012049: Problem with cmake module FindGTK2.cmake in Ubuntu >= 11.04 (Natty Narwhal) | |||||||||
Description | Hi, Some Ubuntu maintainers have a dissenting opinion where the header files should be placed in the system... So you need to take into account some features of Ubuntu Natty: they moved file /usr/lib/glib-2.0/include/glibconfig.h to directories: /usr/lib/i386-linux-gnu/glib-2.0/include/ /usr/lib/x86_64-linux-gnu/glib-2.0/include/ Temporary I solved this problem in our project with following patch: --- a/cmake/FindGTK2.cmake +++ b/cmake/FindGTK2.cmake @@ -185,6 +185,10 @@ function(_GTK2_FIND_INCLUDE_DIR _var _hdr) find_path(${_var} ${_hdr} PATHS + # fix for Ubuntu >= 11.04 (Natty Narwhal) + /usr/lib/i386-linux-gnu/ + /usr/lib/x86_64-linux-gnu/ + # end fix for Ubuntu >= 11.04 (Natty Narwhal) /usr/local/lib64 /usr/local/lib /usr/lib64 The Ubuntu maintainer proposed to use pkg-config. I don't agree with him, but this problem must be fixed in cmake project in any way. Or maybe you will be able to convince ubuntu developers undo this change. For more details please read: https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/751940 [^] Thank you for convenient and useful project. Regards, Boris | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2011-04-06 03:46 | Boris Pek | New Issue | ||||||||
2011-04-06 04:43 | Michael Wild | Note Added: 0026113 | ||||||||
2011-04-06 07:42 | Eric NOULARD | Relationship added | related to 0012037 | |||||||
2011-04-06 07:44 | Eric NOULARD | Note Added: 0026114 | ||||||||
2011-04-06 07:59 | Michael Wild | Note Added: 0026115 | ||||||||
2011-04-06 08:00 | Michael Wild | Note Edited: 0026115 | bug_revision_view_page.php?bugnote_id=26115#r298 | |||||||
2011-04-06 08:00 | Michael Wild | Note Edited: 0026115 | bug_revision_view_page.php?bugnote_id=26115#r299 | |||||||
2011-04-06 08:00 | Michael Wild | Note Edited: 0026115 | bug_revision_view_page.php?bugnote_id=26115#r300 | |||||||
2011-04-06 08:01 | Eric NOULARD | Note Added: 0026117 | ||||||||
2011-06-13 11:31 | Brad King | Assigned To | => Philip Lowman | |||||||
2011-06-13 11:31 | Brad King | Status | new => assigned | |||||||
2011-06-13 11:31 | Brad King | Note Added: 0026847 | ||||||||
2011-06-13 11:32 | Brad King | Note Added: 0026848 | ||||||||
2012-08-17 10:23 | Brad King | Note Added: 0030690 | ||||||||
2012-10-03 00:56 | Philip Lowman | Note Added: 0031158 | ||||||||
2012-10-03 00:56 | Philip Lowman | Target Version | => CMake 2.8.10 | |||||||
2012-10-18 16:02 | Philip Lowman | Note Added: 0031279 | ||||||||
2012-10-18 16:02 | Philip Lowman | Status | assigned => resolved | |||||||
2012-10-18 16:02 | Philip Lowman | Resolution | open => fixed | |||||||
2012-10-18 16:02 | Philip Lowman | Fixed in Version | => CMake 2.8.10 | |||||||
2013-03-04 08:38 | Robert Maynard | Note Added: 0032478 | ||||||||
2013-03-04 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|