[Insight-users] "configure" dumps core - problem with /bin/sh
Jarek Sacha
galicjan at yahoo . com
Wed, 29 May 2002 08:48:36 -0700 (PDT)
Short question is: How to setup ITK to use shell other then /bin/sh, e.g.
bash, when running scripts executed by cmake or Makefiles generated by
cmake?
Now for longer explanation.
I have problem running cmake for ITK on one of my systems. "configure"
scripts called by cmake in vxl and vcl directories always dump core. cmake
does not report any problems (a bug?), but since "configure" scripts are
not able to complete, the header files that should be generated for vxl
and vcl are not there. The problem is caused by buggy /bin/sh (this is
established). A solution would be to run "configure" using some other
shell, e.g. bash. I tested it by editing "configure" and replacing /bin/sh
with path to bash; no crashes and header files are generated correctly.
Unmodified configure files executed by bash also do not crash. It looks
that if cmake would use different shell to execute scripts crash problem
could be avoided. Is there a way to ask cmake to use different shell?
Jarek
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com