MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0012036 | CMake | CMake | public | 2011-03-31 23:33 | 2015-06-01 08:38 | ||||||||||
Reporter | Mark Abraham | ||||||||||||||
Assigned To | Miguel Figueroa | ||||||||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | Win32 | OS | Cygwin | OS Version | 1.7 | ||||||||||
Product Version | CMake-2-8 | ||||||||||||||
Target Version | Fixed in Version | ||||||||||||||
Summary | 0012036: Under Cygwin, FindLATEX does not find installed tools | ||||||||||||||
Description | Modules/FindLATEX.cmake searches for ps2pdf differently according to whether the machine is WIN32 or not. However, ps2pdf can be present as a Cygwin package, and the FIND_PROGRAM tests as written will not find it. | ||||||||||||||
Steps To Reproduce | 1. Install cygwin with cygwin ghostscript package 2. Do not install Windows native Ghostscript 3. Use cmake FIND_PACKAGE(LATEX) 4. Observe failure to find ps2pdf from ghostscript installation | ||||||||||||||
Additional Information | I recommend the code at the end of Modules/FindLATEX.cmake change to: IF (WIN32) IF (CYGWIN) FIND_PROGRAM(PS2PDF_CONVERTER NAMES ps2pdf14 ps2pdf ps2pdf14.bat PATHS ${GHOSTSCRIPT_LIBRARY_PATH} ) ELSE (CYGWIN) FIND_PROGRAM(PS2PDF_CONVERTER NAMES ps2pdf14.bat PATHS ${GHOSTSCRIPT_LIBRARY_PATH} ) ENDIF (CYGWIN) ELSE (WIN32) FIND_PROGRAM(PS2PDF_CONVERTER NAMES ps2pdf14 ps2pdf ) ENDIF (WIN32) I've tested this, and it will find Cygwin-native tools in preference to native Windows ones. | ||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2011-03-31 23:33 | Mark Abraham | New Issue | |||||||||||||
2011-09-30 03:25 | Mark Abraham | Note Added: 0027495 | |||||||||||||
2011-09-30 16:14 | Brad King | Relationship added | has duplicate 0012478 | ||||||||||||
2011-09-30 16:14 | Brad King | Assigned To | => Miguel Figueroa | ||||||||||||
2011-09-30 16:14 | Brad King | Status | new => assigned | ||||||||||||
2011-09-30 16:15 | Brad King | Note Added: 0027498 | |||||||||||||
2014-12-28 07:07 | gruenich | Note Added: 0037536 | |||||||||||||
2015-01-04 19:41 | Mark Abraham | Note Added: 0037553 | |||||||||||||
2015-01-08 10:53 | Brad King | Relationship added | related to 0015198 | ||||||||||||
2015-01-08 10:54 | Brad King | Note Added: 0037628 | |||||||||||||
2015-01-08 10:54 | Brad King | Status | assigned => resolved | ||||||||||||
2015-01-08 10:54 | Brad King | Resolution | open => fixed | ||||||||||||
2015-06-01 08:38 | Robert Maynard | Note Added: 0038830 | |||||||||||||
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|