MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||
| 0012478 | CMake | Modules | public | 2011-09-30 03:40 | 2012-02-06 06:07 | |||||
| Reporter | Mark Abraham | |||||||||
| Assigned To | Brad King | |||||||||
| Priority | low | Severity | minor | Reproducibility | always | |||||
| Status | closed | Resolution | duplicate | |||||||
| Platform | Win32 | OS | cygwin | OS Version | 1.7 | |||||
| Product Version | CMake-2-8 | |||||||||
| Target Version | Fixed in Version | |||||||||
| Summary | 0012478: 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. Duplicate of issue 0012036 | |||||||||
| 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 | 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-09-30 03:40 | Mark Abraham | New Issue | ||||||||
| 2011-09-30 16:14 | Brad King | Relationship added | duplicate of 0012036 | |||||||
| 2011-09-30 16:14 | Brad King | Status | new => resolved | |||||||
| 2011-09-30 16:14 | Brad King | Resolution | open => duplicate | |||||||
| 2011-09-30 16:14 | Brad King | Assigned To | => Brad King | |||||||
| 2012-02-06 06:07 | David Cole | Note Added: 0028514 | ||||||||
| 2012-02-06 06:07 | David Cole | Status | resolved => closed | |||||||
| Notes | |||||
|
|
|||||
|
|
||||