Hi!

This was reported to the FreeBSD bug report system. Under special 
cirumstances, building postgresql fails. Please see 
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/47218

This sounds like a bug in the build process to me. I cannot confirm though. 
Please check with the original author.

/Palle


Wed, 11 Jun 2003 02:24:39 +0200
Palle Girgensohn <girgen@pingpong.net>
PostgreSQL client has problems when libbind is installed
Palle Girgensohn <girgen@pingpong.net> writes:
> [ linking libbind causes some obscure problems ]
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/47218

Given that we're not supporting BeOS at the moment anyway, I wonder
whether we need libbind on any platform.  I know linking it causes
some minor problems for me on HPUX (I have to take it out if I want
to build with profiling...)

Comments anyone?

			regards, tom lane

Thu, 12 Jun 2003 14:00:52 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: PostgreSQL client has problems when libbind is installed 
Don't break BeOS support.
A new version of BeOS will be released very soon.

http://www.yellowtab.com
http://www.yellowtab.com/board/
http://www.yellowtab.com/support/

Regards,
Yves


----- Original Message -----
From: "Tom Lane" <tgl@sss.pgh.pa.us>
To: "Palle Girgensohn" <girgen@pingpong.net>
Cc: <pgsql-bugs@postgresql.org>; "Tom Alsberg" <alsbergt@cs.huji.ac.il>;
<pgsql-hackers@postgresql.org>
Sent: Thursday, June 12, 2003 2:00 PM
Subject: Re: [BUGS] PostgreSQL client has problems when libbind is installed


> Palle Girgensohn <girgen@pingpong.net> writes:
> > [ linking libbind causes some obscure problems ]
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/47218
>
> Given that we're not supporting BeOS at the moment anyway, I wonder
> whether we need libbind on any platform.  I know linking it causes
> some minor problems for me on HPUX (I have to take it out if I want
> to build with profiling...)
>
> Comments anyone?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


Thu, 12 Jun 2003 18:51:18 -0400
"Yves R. Crevecoeur" <ycrevecoeur@nyc.rr.com>
Re: PostgreSQL client has problems when libbind is installed 
"Yves R. Crevecoeur" <ycrevecoeur@nyc.rr.com> writes:
> Don't break BeOS support.
> A new version of BeOS will be released very soon.

Well, the BeOS port is already broken, and has been for awhile,
because no one's bothered to step up and maintain it.  Are you
volunteering?  It needs work on semaphore support, at least.

Even on BeOS, is pulling in libbind really sensible?  I get the
impression that we're doing it just to get a couple of trivial
functions like inet_ntoa.  Those could be handled by supplying
replacement implementations, perhaps.

I'm not unwilling to put an if-test into configure so that
libbind is only included on BeOS, but I wonder whether that's
the best approach.

			regards, tom lane

Thu, 12 Jun 2003 21:00:56 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: PostgreSQL client has problems when libbind is installed 
Was this problem fixed? Can I request the problem report @ FreeBSD to be 
closed?

Thanks,
Palle

--On torsdag, juni 12, 2003 18.51.18 -0400 "Yves R. Crevecoeur" 
<ycrevecoeur@nyc.rr.com> wrote:

> Don't break BeOS support.
> A new version of BeOS will be released very soon.
>
> http://www.yellowtab.com
> http://www.yellowtab.com/board/
> http://www.yellowtab.com/support/
>
> Regards,
> Yves
>
>
> ----- Original Message -----
> From: "Tom Lane" <tgl@sss.pgh.pa.us>
> To: "Palle Girgensohn" <girgen@pingpong.net>
> Cc: <pgsql-bugs@postgresql.org>; "Tom Alsberg" <alsbergt@cs.huji.ac.il>;
> <pgsql-hackers@postgresql.org>
> Sent: Thursday, June 12, 2003 2:00 PM
> Subject: Re: [BUGS] PostgreSQL client has problems when libbind is
> installed
>
>
>> Palle Girgensohn <girgen@pingpong.net> writes:
>> > [ linking libbind causes some obscure problems ]
>> > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/47218
>>
>> Given that we're not supporting BeOS at the moment anyway, I wonder
>> whether we need libbind on any platform.  I know linking it causes
>> some minor problems for me on HPUX (I have to take it out if I want
>> to build with profiling...)
>>
>> Comments anyone?
>>
>> regards, tom lane
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 2: you can get off all lists at once with the unregister command
>>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html





Fri, 07 Nov 2003 01:50:39 +0100
Palle Girgensohn <girgen@pingpong.net>
Re: PostgreSQL client has problems when libbind is installed

I don't remember what we did with -lbind, but if someone shows up with
BeOS, we will get it working.

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

Palle Girgensohn wrote:
> Was this problem fixed? Can I request the problem report @ FreeBSD to be 
> closed?
> 
> Thanks,
> Palle
> 
> --On torsdag, juni 12, 2003 18.51.18 -0400 "Yves R. Crevecoeur" 
> <ycrevecoeur@nyc.rr.com> wrote:
> 
> > Don't break BeOS support.
> > A new version of BeOS will be released very soon.
> >
> > http://www.yellowtab.com
> > http://www.yellowtab.com/board/
> > http://www.yellowtab.com/support/
> >
> > Regards,
> > Yves
> >
> >
> > ----- Original Message -----
> > From: "Tom Lane" <tgl@sss.pgh.pa.us>
> > To: "Palle Girgensohn" <girgen@pingpong.net>
> > Cc: <pgsql-bugs@postgresql.org>; "Tom Alsberg" <alsbergt@cs.huji.ac.il>;
> > <pgsql-hackers@postgresql.org>
> > Sent: Thursday, June 12, 2003 2:00 PM
> > Subject: Re: [BUGS] PostgreSQL client has problems when libbind is
> > installed
> >
> >
> >> Palle Girgensohn <girgen@pingpong.net> writes:
> >> > [ linking libbind causes some obscure problems ]
> >> > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/47218
> >>
> >> Given that we're not supporting BeOS at the moment anyway, I wonder
> >> whether we need libbind on any platform.  I know linking it causes
> >> some minor problems for me on HPUX (I have to take it out if I want
> >> to build with profiling...)
> >>
> >> Comments anyone?
> >>
> >> regards, tom lane
> >>
> >> ---------------------------(end of broadcast)---------------------------
> >> TIP 2: you can get off all lists at once with the unregister command
> >>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> > http://www.postgresql.org/docs/faqs/FAQ.html
> 
> 
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
> 

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

Fri, 7 Nov 2003 09:32:54 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] PostgreSQL client has problems when libbind is
Tom sent a mail indicating it was fixed. Thanks,

Palle

--On fredag, november 07, 2003 09.32.54 -0500 Bruce Momjian 
<pgman@candle.pha.pa.us> wrote:

>
> I don't remember what we did with -lbind, but if someone shows up with
> BeOS, we will get it working.
>
> -------------------------------------------------------------------------
> --
>
> Palle Girgensohn wrote:
>> Was this problem fixed? Can I request the problem report @ FreeBSD to be
>> closed?
>>
>> Thanks,
>> Palle
>>
>> --On torsdag, juni 12, 2003 18.51.18 -0400 "Yves R. Crevecoeur"
>> <ycrevecoeur@nyc.rr.com> wrote:
>>
>> > Don't break BeOS support.
>> > A new version of BeOS will be released very soon.
>> >
>> > http://www.yellowtab.com
>> > http://www.yellowtab.com/board/
>> > http://www.yellowtab.com/support/
>> >
>> > Regards,
>> > Yves
>> >
>> >
>> > ----- Original Message -----
>> > From: "Tom Lane" <tgl@sss.pgh.pa.us>
>> > To: "Palle Girgensohn" <girgen@pingpong.net>
>> > Cc: <pgsql-bugs@postgresql.org>; "Tom Alsberg"
>> > <alsbergt@cs.huji.ac.il>; <pgsql-hackers@postgresql.org>
>> > Sent: Thursday, June 12, 2003 2:00 PM
>> > Subject: Re: [BUGS] PostgreSQL client has problems when libbind is
>> > installed
>> >
>> >
>> >> Palle Girgensohn <girgen@pingpong.net> writes:
>> >> > [ linking libbind causes some obscure problems ]
>> >> > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/47218
>> >>
>> >> Given that we're not supporting BeOS at the moment anyway, I wonder
>> >> whether we need libbind on any platform.  I know linking it causes
>> >> some minor problems for me on HPUX (I have to take it out if I want
>> >> to build with profiling...)
>> >>
>> >> Comments anyone?
>> >>
>> >> regards, tom lane
>> >>
>> >> ---------------------------(end of
>> >> broadcast)--------------------------- TIP 2: you can get off all
>> >> lists at once with the unregister command (send "unregister
>> >>     YourEmailAddressHere" to majordomo@postgresql.org)
>> >
>> >
>> > ---------------------------(end of
>> > broadcast)--------------------------- TIP 5: Have you checked our
>> > extensive FAQ?
>> >
>> > http://www.postgresql.org/docs/faqs/FAQ.html
>>
>>
>>
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 3: if posting/reading through Usenet, please send an appropriate
>>       subscribe-nomail command to majordomo@postgresql.org so that your
>>       message can get through to the mailing list cleanly
>>
>
> --
>   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





Fri, 07 Nov 2003 16:38:33 +0100
Palle Girgensohn <girgen@pingpong.net>
Re: [HACKERS] PostgreSQL client has problems when libbind is