On Aug 17 2003, ohp@pyrenet.fr wrote:

> Did something changed on today's cvs.
> 
> src/template/unixware is wrong on last line: THREAD_CFLAGS += -D_REENTRANT
> should be THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
No it shouldn't....

The original patch worked just fine...

I'll look when I get back from Forum. 


> Then, configure can't find strerror_r ...
> 
> That worked like a charm 2 days ago...
> On Fri, 15 Aug 2003 ohp@pyrenet.fr wrote:
> 
> > Date: Fri, 15 Aug 2003 22:36:22 +0200 (MET DST)
> > From: ohp@pyrenet.fr
> > To: Larry Rosenman <ler@lerctr.org>
> > Cc: pgsql-hackers@postgresql.org
> > Subject: Re: UnixWare on Current CVS: Success!
> >
> > Yep,
> >
> > Just tested it with a full check out...
> >
> > GREAT JOB!
> > Thanks to uou all!
> > On Thu, 14 Aug 2003, Larry Rosenman wrote:
> >
> > > Date: Thu, 14 Aug 2003 22:23:17 -0500
> > > From: Larry Rosenman <ler@lerctr.org>
> > > To: pgsql-hackers@postgresql.org
> > > Cc: ohp@pyrenet.fr
> > > Subject: UnixWare on Current CVS: Success!
> > >
> > > Thanks to Tom and Bruce, we can now compile CVS 7.4 on UnixWare with 
> > > OUT any tweaks, including the --enable-thread-safety switch.
> > >
> > > Here is what I used, and is now running on lerami:
> > >
> > > CC=cc CXX=CC ./configure  --prefix=/usr/local/pgsql --enable-syslog \
> > >         --with-CXX --enable-multibyte --enable-cassert \
> > >         --with-includes=/usr/local/include 
> > > --with-libs=/usr/local/lib \
> > >         --with-tcl --with-tclconfig=/usr/local/lib \
> > >         --with-tkconfig=/usr/local/lib  --enable-locale \
> > >         --enable-thread-safety
> > >
> > >
> > > Thanks, Guys!
> > >
> > > LER
> > >
> > >
> > >
> >
> >
> 
> 

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


18 Aug 2003 10:31:59 -0500
Larry Rosenman <ler@lerctr.org>
Re: UnixWare on Current CVS: Success!
Larry Rosenman wrote:
> On Aug 17 2003, ohp@pyrenet.fr wrote:
> 
> > Did something changed on today's cvs.
> > 
> > src/template/unixware is wrong on last line: THREAD_CFLAGS += -D_REENTRANT
> > should be THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
> No it shouldn't....
> 
> The original patch worked just fine...
> 
> I'll look when I get back from Forum. 

I changed the define to be:

	THREAD_CFLAGS += "-D_REENTRANT"

Do the quotations help?

-- 
  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

Sun, 24 Aug 2003 19:21:57 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: UnixWare on Current CVS: Success!
Didn't seem to.  Did you see my posts from fri/sat on -hackers?

I included what DID work for me.

LER


--On Sunday, August 24, 2003 19:21:57 -0400 Bruce Momjian 
<pgman@candle.pha.pa.us> wrote:

> Larry Rosenman wrote:
>> On Aug 17 2003, ohp@pyrenet.fr wrote:
>>
>> > Did something changed on today's cvs.
>> >
>> > src/template/unixware is wrong on last line: THREAD_CFLAGS +=
>> > -D_REENTRANT should be THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
>> No it shouldn't....
>>
>> The original patch worked just fine...
>>
>> I'll look when I get back from Forum.
>
> I changed the define to be:
>
> 	THREAD_CFLAGS += "-D_REENTRANT"
>
> Do the quotations help?



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


Sun, 24 Aug 2003 21:30:53 -0500
Larry Rosenman <ler@lerctr.org>
Re: UnixWare on Current CVS: Success!

OK, I now realized this code is shell script, not Makefile content.

Code changed to:

	THREAD_CFLAGS = "$THREAD_CFLAGS -D_REENTRANT"


---------------------------------------------------------------------------

Larry Rosenman wrote:
> Didn't seem to.  Did you see my posts from fri/sat on -hackers?
> 
> I included what DID work for me.
> 
> LER
> 
> 
> --On Sunday, August 24, 2003 19:21:57 -0400 Bruce Momjian 
> <pgman@candle.pha.pa.us> wrote:
> 
> > Larry Rosenman wrote:
> >> On Aug 17 2003, ohp@pyrenet.fr wrote:
> >>
> >> > Did something changed on today's cvs.
> >> >
> >> > src/template/unixware is wrong on last line: THREAD_CFLAGS +=
> >> > -D_REENTRANT should be THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
> >> No it shouldn't....
> >>
> >> The original patch worked just fine...
> >>
> >> I'll look when I get back from Forum.
> >
> > I changed the define to be:
> >
> > 	THREAD_CFLAGS += "-D_REENTRANT"
> >
> > Do the quotations help?
> 
> 
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 

-- 
  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

Sun, 24 Aug 2003 22:49:00 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: UnixWare on Current CVS: Success!


--On Sunday, August 24, 2003 22:49:00 -0400 Bruce Momjian 
<pgman@candle.pha.pa.us> wrote:

>
> OK, I now realized this code is shell script, not Makefile content.
>
> Code changed to:
>
> 	THREAD_CFLAGS = "$THREAD_CFLAGS -D_REENTRANT"
Ok, but we are **STILL** broke for the --enable-thread-safety flag due to 
your commit
requiring all 3 *_r (gethostbyname, strerror, and getpwuid) functions, even 
though all
UnixWare has is the getpwuid_r function.

Please either revert that requirement, or apply a patch to allow UnixWare 
to compile with
--enable-thread-safety by making the change to src/port/thread.c to use a 
HAVE_GETPWUID_R flag, and arrange for configure to set that flag.

Thanks,
LER

>
>
> -------------------------------------------------------------------------
> --
>
> Larry Rosenman wrote:
>> Didn't seem to.  Did you see my posts from fri/sat on -hackers?
>>
>> I included what DID work for me.
>>
>> LER
>>
>>
>> --On Sunday, August 24, 2003 19:21:57 -0400 Bruce Momjian
>> <pgman@candle.pha.pa.us> wrote:
>>
>> > Larry Rosenman wrote:
>> >> On Aug 17 2003, ohp@pyrenet.fr wrote:
>> >>
>> >> > Did something changed on today's cvs.
>> >> >
>> >> > src/template/unixware is wrong on last line: THREAD_CFLAGS +=
>> >> > -D_REENTRANT should be THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
>> >> No it shouldn't....
>> >>
>> >> The original patch worked just fine...
>> >>
>> >> I'll look when I get back from Forum.
>> >
>> > I changed the define to be:
>> >
>> > 	THREAD_CFLAGS += "-D_REENTRANT"
>> >
>> > Do the quotations help?
>>
>>
>>
>> --
>> Larry Rosenman                     http://www.lerctr.org/~ler
>> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
>> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


Sun, 24 Aug 2003 21:51:54 -0500
Larry Rosenman <ler@lerctr.org>
Re: UnixWare on Current CVS: Success!

I am working my way through my email to that ***ISSUE*** (*** looks kind
of silly, doesn't it).  If you are putting those stars there because I
am not working on that issue fast enough for you, well ...

---------------------------------------------------------------------------

Larry Rosenman wrote:
> 
> 
> --On Sunday, August 24, 2003 22:49:00 -0400 Bruce Momjian 
> <pgman@candle.pha.pa.us> wrote:
> 
> >
> > OK, I now realized this code is shell script, not Makefile content.
> >
> > Code changed to:
> >
> > 	THREAD_CFLAGS = "$THREAD_CFLAGS -D_REENTRANT"
> Ok, but we are **STILL** broke for the --enable-thread-safety flag due to 
> your commit
> requiring all 3 *_r (gethostbyname, strerror, and getpwuid) functions, even 
> though all
> UnixWare has is the getpwuid_r function.
> 
> Please either revert that requirement, or apply a patch to allow UnixWare 
> to compile with
> --enable-thread-safety by making the change to src/port/thread.c to use a 
> HAVE_GETPWUID_R flag, and arrange for configure to set that flag.
> 
> Thanks,
> LER
> 
> >
> >
> > -------------------------------------------------------------------------
> > --
> >
> > Larry Rosenman wrote:
> >> Didn't seem to.  Did you see my posts from fri/sat on -hackers?
> >>
> >> I included what DID work for me.
> >>
> >> LER
> >>
> >>
> >> --On Sunday, August 24, 2003 19:21:57 -0400 Bruce Momjian
> >> <pgman@candle.pha.pa.us> wrote:
> >>
> >> > Larry Rosenman wrote:
> >> >> On Aug 17 2003, ohp@pyrenet.fr wrote:
> >> >>
> >> >> > Did something changed on today's cvs.
> >> >> >
> >> >> > src/template/unixware is wrong on last line: THREAD_CFLAGS +=
> >> >> > -D_REENTRANT should be THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
> >> >> No it shouldn't....
> >> >>
> >> >> The original patch worked just fine...
> >> >>
> >> >> I'll look when I get back from Forum.
> >> >
> >> > I changed the define to be:
> >> >
> >> > 	THREAD_CFLAGS += "-D_REENTRANT"
> >> >
> >> > Do the quotations help?
> >>
> >>
> >>
> >> --
> >> Larry Rosenman                     http://www.lerctr.org/~ler
> >> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> >> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 
> 
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
> 

-- 
  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

Sun, 24 Aug 2003 23:17:07 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: UnixWare on Current CVS: Success!


--On Sunday, August 24, 2003 23:17:07 -0400 Bruce Momjian 
<pgman@candle.pha.pa.us> wrote:

>
> I am working my way through my email to that ***ISSUE*** (*** looks kind
> of silly, doesn't it).  If you are putting those stars there because I
> am not working on that issue fast enough for you, well ...
I posted stuff on Friday/Saturday with no comment, as soon as I returned 
from Las Vegas.

So, I'm a little cranky.

Sorry.

LER

>
> -------------------------------------------------------------------------
> --
>
> Larry Rosenman wrote:
>>
>>
>> --On Sunday, August 24, 2003 22:49:00 -0400 Bruce Momjian
>> <pgman@candle.pha.pa.us> wrote:
>>
>> >
>> > OK, I now realized this code is shell script, not Makefile content.
>> >
>> > Code changed to:
>> >
>> > 	THREAD_CFLAGS = "$THREAD_CFLAGS -D_REENTRANT"
>> Ok, but we are **STILL** broke for the --enable-thread-safety flag due
>> to  your commit
>> requiring all 3 *_r (gethostbyname, strerror, and getpwuid) functions,
>> even  though all
>> UnixWare has is the getpwuid_r function.
>>
>> Please either revert that requirement, or apply a patch to allow
>> UnixWare  to compile with
>> --enable-thread-safety by making the change to src/port/thread.c to use
>> a  HAVE_GETPWUID_R flag, and arrange for configure to set that flag.
>>
>> Thanks,
>> LER
>>
>> >
>> >
>> > ----------------------------------------------------------------------
>> > --- --
>> >
>> > Larry Rosenman wrote:
>> >> Didn't seem to.  Did you see my posts from fri/sat on -hackers?
>> >>
>> >> I included what DID work for me.
>> >>
>> >> LER
>> >>
>> >>
>> >> --On Sunday, August 24, 2003 19:21:57 -0400 Bruce Momjian
>> >> <pgman@candle.pha.pa.us> wrote:
>> >>
>> >> > Larry Rosenman wrote:
>> >> >> On Aug 17 2003, ohp@pyrenet.fr wrote:
>> >> >>
>> >> >> > Did something changed on today's cvs.
>> >> >> >
>> >> >> > src/template/unixware is wrong on last line: THREAD_CFLAGS +=
>> >> >> > -D_REENTRANT should be THREAD_CFLAGS="$THREAD_CFLAGS
>> >> >> > -D_REENTRANT"
>> >> >> No it shouldn't....
>> >> >>
>> >> >> The original patch worked just fine...
>> >> >>
>> >> >> I'll look when I get back from Forum.
>> >> >
>> >> > I changed the define to be:
>> >> >
>> >> > 	THREAD_CFLAGS += "-D_REENTRANT"
>> >> >
>> >> > Do the quotations help?
>> >>
>> >>
>> >>
>> >> --
>> >> Larry Rosenman                     http://www.lerctr.org/~ler
>> >> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
>> >> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>>
>>
>>
>> --
>> Larry Rosenman                     http://www.lerctr.org/~ler
>> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
>> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 7: don't forget to increase your free space map settings



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


Sun, 24 Aug 2003 22:20:49 -0500
Larry Rosenman <ler@lerctr.org>
Re: UnixWare on Current CVS: Success!

NP.  We will get this fixed.  I am still thinking about it, and will do
something when I get to that email.

I am trying to avoid having a template/* variable for each *_r function,
but that may be required.  The "try for *_r library and continue if you
can't find it" just seems too risky.  We might have to add those three
variables and you set to yes/no in each template file for each platform.

---------------------------------------------------------------------------

Larry Rosenman wrote:
> 
> 
> --On Sunday, August 24, 2003 23:17:07 -0400 Bruce Momjian 
> <pgman@candle.pha.pa.us> wrote:
> 
> >
> > I am working my way through my email to that ***ISSUE*** (*** looks kind
> > of silly, doesn't it).  If you are putting those stars there because I
> > am not working on that issue fast enough for you, well ...
> I posted stuff on Friday/Saturday with no comment, as soon as I returned 
> from Las Vegas.
> 
> So, I'm a little cranky.
> 
> Sorry.
> 
> LER
> 
> >
> > -------------------------------------------------------------------------
> > --
> >
> > Larry Rosenman wrote:
> >>
> >>
> >> --On Sunday, August 24, 2003 22:49:00 -0400 Bruce Momjian
> >> <pgman@candle.pha.pa.us> wrote:
> >>
> >> >
> >> > OK, I now realized this code is shell script, not Makefile content.
> >> >
> >> > Code changed to:
> >> >
> >> > 	THREAD_CFLAGS = "$THREAD_CFLAGS -D_REENTRANT"
> >> Ok, but we are **STILL** broke for the --enable-thread-safety flag due
> >> to  your commit
> >> requiring all 3 *_r (gethostbyname, strerror, and getpwuid) functions,
> >> even  though all
> >> UnixWare has is the getpwuid_r function.
> >>
> >> Please either revert that requirement, or apply a patch to allow
> >> UnixWare  to compile with
> >> --enable-thread-safety by making the change to src/port/thread.c to use
> >> a  HAVE_GETPWUID_R flag, and arrange for configure to set that flag.
> >>
> >> Thanks,
> >> LER
> >>
> >> >
> >> >
> >> > ----------------------------------------------------------------------
> >> > --- --
> >> >
> >> > Larry Rosenman wrote:
> >> >> Didn't seem to.  Did you see my posts from fri/sat on -hackers?
> >> >>
> >> >> I included what DID work for me.
> >> >>
> >> >> LER
> >> >>
> >> >>
> >> >> --On Sunday, August 24, 2003 19:21:57 -0400 Bruce Momjian
> >> >> <pgman@candle.pha.pa.us> wrote:
> >> >>
> >> >> > Larry Rosenman wrote:
> >> >> >> On Aug 17 2003, ohp@pyrenet.fr wrote:
> >> >> >>
> >> >> >> > Did something changed on today's cvs.
> >> >> >> >
> >> >> >> > src/template/unixware is wrong on last line: THREAD_CFLAGS +=
> >> >> >> > -D_REENTRANT should be THREAD_CFLAGS="$THREAD_CFLAGS
> >> >> >> > -D_REENTRANT"
> >> >> >> No it shouldn't....
> >> >> >>
> >> >> >> The original patch worked just fine...
> >> >> >>
> >> >> >> I'll look when I get back from Forum.
> >> >> >
> >> >> > I changed the define to be:
> >> >> >
> >> >> > 	THREAD_CFLAGS += "-D_REENTRANT"
> >> >> >
> >> >> > Do the quotations help?
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Larry Rosenman                     http://www.lerctr.org/~ler
> >> >> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> >> >> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> >>
> >>
> >>
> >> --
> >> Larry Rosenman                     http://www.lerctr.org/~ler
> >> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> >> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> >>
> >>
> >> ---------------------------(end of broadcast)---------------------------
> >> TIP 7: don't forget to increase your free space map settings
> 
> 
> 
> -- 
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
> 

-- 
  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

Mon, 25 Aug 2003 00:03:43 -0400 (EDT)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: UnixWare on Current CVS: Success!