delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/11/16:01:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <396B7492.46374F5E@ece.gatech.edu>
Date: Tue, 11 Jul 2000 15:25:06 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Andrea Malagoli <a-malagoli AT uchicago DOT edu>
CC: cygwin AT sources DOT redhat DOT com
Subject: Re: Cygipc, Postgresql, etc ...
References: <000501bfeb61$2ff147c0$87988780 AT andyhome>

Runtime:
There are some difficulties with cygipc's socket files (created in /tmp,
usually) and permissions. I don't remember all the details, but I
*think* it may have something to do with the presence (or absence) of
NTSEC/NONTSEC in your CYGWIN variable. Experiment, debug -- and let me
(and the list) know what you find...

Compiling:
I haven't tried to compile this with gcc-2.95.2-2 (or 2.95.2-1), nor
with a binutils newer than 19990818-2, or cygwin dll newer than 1.1.0.
Any of these new releases may have uncovered bugs in the cygipc code, or
the cygipc code may be exposing bugs in those tools. Please feel free to
submit patches to any/all of the above.

I didn't write cygipc -- since the original servers were flaky, and
often down for months at a time, I mirrored them at cygutils. People
sent me patches, so for lack of any better idea, I officially forked the
code from the capgemini and nasa versions and updated the distribution
at cygutils. But I really have never looked deeply at the code, so I
can't provide any special insight as to why it might be failing for you.

If you're still at a loss, you can try contacting the original authors:

Original Servers:
http://www.multione.capgemini.fr/tools/pack_ipc/
http://dods.jpl.nasa.gov/WinPort/portEnvSetup.html
ftp://podaac.jpl.nasa.gov/pub/users/rmorris/DodsWin32Port/cygwinB20IPC.tar.gz

Sorry I can't be more help than that.

--Chuck



Andrea Malagoli wrote:
> 
> I am trying to install both cygipc 1.05 and PostgreSQL on my Win2k PC
> with Cygwin 1.1.2
> In both cases, the sources that are supposed to compile under Cygwin DO NOT
> COMPILE. So, I am already having a problem here.
> 
> More importantly, cygipc does not seem to work. If I install the cygipc
> binaries,
> and start icp-daemon.exe, then the shared memory tests fail:
> bash-2.04$ ipctest.exe h
> Test v0.02
> Shared memory segment 0 created
> shmat return code= -1
> nok
> shmat failed, errno= 0
> 
> Similarly, if I try to start PostgreSQL using:
> postmaster -i
> 
> I get an error:
> IpcMemoryAttach: shmat failed (error 0) id=0
> FATAL 1: AttachSLockMemory: could not attach segment
> 
> Are there particular settings I have to worry about in order for
> cygipc to work ?
> 
> Greetings.
> - Andrea Malagoli
>   a-malagoli AT uchicago DOT edu
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019