BUG #1634: Configure step for build does not define HAVE_POSIX_SIGNALS

Started by Don Courtneyabout 21 years ago2 messagesbugs
Jump to latest
#1Don Courtney
donald.courtney@sun.com

The following bug has been logged online:

Bug reference: 1634
Logged by: Don Courtney
Email address: donald.courtney@sun.com
PostgreSQL version: 8.0/8.1
Operating system: Solaris 10
Description: Configure step for build does not define
HAVE_POSIX_SIGNALS
Details:

Subj: ./src/include/pg_config.h Does not define HAVE_POSIX_SIGNALS.

To recreate the problem on Solaris run the source build step for
configuring.

$ ./configure

Then

$ cd ./src/include

and see that there is no "1" in the define statement

#define HAVE_POSIX_SIGNALS

For postgres to run properly without ZOMBIE processes the workaround is to
hand edit this to:

/* Define to 1 if you have the POSIX signal interface. */
#define HAVE_POSIX_SIGNALS 1 <---- ADD 1

#2Bruce Momjian
bruce@momjian.us
In reply to: Don Courtney (#1)
Re: BUG #1634: Configure step for build does not define HAVE_POSIX_SIGNALS

Don Courtney wrote:

The following bug has been logged online:

Bug reference: 1634
Logged by: Don Courtney
Email address: donald.courtney@sun.com
PostgreSQL version: 8.0/8.1
Operating system: Solaris 10
Description: Configure step for build does not define
HAVE_POSIX_SIGNALS
Details:

Subj: ./src/include/pg_config.h Does not define HAVE_POSIX_SIGNALS.

To recreate the problem on Solaris run the source build step for
configuring.

$ ./configure

Then

$ cd ./src/include

and see that there is no "1" in the define statement

#define HAVE_POSIX_SIGNALS

We merely define the macro --- we don't need to set it to '1'.

For postgres to run properly without ZOMBIE processes the workaround is to
hand edit this to:

/* Define to 1 if you have the POSIX signal interface. */
#define HAVE_POSIX_SIGNALS 1 <---- ADD 1

That fixes it? You will notice all the mentions of HAVE_POSIX_SIGNALS
are testing if it is defined or not.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073