[Remind-Fans] Compile error

Martin Costabel 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]:
>> Hi,
>>
>> 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

   trap INT

as used by configure, are illegal. See the description of "trap" in 
<http://www.opengroup.org/onlinepubs/9699919799/>
The command now has to be
   trap - INT
or
   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.

-- 
Martin





More information about the Remind-fans mailing list