Re: Need help compiling from source

Lists: pgsql-cygwin
From: "Leeuw van der, Tim" <tim(dot)leeuwvander(at)nl(dot)unisys(dot)com>
To: "Mike G" <mike(at)thegodshalls(dot)com>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: Need help compiling from source
Date: 2004-06-22 07:21:04
Message-ID: BF88DF69D9E2884B9BE5160DB2B97A85B35CD1@nlshl-exch1.eu.uis.unisys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Hi Mike,

AFAIK, you should remove cygipc from your system. And then possibly re-install the core cygwin dll, to re-install some IPC utilities. But I'm not sure about the need for that.

regards,

--Tim

-----Original Message-----
From: pgsql-cygwin-owner(at)postgresql(dot)org
[mailto:pgsql-cygwin-owner(at)postgresql(dot)org]On Behalf Of Mike G
Sent: dinsdag 22 juni 2004 6:49
To: pgsql-cygwin(at)postgresql(dot)org
Subject: [CYGWIN] Need help compiling from source

Hello,

I am trying to compile and install 7.4.3-1 from source in cygwin on XP Pro.
I installed bison and flex. The config, make, and make install are successful. Running initdb though errors out with the dreaded semctl(....) failed: Invalid argument.

I am guessing that I am not linking to cygserver at all or correctly.

I also copied build.sh from CYGWIN-PATCHES to the top of the tree, and executed it to do all the above in one step. Same error generated. Have tried distclean between builds.

I do not have the src for cygserver or ipc-daemon. Must I build those from src as well before building postgres?

Mike

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


From: Jason Tishler <jason(at)tishler(dot)net>
To: "Leeuw van der, Tim" <tim(dot)leeuwvander(at)nl(dot)unisys(dot)com>
Cc: Mike G <mike(at)thegodshalls(dot)com>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Need help compiling from source
Date: 2004-06-22 11:29:25
Message-ID: 20040622112925.GA10976@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

On Tue, Jun 22, 2004 at 09:21:04AM +0200, Leeuw van der, Tim wrote:
> AFAIK, you should remove cygipc from your system.

Yes.

> And then possibly re-install the core cygwin dll, to re-install some
> IPC utilities. But I'm not sure about the need for that.

IIRC, the above is not necessary.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6


From: mike g <mike(at)thegodshalls(dot)com>
To: Jason Tishler <jason(at)tishler(dot)net>
Cc: "Leeuw van der, Tim" <tim(dot)leeuwvander(at)nl(dot)unisys(dot)com>, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Need help compiling from source
Date: 2004-06-23 02:28:13
Message-ID: 1087957693.8280.6.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Ok,

The cygwin setup program doesn't have an option to uninstall cygipc so I
did have to uninstall cygwin and then reinstall to remove it.

I am still getting the error though. I played around with the
cygserver.conf settings as suggested in the Readme with no luck.

Perhaps I will uninstall cygwin again, delete all the directories, and
do a fresh install.

Mike
On Tue, 2004-06-22 at 06:29, Jason Tishler wrote:
> On Tue, Jun 22, 2004 at 09:21:04AM +0200, Leeuw van der, Tim wrote:
> > AFAIK, you should remove cygipc from your system.
>
> Yes.
>
> > And then possibly re-install the core cygwin dll, to re-install some
> > IPC utilities. But I'm not sure about the need for that.
>
> IIRC, the above is not necessary.
>
> Jason