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

From Chigurupati, Prasad
Subject Re: "make" in postgresql windows install fails
Date
Msg-id A06B238D6FBAD1118C1F080036D2D40305B00A60@singwnt.sing.ingr.com
Whole thread Raw
In response to "make" in postgresql windows install fails  (venkat j <venkatech@yahoo.com>)
List pgsql-cygwin
Hi Roger,
Thanks for u r suggestion. but if i want to use Postgis later on top of Postgresql, i am not able to handle through.. be'ze
after postgresql installation i need to configure postgresql for the purpose of making postgis.. not able to fine "configure" files under prebuilt verion of postgresql. that's why needs to install other version. if we use other version , not able to create executables using gcc. giving error as "cannot create executables". but gcc is comes with cygwin.
 
any help please...
 
Rgds,
Prasad.Ch
 
-----Original Message-----
From: Roger Ackroyd [mailto:postgresql@ackroyd.freeserve.co.uk]
Sent: Saturday, August 30, 2003 4:52 AM
To: pgsql-cygwin@postgresql.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)
 
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: Patrick Bakker
Date:
Subject: Windows XP SP1, PostgreSQL 7.2.4, Cygwin 1.3.22, CygIPC 1.14-1
Next
From: "Chigurupati, Prasad"
Date:
Subject: Re: "make" in postgresql windows install fails