Am 19.01.2011 21:55, schrieb Bruno Postle:
> In most shells 'echo' is a built-in command and /bin/echo is similar but
> different.  So the behaviour will depend on the default shell, or the
> origin of the /bin/echo tool, or both (which could vary between OS X
> releases).
> 
> The .pto.mk file assumes that the shell is 'bash', so this problem could
> be fixable by forcing the shell in the .pto.mk file:
> 
>   SHELL=/bin/bash
> 
> (we should maybe do this anyway)

At least in linux systems, you can not (anymore) assume that the default
shell is bash. Most debian derived systems nowadays use dash as the
default command line interpreter and if you want to have bash, you will
need to install it separately.

In quite some projects I'm aware of, massive chunks of shell code are
(or have been) scrutinized for so called bashisms in oder to make sure
they can be used on systems without an installed bash.

Therefore, building a dependency for hugin on bash does not seem to be
recommended.

Anyway, whether echo is a builtin or an external utility, in both cases
it should be capable to work with wxWidgets. If not, either the shell
providing the echo builtin, the /bin/echo utility or wxWidget are at
fault. And if I got the problem correctly, this seems to be the case
with mac os 10.5.4 used by Steve, but not with the mac os used by George
or Harry.

> If this doesn't work, something else to try would be forcing the echo
> command instead:
> 
>   ECHO=/bin/echo
> 

This would select the external echo utility in favor of the (eventually)
built in echo functionality of the shell in charge. In order to
definitely getting rid of this, "ECHO=/bin/true"" could be used.
However, in this case all terminal output is suppressed. This includes
eventual error messages.

With kind regards

Stefan Peter

-- 
In theory there is no difference between theory and practice. In
practice there is.

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to