Re: [GENERAL] psql 7.0.0 beta

From: Tomaz Borstnar <tomaz(dot)borstnar(at)over(dot)net>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] psql 7.0.0 beta
Date: 2000-03-01 11:23:05
Message-ID: 4.3.0.20000301101707.04c85f00@193.189.189.100
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

At 11:06 AM 28/02/00, Ulf Mehlig wrote the following message:
>P.S.: Ah, there was another problem, but I wasn able to reproduce it;
> after compiling, "make install" did not install "initdb"; after
> repeating the install, everything was in place (Redhat 6.1);
> another install on RedHat 6.0 worked without problems.
I couldn't compile it on FreeBSD 3.3-STABLE and FreeBSD 3.2-STABLE. Tried
with stock gcc (2.7.2.1a faik) and gcc 2.95.2:

/usr/local/bin/gcc295 -I../../include -I../../backend -O2 -m486 -pipe
-I.. -c parse_type.c -o parse_type.o
/usr/local/bin/gcc295 -I../../include -I../../backend -O2 -m486 -pipe
-I.. -c parse_coerce.c -o parse_coer
ce.o
/usr/local/bin/gcc295 -I../../include -I../../backend -O2 -m486 -pipe
-I.. -c parse_target.c -o parse_targ
et.o
/usr/local/bin/gcc295 -I../../include -I../../backend -O2 -m486 -pipe
-I.. -c scan.c -o scan.o
/usr/local/bin/gcc295 -I../../include -I../../backend -O2 -m486 -pipe
-I.. -c scansup.c -o scansup.o
In file included from scansup.c:20:
../../include/miscadmin.h:229: parse error before `pid'
gmake[2]: *** [scansup.o] Error 1
gmake[2]: Leaving directory `/usr/work/databases/pgsql/src/backend/parser'
gmake[1]: *** [parser.dir] Error 2
gmake[1]: Leaving directory `/usr/work/databases/pgsql/src/backend'
gmake: *** [all] Error 2

The file has this:

#define PIDFNAME "postmaster.pid"

extern void SetPidFname(char *datadir);
extern char *GetPidFname(void);
extern void UnlinkPidFile(void);
extern int SetPidFile(pid_t pid); <-------------- this line is problematic

#endif /* MISCADMIN_H */

Tomaz
----
Tomaz Borstnar <tomaz(dot)borstnar(at)over(dot)net>
"Love is the answer to the final question you ask" - Unknown

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zaborowski Marek 2000-03-01 13:15:29
Previous Message Oleg Broytmann 2000-03-01 09:20:35 Re: [HACKERS] Poll: Databases for Linux