Thread: Can't t compile current HEAD

Can't t compile current HEAD

From
"Pavel Stehule"
Date:
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

From
"Pavan Deolasee"
Date:
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

From
Tom Lane
Date:
"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

From
"Pavel Stehule"
Date:
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

From
Nikhils
Date:
Hi, <br /><br /><div class="gmail_quote">On Thu, May 15, 2008 at 11:59 AM, Pavel Stehule <<a
href="mailto:pavel.stehule@gmail.com">pavel.stehule@gmail.com</a>>wrote:<br /><blockquote class="gmail_quote"
style="border-left:1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div
class="Ih2E3d">>I always use a ~/.cvsrc containing<br /> ><br /> > cvs -z3<br /> > update -d -P<br /> >
checkout-P<br /> ><br /></div></blockquote></div><br />My .cvsrc also includes:<br /><br />diff -c<br /><br />So
thata patch I submit does not get bounced back for a non-context diff :)<br /><br clear="all" />Regards,<br
/>Nikhils<br/>-- <br />EnterpriseDB <a href="http://www.enterprisedb.com">http://www.enterprisedb.com</a> 

Re: Can't t compile current HEAD

From
Greg Smith
Date:
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