Re: "make" in postgresql windows install fails

From: "Chigurupati, Prasad" <Prasad(dot)Chigurupati(at)intergraph(dot)com(dot)sg>
To: 'venkat j' <venkatech(at)yahoo(dot)com>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: "make" in postgresql windows install fails
Date: 2003-08-29 08:56:52
Message-ID: A06B238D6FBAD1118C1F080036D2D40305B00A5F@singwnt.sing.ingr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

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 Jason Tishler 2003-08-29 09:58:55 Re: running postgresql7.3.4 under windows
Previous Message venkat j 2003-08-29 08:48:22 "make" in postgresql windows install fails