Re: "make" in postgresql windows install fails - Mailing list pgsql-cygwin

From Roger Ackroyd
Subject Re: "make" in postgresql windows install fails
Date
Msg-id 02fd01c36e6f$6e9fd6a0$0100a8c0@mydomain.com
Whole thread Raw
In response to Re: "make" in postgresql windows install fails  ("Chigurupati, Prasad" <Prasad.Chigurupati@intergraph.com.sg>)
List pgsql-cygwin
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)
 
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 -----
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 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@yahoo.com]
Sent: Friday, August 29, 2003 4:48 PM
To: pgsql-cygwin@postgresql.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 calendar with sync to Outlook(TM).

pgsql-cygwin by date:

Previous
From: "Chigurupati, Prasad"
Date:
Subject: Re: "make" in postgresql windows install fails
Next
From: Jason Tishler
Date:
Subject: Re: "make" in postgresql windows install fails