[HACKERS] build error

2009-08-16 Thread vanek
   The fmgroids.h file was incorrectly being generated by shell script 
Gen_fmgrtab.sh, so I had to fix
   the makefile so that instead of the shell script generating the .h 
file, perl generated it:


   #fmgroids.h fmgrtab.c: Gen_fmgrtab.sh 
$(top_srcdir)/src/include/catalog/pg_proc.h
   #   AWK='$(AWK)' $(SHELL) $ 
$(top_srcdir)/src/include/catalog/pg_proc.h
   fmgroids.h fmgrtab.c: Gen_fmgrtab.pl 
$(top_srcdir)/src/include/catalog/pg_proc.h

   perl $ $(top_srcdir)/src/include/catalog/pg_proc.h

   in the /usr/local/src/pgsql/src/backend/utils/ directory.
   The fmgroids.h was being created with the basic template, but none 
of the DEFINES were

   populated, aside from the wrap-around defines:
   #ifndef FMGROIDS_H
   #define FMGROIDS_H

   Make check showed no errors and everything seems ok now after that 
one fix. This is

   working off of today's cvs.

 gawk --version
GNU Awk 3.1.5

 uname -a
Linux gnulou 2.6.17-co-0.8.0 #2 PREEMPT Wed Apr 25 22:15:57 CEST 2007 
i686 GNU/Linux


 /usr/local/pgsql/bin/psql -U gnulou test
psql (8.5devel)


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] build error

2009-08-16 Thread Tom Lane
vanek va...@acd.net writes:
 The fmgroids.h file was incorrectly being generated by shell script 
 Gen_fmgrtab.sh,

Uh, it works for everybody else.  What platform are you testing on?
(The kernel version isn't a real helpful answer, since it's unlikely
this is a kernel issue.)

While I'm not certain how it would lead to this exact failure, one
thing to check is that your machine's clock is set correctly ---
file timestamps that seem to be in the future can cause make to
skip necessary steps.

regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] build error

2009-08-16 Thread vanek

Uh, it works for everybody else.  What platform are you testing on?
(The kernel version isn't a real helpful answer, since it's unlikely
this is a kernel issue.)

While I'm not certain how it would lead to this exact failure, one
thing to check is that your machine's clock is set correctly ---
file timestamps that seem to be in the future can cause make to
skip necessary steps.

regards, tom lane

^
I'm building on debian etch. The time is set properly. The .h was generated,
just incorrectly, and 'make' didn't skip this step. The problem lies somewhere
downstream from make, possibly with gawk or bash or the bash environment. If
you don't think it's a problem, it's not a problem. I just thought I'd report
it because I know a few others have encountered this error, too.


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] build error

2009-08-16 Thread Andrew Dunstan



vanek wrote:

Uh, it works for everybody else.  What platform are you testing on?
(The kernel version isn't a real helpful answer, since it's unlikely
this is a kernel issue.)

While I'm not certain how it would lead to this exact failure, one
thing to check is that your machine's clock is set correctly ---
file timestamps that seem to be in the future can cause make to
skip necessary steps.

regards, tom lane

^
I'm building on debian etch. The time is set properly. The .h was 
generated,
just incorrectly, and 'make' didn't skip this step. The problem lies 
somewhere
downstream from make, possibly with gawk or bash or the bash 
environment. If
you don't think it's a problem, it's not a problem. I just thought I'd 
report

it because I know a few others have encountered this error, too.




There are quite a few debian members of the buildfarm that are not 
having any problem - see 
http://www.pgbuildfarm.org/cgi-bin/show_status.pl. So the question is 
why are you having a problem they aren't having? You haven't given us 
nearly enough information to be able to guess why it should be so. You 
need to show us a) the output from configure and b) the complete output 
from make (both stdout and stderr). c) the configure options you are 
using. Are you having this problem with a fresh checkout?


cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] Build error in HEAD

2004-08-01 Thread Christopher Kings-Lynne
I'm seeing this:

gmake[4]: Leaving directory `/usr/home/chriskl/pgsql-server/src/port'
gmake[3]: *** No rule to make target `pg_config.o', needed by `pg_config'.
Stop.
gmake[3]: Leaving directory
`/usr/home/chriskl/pgsql-server/src/bin/pg_config'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/chriskl/pgsql-server/src/bin'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/home/chriskl/pgsql-server/src'
gmake: *** [all] Error 2

Chris



---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]


Re: [HACKERS] Build error in HEAD

2004-08-01 Thread Devrim GUNDUZ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

On Sun, 1 Aug 2004, Christopher Kings-Lynne wrote:

 I'm seeing this:
 
 gmake[4]: Leaving directory `/usr/home/chriskl/pgsql-server/src/port'
 gmake[3]: *** No rule to make target `pg_config.o', needed by `pg_config'.
 Stop.
 gmake[3]: Leaving directory
 `/usr/home/chriskl/pgsql-server/src/bin/pg_config'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory `/usr/home/chriskl/pgsql-server/src/bin'
 gmake[1]: *** [all] Error 2
 gmake[1]: Leaving directory `/usr/home/chriskl/pgsql-server/src'
 gmake: *** [all] Error 2

This is what Peter Eisentraut reported a few minutes before. 

http://archives.postgresql.org/pgsql-patches/2004-07/msg00344.php

has pg_config.c . If you put it to  src/bin/pg_config,  PostgreSQL 
compiles successfully.

Regards,
- -- 
Devrim GUNDUZ  
devrim~gunduz.org   devrim.gunduz~linux.org.tr 
http://www.tdmsoft.com
http://www.gunduz.org



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBDLdWtl86P3SPfQ4RAodxAJ9tABpWoam+lIbbaWZp/HJniyiDdwCfbPzQ
TpNUzvxEC5OgVcoS/sEy4hg=
=ghHE
-END PGP SIGNATURE-


---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [HACKERS] Build error in HEAD

2004-08-01 Thread Bruce Momjian

Fixed.

---

Devrim GUNDUZ wrote:
[ PGP not available, raw data follows ]
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 Hi,
 
 On Sun, 1 Aug 2004, Christopher Kings-Lynne wrote:
 
  I'm seeing this:
  
  gmake[4]: Leaving directory `/usr/home/chriskl/pgsql-server/src/port'
  gmake[3]: *** No rule to make target `pg_config.o', needed by `pg_config'.
  Stop.
  gmake[3]: Leaving directory
  `/usr/home/chriskl/pgsql-server/src/bin/pg_config'
  gmake[2]: *** [all] Error 2
  gmake[2]: Leaving directory `/usr/home/chriskl/pgsql-server/src/bin'
  gmake[1]: *** [all] Error 2
  gmake[1]: Leaving directory `/usr/home/chriskl/pgsql-server/src'
  gmake: *** [all] Error 2
 
 This is what Peter Eisentraut reported a few minutes before. 
 
 http://archives.postgresql.org/pgsql-patches/2004-07/msg00344.php
 
 has pg_config.c . If you put it to  src/bin/pg_config,  PostgreSQL 
 compiles successfully.
 
 Regards,
 - -- 
 Devrim GUNDUZ
 devrim~gunduz.org devrim.gunduz~linux.org.tr 
   http://www.tdmsoft.com
   http://www.gunduz.org
 
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.1 (GNU/Linux)
 
 iD8DBQFBDLdWtl86P3SPfQ4RAodxAJ9tABpWoam+lIbbaWZp/HJniyiDdwCfbPzQ
 TpNUzvxEC5OgVcoS/sEy4hg=
 =ghHE
 -END PGP SIGNATURE-
 
 
 ---(end of broadcast)---
 TIP 4: Don't 'kill -9' the postmaster
 
[ End of raw data]

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?

   http://www.postgresql.org/docs/faqs/FAQ.html


Re: [HACKERS] Build error?

2003-12-08 Thread Bruce Momjian
Joe Conway wrote:
  Is that something broken on my system???
 
 Bruce just reported something like this too. I had a somewhat similar 
 issue about a week and a half ago. It may be a long shot, but try:
 
 ./configure \
   --with-openssl \
   --with-krb5 \
   --with-includes=/usr/kerberos/include \
   --with-libs=/usr/kerberos/lib
 
 of course replacing /usr/kerberos/* with whatever is correct for your 
 system. In my experience there has always (well, for quite some time 
 anyway) been a dependency between openssl and krb5. Just before I ran 
 into the latest problem, Peter made a change to configure that seemed to 
 trigger it for me:
 http://archives.postgresql.org/pgsql-committers/2003-11/msg00278.php
 
 How long has it been since you rebuilt from cvs?

A few days.

-- 
  Bruce Momjian|  http://candle.pha.pa.us
  [EMAIL PROTECTED]   |  (610) 359-1001
  +  If your life is a hard drive, |  13 Roberts Road
  +  Christ can be your backup.|  Newtown Square, Pennsylvania 19073

---(end of broadcast)---
TIP 8: explain analyze is your friend


[HACKERS] Build error?

2003-12-07 Thread Christopher Kings-Lynne
I just made distclean and then reconfigured with --with-openssl and I 
get this in HEAD:

gcc -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes 
-Wmissing-declarations -I../../../src/interfaces/libpq 
-I../../../src/include  -DBINDIR=\/home/chriskl/local/bin\  -c -o 
common.o common.c -MMD
In file included from /usr/include/openssl/comp.h:5,
 from /usr/include/openssl/ssl.h:171,
 from ../../../src/interfaces/libpq/libpq-fe.h:33,
 from pg_backup.h:30,
 from pg_backup_archiver.h:58,
 from common.c:21:
/usr/include/openssl/crypto.h:358: syntax error before `free_func'
/usr/include/openssl/crypto.h:358: syntax error before `)'
/usr/include/openssl/crypto.h:363: syntax error before `free_func'
/usr/include/openssl/crypto.h:363: syntax error before `)'
In file included from /usr/include/openssl/rsa.h:62,
 from /usr/include/openssl/evp.h:134,
 from /usr/include/openssl/x509.h:67,
 from /usr/include/openssl/ssl.h:177,
 from ../../../src/interfaces/libpq/libpq-fe.h:33,
 from pg_backup.h:30,
 from pg_backup_archiver.h:58,
 from common.c:21:
/usr/include/openssl/asn1.h:802: syntax error before `free_func'
/usr/include/openssl/asn1.h:802: `d2i_ASN1_SET' declared as function 
returning a function
/usr/include/openssl/asn1.h:803: syntax error before `int'
/usr/include/openssl/asn1.h:907: syntax error before `free_func'
/usr/include/openssl/asn1.h:907: syntax error before `)'
In file included from /usr/include/openssl/evp.h:145,
 from /usr/include/openssl/x509.h:67,
 from /usr/include/openssl/ssl.h:177,
 from ../../../src/interfaces/libpq/libpq-fe.h:33,
 from pg_backup.h:30,
 from pg_backup_archiver.h:58,
 from common.c:21:
/usr/include/openssl/objects.h:990: syntax error before `free_func'
/usr/include/openssl/objects.h:990: syntax error before `)'
gmake[3]: *** [common.o] Error 1

Is that something broken on my system???

Chris



---(end of broadcast)---
TIP 5: Have you checked our extensive FAQ?
  http://www.postgresql.org/docs/faqs/FAQ.html


Re: [HACKERS] Build error?

2003-12-07 Thread Joe Conway
Christopher Kings-Lynne wrote:
/usr/include/openssl/asn1.h:907: syntax error before `)'
In file included from /usr/include/openssl/evp.h:145,
 from /usr/include/openssl/x509.h:67,
 from /usr/include/openssl/ssl.h:177,
 from ../../../src/interfaces/libpq/libpq-fe.h:33,
 from pg_backup.h:30,
 from pg_backup_archiver.h:58,
 from common.c:21:
/usr/include/openssl/objects.h:990: syntax error before `free_func'
/usr/include/openssl/objects.h:990: syntax error before `)'
gmake[3]: *** [common.o] Error 1
Is that something broken on my system???
Bruce just reported something like this too. I had a somewhat similar 
issue about a week and a half ago. It may be a long shot, but try:

./configure \
 --with-openssl \
 --with-krb5 \
 --with-includes=/usr/kerberos/include \
 --with-libs=/usr/kerberos/lib
of course replacing /usr/kerberos/* with whatever is correct for your 
system. In my experience there has always (well, for quite some time 
anyway) been a dependency between openssl and krb5. Just before I ran 
into the latest problem, Peter made a change to configure that seemed to 
trigger it for me:
http://archives.postgresql.org/pgsql-committers/2003-11/msg00278.php

How long has it been since you rebuilt from cvs?

Joe



---(end of broadcast)---
TIP 8: explain analyze is your friend


Re: [HACKERS] Build error?

2003-12-07 Thread Tom Lane
Christopher Kings-Lynne [EMAIL PROTECTED] writes:
 I just made distclean and then reconfigured with --with-openssl and I 
 get this in HEAD:

FWIW, CVS tip builds perfectly cleanly --with-openssl in RHL 8.0,
which has (digs...)
openssl-devel-0.9.6b-29
openssl-0.9.6b-29
openssl096-0.9.6-11
Some difference in inclusion requirements in whatever you're using?

regards, tom lane

---(end of broadcast)---
TIP 9: the planner will ignore your desire to choose an index scan if your
  joining column's datatypes do not match


[HACKERS] Build error in cvs head

2003-04-04 Thread Manfred Koizar
My build failed in interfaces/ecpg/compatlib because the Makefile
references pgtypeslib instead of compatlib.  I was wondering why
nobody else got that problem.  Maybe because they have an old version
of informix.c lying around in pgtypeslib?  Anyway, this patch should
fix that problem.

Servus
 Manfred
diff -ruN ../base/src/interfaces/ecpg/compatlib/Makefile 
src/interfaces/ecpg/compatlib/Makefile
--- ../base/src/interfaces/ecpg/compatlib/Makefile  2003-04-04 15:45:51.0 
+0200
+++ src/interfaces/ecpg/compatlib/Makefile  2003-04-04 17:41:43.0 +0200
@@ -8,7 +8,7 @@
 #
 #-
 
-subdir = src/interfaces/ecpg/pgtypeslib
+subdir = src/interfaces/ecpg/compatlib
 top_builddir = ../../../..
 include $(top_builddir)/src/Makefile.global
 

---(end of broadcast)---
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]