Re: [GENERAL] getaddrinfo.c error

2009-12-16 Thread Peter Eisentraut
On mån, 2009-12-14 at 09:27 -0500, Tom Lane wrote: > Alvaro Herrera writes: > > Tom Lane wrote: > >> Hm, I wonder whether the reason the OP ran into trouble was that he > >> followed that guide :-(. Relying on manual invocation of configure > >> is a sure recipe for hitting weird breakage anytime

Re: [GENERAL] getaddrinfo.c error

2009-12-14 Thread Tom Lane
Alvaro Herrera writes: > Tom Lane wrote: >> Hm, I wonder whether the reason the OP ran into trouble was that he >> followed that guide :-(. Relying on manual invocation of configure >> is a sure recipe for hitting weird breakage anytime somebody changes >> the configure input files ... Surely the

Re: [GENERAL] getaddrinfo.c error

2009-12-14 Thread Alvaro Herrera
Tom Lane wrote: > Greg Smith writes: > > wrote: > >> Hi,guys.I ama studentwho want to studyPostgreSQL.I encountered the > >> following errors which I don't know how to fix while I using eclipse > >> to built pgsql: > > > I don't know why this specific one isn't working, but we do have

Re: [GENERAL] getaddrinfo.c error

2009-12-13 Thread Tom Lane
Greg Smith writes: > ¹ØÍâÁ÷ÀË wrote: >> Hi,guys.I ama studentwho want to studyPostgreSQL.I encountered the >> following errors which I don't know how to fix while I using eclipse >> to built pgsql: > I don't know why this specific one isn't working, but we do have a very > detailed guide to ge

Re: [GENERAL] getaddrinfo.c error

2009-12-13 Thread Greg Smith
wrote: Hi,guys.I ama studentwho want to studyPostgreSQL.I encountered the following errors which I don't know how to fix while I using eclipse to built pgsql: I don't know why this specific one isn't working, but we do have a very detailed guide to getting PostgreSQL to build in Eclips

Re: [GENERAL] getaddrinfo.c error

2009-12-13 Thread John R Pierce
Craig Ringer wrote: You should really just stick to using PostgreSQL's existing, tested build tools and a well tested and supported compiler. You can still use something like Eclipse if you want to use an IDE to edit the sources - you just need to set the project up to use the existing postgre

Re: [GENERAL] getaddrinfo.c error

2009-12-13 Thread Craig Ringer
On 13/12/2009 3:45 PM, wrote: Hi,guys.I am a student who want to study PostgreSQL.I encountered the following errors which I don't know how to fix while I using eclipse to built pgsql: Eclipse isn't a C compiler. It's an integrated development environment. I assume you're using GCC as

[GENERAL] getaddrinfo.c error

2009-12-12 Thread 关外流浪
Hi,guys.I am a student who want to study PostgreSQL.I encountered the following errors which I don't know how to fix while I using eclipse to built pgsql: " ../src/port/getaddrinfo.c:360: error: conflicting types for 'getnameinfo' /usr/inlclude/netdb.h:653: note: previous declaration of 'get