Обсуждение: problems installing postgres7.2 in redhat 9 fedara1

Поиск
Список
Период
Сортировка

problems installing postgres7.2 in redhat 9 fedara1

От
karthikeyan
Дата:
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



Re: problems installing postgres7.2 in redhat 9 fedara1

От
Tom Lane
Дата:
karthikeyan <karthikeyan@naturesoft.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

Re: problems installing postgres7.2 in redhat 9 fedara1

От
Сизых Павел Леонидович
Дата:
В Птн, 09.01.2004, в 17:51, Tom Lane пишет:
> karthikeyan <karthikeyan@naturesoft.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