pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedCompile Error
4+ messages / 3 participants
[nested] [flat]
* Compile Error
@ 2002-08-30 00:53 George Esperanza <george_esperanza@yahoo.com>
2002-08-30 14:38 ` Re: Compile Error Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: George Esperanza @ 2002-08-30 00:53 UTC (permalink / raw)
To: pgsql-admin
Hi!
I've downloaded the recent version of Postgres (7.2.2)
and tried compiling in my linux box (slackware 8.1).
I've used the --with-perl option to configure
postgres.
And after issuing the command "gmake" it shows an
error:
CPP='gcc -E' AWK='' /bin/sh Gen_fmgrtab.sh
../../../src/include/catalog/pg_proc.h
Gen_fmgrtab.sh:
BEGIN { raw = 0; }
/^DATA/ { print; next; }
/^BKI_BEGIN/ { raw = 1; next; }
/^BKI_END/ { raw = 0; next; }
raw == 1 { print; next; }: No such file or
directory
Gen_fmgrtab.sh:
/^#/ { print; next; }
$4 == "12" { print; next; }: No such file or
directory
Gen_fmgrtab.sh failed
make[3]: *** [fmgroids.h] Error 1
make[3]: Leaving directory
`/home/george/Install/postgresql-7.2.2/src/backend/utils'
make[2]: *** [utils/fmgroids.h] Error 2
make[2]: Leaving directory
`/home/george/Install/postgresql-7.2.2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/george/Install/postgresql-7.2.2/src'
make: *** [all] Error 2
Can somebody please explain what this means.
Thanks
George
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Compile Error
2002-08-30 00:53 Compile Error George Esperanza <george_esperanza@yahoo.com>
@ 2002-08-30 14:38 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2002-08-30 14:38 UTC (permalink / raw)
To: George Esperanza <george_esperanza@yahoo.com>; +Cc: pgsql-admin
George Esperanza <george_esperanza@yahoo.com> writes:
> CPP='gcc -E' AWK='' /bin/sh Gen_fmgrtab.sh
^^^^^^
Hm. It looks like configure failed to find awk or any substitute
(gawk, mawk, nawk, maybe others I've not heard of). This is surprising;
I've never seen a Unix machine without some flavor of awk. Did you
install an especially trimmed-down package set?
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* compile error
@ 2003-07-23 08:23 Renney Thomas <renneyt@yahoo.com>
2003-07-23 14:56 ` Re: compile error Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 4+ messages in thread
From: Renney Thomas @ 2003-07-23 08:23 UTC (permalink / raw)
To: pgsql-admin
I reconfigured the make to use openssl and I revceived the following
error using
gcc 3.3
on SunOS 5.7 Generic_106541-25 sun4u sparc SUNW,Ultra-1
Thanks for any help!
---
gmake[3]: Entering directory
`/opt/sft/postgresql-7.3.3/src/interfaces/libpq'
gcc -O3 -pthreads -Wall -Wmissing-prototypes -Wmissing-declarations
-fPIC -I. -I../.
./../src/include -I/usr/local/include -I/usr/local/ssl/include
-DFRONTEND -DSYSCONFD
IR='"/usr/local/pgsql/etc"' -c -o fe-connect.o fe-connect.c
In file included from fe-connect.c:46:
/usr/include/crypt.h:22: error: parse error before '(' token
/usr/include/crypt.h:22: error: parse error before "const"
gmake[3]: *** [fe-connect.o] Error 1
gmake[3]: Leaving directory `/opt/sft/postgresql-7.3.3/src/interfaces/libpq'
---
crypt.h:
20:extern char *crypt(const char *, const char *);
21:extern int crypt_close(int *);
22:extern char *des_crypt(const char *, const char *);
23:extern void des_encrypt(char *, int);
extern void des_setkey(const char *);
extern void encrypt(char *, int);
extern int run_crypt(long, char *, unsigned, int *);
extern int run_setkey(int *, const char *);
extern void setkey(const char *);
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: compile error
2003-07-23 08:23 compile error Renney Thomas <renneyt@yahoo.com>
@ 2003-07-23 14:56 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Tom Lane @ 2003-07-23 14:56 UTC (permalink / raw)
To: Renney Thomas <renneyt@yahoo.com>; +Cc: pgsql-admin
Renney Thomas <renneyt@yahoo.com> writes:
> I reconfigured the make to use openssl and I revceived the following
> error using
> gcc 3.3
> on SunOS 5.7 Generic_106541-25 sun4u sparc SUNW,Ultra-1
According to this recent change, you can just remove the inclusion
of crypt.h ...
2003-06-23 13:03 momjian
* src/interfaces/libpq/fe-connect.c: Remove crypt.h from
fe-connect.c --- not needed, and caused problems on Solaris with
Open SSL version 0.9.7b
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2003-07-23 14:56 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-08-30 00:53 Compile Error George Esperanza <george_esperanza@yahoo.com>
2002-08-30 14:38 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-07-23 08:23 compile error Renney Thomas <renneyt@yahoo.com>
2003-07-23 14:56 ` Re: compile error Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox