Re: "make" in postgresql windows install fails

From: "Chigurupati, Prasad" <Prasad(dot)Chigurupati(at)intergraph(dot)com(dot)sg>
To: 'Roger Ackroyd' <postgresql(at)ackroyd(dot)freeserve(dot)co(dot)uk>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: "make" in postgresql windows install fails
Date: 2003-09-01 03:11:28
Message-ID: A06B238D6FBAD1118C1F080036D2D40305B00A62@singwnt.sing.ingr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Hi All.,
when i follow the readme file givng by jason, at some point amgetting the
following error msg. may be my previous setting problems...
"cygrunsrv: Given path doesn't point to a valid executable"

any clue..help me..

Tanks in advance..

Rgds,
prasad.Ch

-----Original Message-----
From: Roger Ackroyd [mailto:postgresql(at)ackroyd(dot)freeserve(dot)co(dot)uk]
Sent: Saturday, August 30, 2003 4:52 AM
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: [CYGWIN] "make" in postgresql windows install fails

Prasad vencat

If you are having troubles building PostgreSQL, why not just use the
pre-built version that is part of the standard Cygwin distribution?

Then read the following carefully to install as a service under windows XP
(and I think NT)

http://www.tishler.net/jason/software/postgresql/postgresql-7.3.4.README
<http://www.tishler.net/jason/software/postgresql/postgresql-7.3.4.README>

I do not think you should need to be using make at all.

If you are still having problems then search through the list archive as I
know all your problems have been answered (manyt times) there.
I would advise that you follow any tips or instructions given you by Jason
Tishler as he is the expert on these things.
Hope this helps.
Roger

----- Original Message -----
From: Chigurupati, Prasad <mailto:Prasad(dot)Chigurupati(at)intergraph(dot)com(dot)sg>
To: 'venkat j' <mailto:venkatech(at)yahoo(dot)com> ; pgsql-cygwin(at)postgresql(dot)org
<mailto:pgsql-cygwin(at)postgresql(dot)org>
Sent: Friday, August 29, 2003 9:56 AM
Subject: [pgsql-cygwin] Re: [CYGWIN] "make" in postgresql windows install
fails

Hi Venkat,
make sure the cygipc tar file shoudl be under \\cygwin <file://\\cygwin>
folder before gunzip.once u did the gunzip , automatically it will extract
and send to related folders."//usr/local/bin" folder must contain ipc-daemon
exe file.
but i doubt that result when u use "configure" . or gcc maybe not installed
properly.or b'ze of environment variables.
i also facing same issue but at different stage...
am using postgresql coming with cygwin. ther no configure file under
postgresql folder.
when i installed lower verison of postgresql , trying to configure, getting
gcc error like cannot create executables...

reply..

Rgds,
prasad.ch



-----Original Message-----
From: venkat j [mailto:venkatech(at)yahoo(dot)com]
Sent: Friday, August 29, 2003 4:48 PM
To: pgsql-cygwin(at)postgresql(dot)org
Subject: [CYGWIN] "make" in postgresql windows install fails

Hello all

Im trying to install Postgresql 7.3.4 on WindowsNT using Cygwin/cygipc. I
already have installed cygipc in a different directory. I started
ipc-daemon.
After doing "configure", i started "make". Im using gcc provided by cygwin
installer.
Postgresql throws an error. Its breaking in some IPC (cygipc) related files.


Am i missing any setting? do i need to append anything to any variable? or
cygipc should be extracted to a directory 'inside' postgresql directory
structure?
Pl note that i already have stared ipc-daemon.exe (i tried to start it as an
NT process and from cygwin prompt... any diff?). After that ihave given the
"make" command.

Any help is greatly appreciated...

Thanks in advance.


make[3]: Entering directory `/cygdrive/g/postgresql734/src/backend/port'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../src/include -DBUILDING_DLL
-c -o pg_sema.o pg_sema.c
pg_sema.c: In function `InternalIpcSemaphoreCreate':
pg_sema.c:95: warning: implicit declaration of function `semget'
pg_sema.c:95: `IPC_CREAT' undeclared (first use in this function)
pg_sema.c:95: (Each undeclared identifier is reported only once
pg_sema.c:95: for each function it appears in.)
pg_sema.c:95: `IPC_EXCL' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreInitialize':
pg_sema.c:150: warning: implicit declaration of function `semctl'
pg_sema.c:150: `SETVAL' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreKill':
pg_sema.c:175: `IPC_RMID' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreGetValue':
pg_sema.c:193: `GETVAL' undeclared (first u se in this function)
pg_sema.c: In function `IpcSemaphoreGetLastPID':
pg_sema.c:204: `GETPID' undeclared (first use in this function)
pg_sema.c: In function `IpcSemaphoreCreate':
pg_sema.c:263: `IPC_RMID' undeclared (first use in this function)
pg_sema.c: In function `PGSemaphoreLock':
pg_sema.c:390: storage size of `sops' isn't known
pg_sema.c:434: warning: implicit declaration of function `semop'
pg_sema.c:390: warning: unused variable `sops'
pg_sema.c: In function `PGSemaphoreUnlock':
pg_sema.c:455: storage size of `sops' isn't known
pg_sema.c:455: warning: unused variable `sops'
pg_sema.c: In function `PGSemaphoreTryLock':
pg_sema.c:489: storage size of `sops' isn't known
pg_sema.c:492: `IPC_NOWAIT' undeclared (first use in this function)
pg_sema.c:489: warning: unused variable `sops'
make[3]: *** [pg_sema.o] Error 1
make[3]: Leaving directory `/cygdrive/g/postgresql734/src/backend/port'
make[2]: *** [port-recursive] Error 2
make[2]: Leaving directory `/cygdrive/g/postgresql734/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/g/postgresql734/src'
make: *** [all] Error 2

_____

Do you Yahoo!?
Free online <http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.com>
calendar with sync to Outlook(TM).

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message redhat0320 2003-09-01 03:57:37 ERROR: c: permission denied
Previous Message Chigurupati, Prasad 2003-09-01 01:57:42 Re: "make" in postgresql windows install fails