MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0013335 | CMake | CMakeSetup | public | 2012-06-21 09:54 | 2013-01-09 10:56 | |||||
Reporter | MartinK | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | duplicate | |||||||
Platform | x86 and SPARC | OS | Solaris | OS Version | 10 | |||||
Product Version | CMake 2.8.8 | |||||||||
Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | |||||||
Summary | 0013335: Build installs into wrong directory due to bug in bootstrap script | |||||||||
Description | CMake build on Solaris with a given prefix fails since the substitution expression is incompatible with Solaris /bin/sh: bootstrap:547 --prefix=*) cmake_prefix_dir=`cmake_fix_slashes "${1#*=}"` ;; Result on Solaris 10 (x86 and SPARC) is "bad substitution", resulting in empty cmake_prefix_dir, thus trying to install into the root directory. Workaround is to change the shell to /bin/bash. | |||||||||
Steps To Reproduce | - Run configure with some value for --prefix (or --datadir etc) on Solaris. - Run following test script with at least one parameter on Solaris: #!/bin/sh echo "${1#*=}" | |||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2012-06-21 09:54 | MartinK | New Issue | ||||||||
2012-06-21 09:55 | Brad King | Relationship added | duplicate of 0013199 | |||||||
2012-06-21 09:55 | Brad King | Status | new => resolved | |||||||
2012-06-21 09:55 | Brad King | Fixed in Version | => CMake 2.8.9 | |||||||
2012-06-21 09:55 | Brad King | Resolution | open => fixed | |||||||
2012-06-21 09:55 | Brad King | Assigned To | => Brad King | |||||||
2012-06-21 09:56 | Brad King | Resolution | fixed => duplicate | |||||||
2012-06-21 09:56 | Brad King | Note Added: 0029798 | ||||||||
2012-08-09 19:58 | David Cole | Target Version | => CMake 2.8.9 | |||||||
2013-01-09 10:56 | Robert Maynard | Note Added: 0032040 | ||||||||
2013-01-09 10:56 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|