ipcclean broken on OSX

Started by Neil Conwayalmost 22 years ago4 messagesbugs
Jump to latest
#1Neil Conway
neilc@samurai.com

Using a fresh checkout from CVS HEAD, I get the following on my machine:

% ipcclean --version
/Users/neilc/local/pgsql-cvs/bin/ipcclean: line 114: ipcs: command not
found

This machine is running a pretty standard install of OSX 10.3.3.

At the very least, we shouldn't bother installing ipcclean if it is
totally non-functional on this platform.

-Neil

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#1)
Re: ipcclean broken on OSX

Neil Conway <neilc@samurai.com> writes:

% ipcclean --version
/Users/neilc/local/pgsql-cvs/bin/ipcclean: line 114: ipcs: command not
found

This machine is running a pretty standard install of OSX 10.3.3.

OSX's support of SysV IPC verges on the brain-dead. I suggest filing a
bug report with Apple about their lack of ipcs and ipcrm.

At the very least, we shouldn't bother installing ipcclean if it is
totally non-functional on this platform.

We install ipcclean on all platforms whether it functions or not.
I believe there are a number of other platforms where it doesn't work
for lack of porting effort :-( ... but the Apple case is not our fault.

regards, tom lane

#3Neil Conway
neilc@samurai.com
In reply to: Tom Lane (#2)
Re: ipcclean broken on OSX

On 23-Apr-04, at 10:37 PM, Tom Lane wrote:

We install ipcclean on all platforms whether it functions or not.

Right; my question is why we do that. What purpose does it serve to
install a script that has no hope of working on this particular
platform?

-Neil

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Neil Conway (#3)
Re: ipcclean broken on OSX

Neil Conway <neilc@samurai.com> writes:

Right; my question is why we do that. What purpose does it serve to
install a script that has no hope of working on this particular
platform?

So we can get bug reports?

In this case the bug report has to be directed elsewhere, but I see
no point in not installing the script. Someday Apple will fix it.

regards, tom lane