problems installing postgres7.2 in redhat 9 fedara1

Lists: pgsql-admin
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: karthikeyan(at)naturesoft(dot)net
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: problems installing postgres7.2 in redhat 9 fedara1
Date: 2004-01-09 07:51:12
Message-ID: 21703.1073634672@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

karthikeyan <karthikeyan(at)naturesoft(dot)net> writes:
> commands/SUBSYS.o(.text+0x41c2): In function `DoCopy':
> : undefined reference to `errno'

I think you need this patch:
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/copy.c.diff?r1=1.145.2.1&r2=1.145.2.2

regards, tom lane


From: Сизых Павел Леонидович <grf(at)urgal(dot)dvgd(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: problems installing postgres7.2 in redhat 9 fedara1
Date: 2004-01-09 10:02:44
Message-ID: 1073642564.6693.55.camel@grfhome
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

В Птн, 09.01.2004, в 17:51, Tom Lane пишет:
> karthikeyan <karthikeyan(at)naturesoft(dot)net> writes:
> > commands/SUBSYS.o(.text+0x41c2): In function `DoCopy':
> > : undefined reference to `errno'
>
> I think you need this patch:
> http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/copy.c.diff?r1=1.145.2.1&r2=1.145.2.2

I have the same trouble when try to install posgres 7.1.3 in redhat 9.0
Can I use this patch with 7.1.3 ?

--
/grf


From: karthikeyan <karthikeyan(at)naturesoft(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: problems installing postgres7.2 in redhat 9 fedara1
Date: 2004-01-09 12:51:39
Message-ID: 3FFEA3DB.2050702@naturesoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

make[3]: Leaving directory
`/home/karthik/softwares/postgresql-7.2/src/backend/utils'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-Wl,-rpath,/usr/local/pgsql/lib -export-dynamic access/SUBSYS.o
bootstrap/SUBSYS.o catalog/SUBSYS.o parser/SUBSYS.o commands/SUBSYS.o
executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o
nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o
regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o
utils/SUBSYS.o -lz -lcrypt -lresolv -lnsl -ldl -lm -lbsd -lreadline
-ltermcap -o postgres
commands/SUBSYS.o(.text+0x41c2): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x41c8): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x42cf): In function `DoCopy':
: undefined reference to `errno'
commands/SUBSYS.o(.text+0x42d5): In function `DoCopy':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [postgres] Error 1
make[2]: Leaving directory
`/home/karthik/softwares/postgresql-7.2/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/karthik/softwares/postgresql-7.2/src'
make: *** [all] Error 2

PLs help me :)

JAI SAIRAM

--
Regards
Karthikeyan.S
Technical Project Sr.Associate
NatureSoft Pvt. Ltd.
11/20 Appu Street 2nd Lane, Mylapore
Chennai 600004
India
tel: +91 44 2461 7193
fax: +91 44 2494 1474
http://www.nature-soft.com