Can't t compile current HEAD

Started by Pavel Stehuleover 17 years ago6 messages
#1Pavel Stehule
pavel.stehule@gmail.com

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

#2Pavan Deolasee
pavan.deolasee@gmail.com
In reply to: Pavel Stehule (#1)
Re: Can't t compile current HEAD

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

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Pavel Stehule (#1)
Re: Can't t compile current HEAD

"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

#4Pavel Stehule
pavel.stehule@gmail.com
In reply to: Tom Lane (#3)
Re: Can't t compile current HEAD

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

Show quoted text

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

#5Nikhils
nikkhils@gmail.com
In reply to: Pavel Stehule (#4)
Re: Can't t compile current HEAD

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

#6Greg Smith
gsmith@gregsmith.com
In reply to: Nikhils (#5)
Re: Can't t compile current HEAD

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