X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Subject: Running PVM on Cygwin: /tmp/pvmd.459794: No such file or directory
Date: Wed, 14 Jun 2006 16:22:14 +0200
Message-ID: <3BD8CF653D67544E9D2768E3F10FFC5D7EE65D@boebe101.NOE.Nokia.com>
From: <Alexander.Farber@nokia.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k5EEMUfB011509

Hello,

I'm using latest Cygwin on WinXP and have managed 
to compile PVM 3.4.4 after few minor tweaks:

1) In conf/CYGWIN.def I've put:
	-DARCHCLASS=\"CYGWIN\" -DRSHCOMMAND=\"ssh\" (I use ssh keys)
   and also added -lrpclib -lreadline to ARCHDLIB and ARCHLIB
2) In console/cons.c I've added #include <readline/history.h>
3) In xdr/types.h I've removed prototype: extern char *malloc();
4) my $HOME contains spaces: "/cygdrive/c/Documents and
Settings/afarber"
   so I had do put quotes around -f "$HOME/.somefilename" 
   in the pvm and pvmd scripts in several spots.

After that PVM compiles fine, but I have troubles to start the
pvm-console:

$ /usr/local/pvmgmake/pvm3/lib/CYGWIN/pvm.exe  /tmp/pvmhostfile.152
libpvm [pid3848] /tmp/pvmd.459794: No such file or directory
libpvm [pid3848]: Console: Can't start pvmd

$ cat /tmp/pvmhostfile.152
* dx=/usr/local/pvmgmake/pvm3/lib/pvmd
4DED01089
4ded01089

$ echo $PVM_ROOT $PVM_ROOT_U
/usr/local/pvmgmake/pvm3 /usr/local/pvmgmake/pvm3

OpenSSH access works fine, this can't be the reason:

$ ssh-add -l
1024 32:61:2a:cd:44:ac:29:cf:77:8f:88:0f:e4:c3:40:88
/cygdrive/c/Documents and Settings/afarber/.ssh/id_dsa (DSA)

I suspect, that something very minor is missing
(some space in a path or maybe ".exe" missing somewhere)

I keep looking through PVM's source code to find the place, 
where pvm starts pvmd but haven't found that yet.

Did anybody else struggle with PVM on Cygwin 
and do you have any hints for me please?

Regards
Alex 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


