Обсуждение: cannot install postgresql7.1.3 ----please help me

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

cannot install postgresql7.1.3 ----please help me

От
Дата:

Dear sir/madam,

 

I am installing postgresql7.1.3 on windows2000. I went through the ms faq and the install readme file. I complete uptill./configure” command. But when I am typing the “make” command  I am getting errors. Following are the last few lines when I got the error.

 

make[4]: `SUBSYS.o' is up to date.

make[4]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend/utils/mmgr'

make -C sort SUBSYS.o

make[4]: Entering directory `/usr/src/postgresql-7.1.3/src/backend/utils/sort'

make[4]: `SUBSYS.o' is up to date.

make[4]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend/utils/sort'

make -C time SUBSYS.o

make[4]: Entering directory `/usr/src/postgresql-7.1.3/src/backend/utils/time'

make[4]: `SUBSYS.o' is up to date.

make[4]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend/utils/time'

make[3]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend/utils'

dlltool --dllname postgres.exe --output-exp postgres.exp --def postgres.def

gcc -g -o postgres.exe -Wl,--base-file,postgres.base postgres.exp 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/SUB

SYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/

SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -lcygipc -lcrypt

/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann

ot find -lcrypt

collect2: ld returned 1 exit status

make[2]: *** [postgres] Error 1

make[2]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend'

make[1]: *** [install] Error 2

make[1]: Leaving directory `/usr/src/postgresql-7.1.3/src'

make: *** [install] Error 2

 

 

 

 

 

 

I am very impressed by the postgresql and want to install. Please do help me.

 

Regards,

saurabh

 

 

 

 

Re: cannot install postgresql7.1.3 ----please help me

От
"Henshall, Stuart - WCP"
Дата:
It looks like you don't have cygipc installed/running. Also a pre-built
binary comes with cygwin (you'll still need cygipc installed and the
ipc-daemon running)
- Stuart


-----Original Message-----
From: saurabh@asianminds.com [mailto:saurabh@asianminds.com]
Sent: 19 January 2002 02:52
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] cannot install postgresql7.1.3 ----please help me


Dear sir/madam,

I am installing postgresql7.1.3 on windows2000. I went through the ms faq
and the install readme file. I complete uptill "./configure" command. But
when I am typing the "make" command  I am getting errors. Following are the
last few lines when I got the error.

make[4]: `SUBSYS.o' is up to date.
make[4]: Leaving directory
`/usr/src/postgresql-7.1.3/src/backend/utils/mmgr'
make -C sort SUBSYS.o
make[4]: Entering directory
`/usr/src/postgresql-7.1.3/src/backend/utils/sort'
make[4]: `SUBSYS.o' is up to date.
make[4]: Leaving directory
`/usr/src/postgresql-7.1.3/src/backend/utils/sort'
make -C time SUBSYS.o
make[4]: Entering directory
`/usr/src/postgresql-7.1.3/src/backend/utils/time'
make[4]: `SUBSYS.o' is up to date.
make[4]: Leaving directory
`/usr/src/postgresql-7.1.3/src/backend/utils/time'
make[3]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend/utils'
dlltool --dllname postgres.exe --output-exp postgres.exp --def postgres.def
gcc -g -o postgres.exe -Wl,--base-file,postgres.base postgres.exp
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/SUB
SYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
storage/
SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o -lcygipc -lcrypt
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cann
ot find -lcrypt
collect2: ld returned 1 exit status
make[2]: *** [postgres] Error 1
make[2]: Leaving directory `/usr/src/postgresql-7.1.3/src/backend'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.1.3/src'
make: *** [install] Error 2






I am very impressed by the postgresql and want to install. Please do help
me.

Regards,
saurabh





Re: cannot install postgresql7.1.3 ----please help me

От
Jason Tishler
Дата:
Stuart,

On Fri, Jan 18, 2002 at 12:34:29PM -0000, Henshall, Stuart - WCP wrote:
> It looks like you don't have cygipc installed/running. Also a pre-built
> binary comes with cygwin (you'll still need cygipc installed and the
> ipc-daemon running)

Actually, I believe that crypt is missing...

> -----Original Message-----
> From: saurabh@asianminds.com [mailto:saurabh@asianminds.com]
> Sent: 19 January 2002 02:52
> To: pgsql-cygwin@postgresql.org
> Subject: [CYGWIN] cannot install postgresql7.1.3 ----please help me
>
> [snip]
>
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
> cannot find -lcrypt
                ^^^^^
saurabh, why don't you use the pre-built PostgreSQL 7.1.3 that is part
of the standard Cygwin distribution:

    http://cygwin.com/ml/cygwin-announce/2002/msg00022.html

Jason