[Remind-Fans] Compile error
costabel at wanadoo.fr
Mon May 17 01:38:02 EDT 2010
Ben Love wrote:
> * Palmer Andy wrote on [2010-05-16 13:29:27 +0100]:
>> I'm trying to compile Remind 3.01.08 on a Mac running OS X 10.6.3 but
>> keep getting the following message:
>> trap: usage: trap [-lp] [arg signal_spec ...]
>> Any ideas? I am aware of the authors viewpoint on Apple but am hoping
>> I may still get an answer. I can't really afford a new computer.
>> Thanks Andy.
> This is usually some sort of shell-related issue. Try using a
> different shell, especially if you're currently using something more
> exotic or special purpose (dash, busybox, etc).
There is no choice of shell, because the configure script starts with
#!/bin/sh. The /bin/sh in MacOSX, starting from 10.5, is POSIX
compliant, and adheres to a newer POSIX standard than the authors of the
configure script. In that standard, commands like
as used by configure, are illegal. See the description of "trap" in
The command now has to be
trap - INT
trap "" INT
As Andrew S. Tanenbaum said "The nice thing about standards is that
there are so many of them to choose from."
The best thing to do is to edit the configure script and to delete the
whole paragraph lines 1694-1708 where the authors express their puerile
hatred of Apple. It serves no purpose.
More information about the Remind-fans