Обсуждение: Error building latest contrib/tsearch with 7.3.2

Поиск
Список
Период
Сортировка

Error building latest contrib/tsearch with 7.3.2

От
"Yurgis Baykshtis"
Дата:
I am trying to build contib/tsearch from the latest code provided here:
http://www.sai.msu.su/~megera/postgres/gist/

And getting this error message:

stat.c:390: conflicting types for `stat'
/usr/include/sys/stat.h:127: previous declaration of `stat'

Am I supposed to build the new tsearch code with the latest Postgres
snapshot?

Any help is appreciated.



Re: Error building latest contrib/tsearch with 7.3.2

От
Teodor Sigaev
Дата:

Yurgis Baykshtis wrote:
> I am trying to build contib/tsearch from the latest code provided here:
> http://www.sai.msu.su/~megera/postgres/gist/
> 
> And getting this error message:
> 
> stat.c:390: conflicting types for `stat'
> /usr/include/sys/stat.h:127: previous declaration of `stat'

OK, I see, stupid mistake :(. I'll change name of function as soon as possible, 
then new tar.gz will be avaliable.


> 
> Am I supposed to build the new tsearch code with the latest Postgres
> snapshot?
> 
> Any help is appreciated.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

-- 
Teodor Sigaev                                  E-mail: teodor@sigaev.ru



Re: Error building latest contrib/tsearch with 7.3.2

От
"Yurgis Baykshtis"
Дата:
Thank you, Teodor!

Could you please update the SQL file, too, since it is calling this
"stat" function from tserach.dll

Thanks again.

-----Original Message-----
From: Teodor Sigaev [mailto:teodor@sigaev.ru]
Sent: Wednesday, May 14, 2003 10:07 AM
To: Yurgis Baykshtis
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Error building latest contrib/tsearch with 7.3.2



Yurgis Baykshtis wrote:
> I am trying to build contib/tsearch from the latest code provided
here:
> http://www.sai.msu.su/~megera/postgres/gist/
>
> And getting this error message:
>
> stat.c:390: conflicting types for `stat'
> /usr/include/sys/stat.h:127: previous declaration of `stat'

OK, I see, stupid mistake :(. I'll change name of function as soon as
possible,
then new tar.gz will be avaliable.


>
> Am I supposed to build the new tsearch code with the latest Postgres
> snapshot?
>
> Any help is appreciated.
>
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
Teodor Sigaev                                  E-mail: teodor@sigaev.ru



Re: Error building latest contrib/tsearch with 7.3.2

От
Oleg Bartunov
Дата:
OK, download new version from
http://www.sai.msu.su/~megera/postgres/gist/
regards,
    Oleg
On Wed, 14 May 2003, Yurgis Baykshtis wrote:

> Thank you, Teodor!
>
> Could you please update the SQL file, too, since it is calling this
> "stat" function from tserach.dll
>
> Thanks again.
>
> -----Original Message-----
> From: Teodor Sigaev [mailto:teodor@sigaev.ru]
> Sent: Wednesday, May 14, 2003 10:07 AM
> To: Yurgis Baykshtis
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] Error building latest contrib/tsearch with 7.3.2
>
>
>
> Yurgis Baykshtis wrote:
> > I am trying to build contib/tsearch from the latest code provided
> here:
> > http://www.sai.msu.su/~megera/postgres/gist/
> >
> > And getting this error message:
> >
> > stat.c:390: conflicting types for `stat'
> > /usr/include/sys/stat.h:127: previous declaration of `stat'
>
> OK, I see, stupid mistake :(. I'll change name of function as soon as
> possible,
> then new tar.gz will be avaliable.
>
>
> >
> > Am I supposed to build the new tsearch code with the latest Postgres
> > snapshot?
> >
> > Any help is appreciated.
> >
> >
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
>
>
Regards,    Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83