MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015198 | CMake | CMake | public | 2014-10-07 08:09 | 2015-06-01 08:38 |
|
Reporter | Helfer Thomas | |
Assigned To | Brad King | |
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Linux | OS | debian | OS Version | wheezy |
Product Version | CMake 2.8.9 | |
Target Version | CMake 3.1 | Fixed in Version | CMake 3.1 | |
|
Summary | 0015198: ps2pdf not detected when cross-compiling |
Description | Hi,
ps2pdf not detected when cross-compiling (and only when cross-compiling), but latex is.
The main difference seems that latex is an executable and ps2pdf14 a script (I am using the standard texlive distribution). |
Steps To Reproduce | 1) decompress the attached archive and launch cmake in the created directory:
cmake . -DCMAKE_TOOLCHAIN_FILE=../ToolChain-i686-w64-mingw32.cmake
2) check the PS2PDF_CONVERTER value in CMakeCache.txt:
//Path to a program.
PS2PDF_CONVERTER:FILEPATH=PS2PDF_CONVERTER-NOTFOUND
|
Additional Information | ps2pdf is detected when no toolchain file is declared |
Tags | No tags attached. |
Relationships | related to | 0012036 | closed | Miguel Figueroa | Under Cygwin, FindLATEX does not find installed tools |
|
Attached Files | test-cmake.tar.bz2 (686) 2014-10-07 08:09 https://public.kitware.com/Bug/file/5269/test-cmake.tar.bz2 |
|
Issue History |
Date Modified | Username | Field | Change |
2014-10-07 08:09 | Helfer Thomas | New Issue | |
2014-10-07 08:09 | Helfer Thomas | File Added: test-cmake.tar.bz2 | |
2014-10-07 08:25 | Brad King | Note Added: 0036994 | |
2014-10-07 09:02 | Helfer Thomas | Note Added: 0036996 | |
2014-10-07 09:39 | Brad King | Note Added: 0036997 | |
2014-10-07 09:45 | Brad King | Note Added: 0036998 | |
2014-10-07 09:45 | Brad King | Assigned To | => Brad King |
2014-10-07 09:45 | Brad King | Status | new => assigned |
2014-10-07 09:45 | Brad King | Target Version | => CMake 3.1 |
2014-10-08 03:15 | Helfer Thomas | Note Added: 0037002 | |
2014-10-08 08:37 | Brad King | Note Added: 0037003 | |
2014-10-08 08:37 | Brad King | Status | assigned => resolved |
2014-10-08 08:37 | Brad King | Resolution | open => fixed |
2014-10-08 08:37 | Brad King | Fixed in Version | => CMake 3.1 |
2015-01-08 10:53 | Brad King | Relationship added | related to 0012036 |
2015-06-01 08:38 | Robert Maynard | Note Added: 0038829 | |
2015-06-01 08:38 | Robert Maynard | Status | resolved => closed |
Notes |
|
(0036994)
|
Brad King
|
2014-10-07 08:25
|
|
The find infrastructure may be trying extensions specific to the target instead of the host. |
|
|
(0036996)
|
Helfer Thomas
|
2014-10-07 09:02
|
|
I don't think extensions are in cause. pdftex est found, but ps2pdf14 not. None has any extension.
$ ls /usr/bin/pdftex
/usr/bin/pdftex
$ file /usr/bin/pdftex
/usr/bin/pdftex: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x547c31050311f4c8893149dd7a9f72fc52003475, strippe
$ ls /usr/bin/ps2pdf14
/usr/bin/ps2pdf14
$ file /usr/bin/ps2pdf14
/usr/bin/ps2pdf14: POSIX shell script, ASCII text executable |
|
|
(0036997)
|
Brad King
|
2014-10-07 09:39
|
|
|
|
(0036998)
|
Brad King
|
2014-10-07 09:45
|
|
|
|
(0037002)
|
Helfer Thomas
|
2014-10-08 03:15
|
|
The patch works. I think this can be marked as solved.
Thank you for your help. |
|
|
(0037003)
|
Brad King
|
2014-10-08 08:37
|
|
Great, thanks for reporting back.
|
|
|
(0038829)
|
Robert Maynard
|
2015-06-01 08:38
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|