Обсуждение: Can't t compile current HEAD

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

Can't t compile current HEAD

От
"Pavel Stehule"
Дата:
Hello

I got some errors:

In file included from gistget.c:20:
../../../../src/include/pgstat.h:15:36: error:
portability/instr_time.h: není souborem ani adresářem
In file included from gistget.c:20:
../../../../src/include/pgstat.h:326: error: expected
specifier-qualifier-list before 'instr_time'
../../../../src/include/pgstat.h:566: error: expected
specifier-qualifier-list before 'instr_time'

I have Fedora 8

Regards
Pavel Stehule

Re: Can't t compile current HEAD

От
"Pavan Deolasee"
Дата:
On Thu, May 15, 2008 at 10:00 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> Hello
>
> I got some errors:
>
>

Works for me. I am on the same platform (FC 8). If you have CVS
updated, did you use -d option to get the new directories added to the
repository ? I see a new include/portability directory added
yesterday.

Thanks,
Pavan

-- 
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com


Re: Can't t compile current HEAD

От
Tom Lane
Дата:
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> I got some errors:

> In file included from gistget.c:20:
> ../../../../src/include/pgstat.h:15:36: error:
> portability/instr_time.h: není souborem ani adresářem

I'll bet you forgot -d in your last cvs update command.

I always use a ~/.cvsrc containing

cvs -z3
update -d -P
checkout -P

The -z3 might be an obsolete habit depending on what your network
connection is like ... but the other options are pretty much *required*
for sane behavior.
        regards, tom lane


Re: Can't t compile current HEAD

От
"Pavel Stehule"
Дата:
2008/5/15 Tom Lane <tgl@sss.pgh.pa.us>:
> "Pavel Stehule" <pavel.stehule@gmail.com> writes:
>> I got some errors:
>
>> In file included from gistget.c:20:
>> ../../../../src/include/pgstat.h:15:36: error:
>> portability/instr_time.h: není souborem ani adresářem
>
> I'll bet you forgot -d in your last cvs update command.

yes, I forgot it

>
> I always use a ~/.cvsrc containing
>
> cvs -z3
> update -d -P
> checkout -P
>

good advice,

thank you
Pavel

> The -z3 might be an obsolete habit depending on what your network
> connection is like ... but the other options are pretty much *required*
> for sane behavior.
>
>                        regards, tom lane
>

Re: Can't t compile current HEAD

От
Nikhils
Дата:
Hi,

On Thu, May 15, 2008 at 11:59 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> I always use a ~/.cvsrc containing
>
> cvs -z3
> update -d -P
> checkout -P
>

My .cvsrc also includes:

diff -c

So that a patch I submit does not get bounced back for a non-context diff :)

Regards,
Nikhils
--
EnterpriseDB http://www.enterprisedb.com

Re: Can't t compile current HEAD

От
Greg Smith
Дата:
On Thu, 15 May 2008, Nikhils wrote:

> On Thu, May 15, 2008 at 11:59 AM, Pavel Stehule <pavel.stehule@gmail.com>
> wrote:
>>> I always use a ~/.cvsrc containing
> My .cvsrc also includes:

Good hints, and there's now a little section including them all at 
http://wiki.postgresql.org/wiki/Working_with_CVS#Initial_setup

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD