Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Cannot install Pypvm (Python Parallel Virtual Machine)

View Parsed - Show only message text

Path: g2news1.google.com!news4.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: "Diez B. Roggisch" <de...@nospam.web.de>
Newsgroups: comp.lang.python
Subject: Re: Cannot install Pypvm (Python Parallel Virtual Machine)
Date: Tue, 06 May 2008 12:37:39 +0200
Lines: 107
Message-ID: <68aqoeF2rue80U1@mid.uni-berlin.de>
References: <a36320f6-1145-467e-bbb8-bf520420b831@d77g2000hsb.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
X-Trace: news.uni-berlin.de Ly8p3dFj8ODqCHFB5yc3NgZAJZxvmN/OgRgJlHR6ZROg==
User-Agent: KNode/0.10.5

spectru...@gmail.com wrote:

> Hello.
> 
> I am trying to install Pypvm (http://pypvm.sourceforge.net/), the
> Python interface to PVM ("Parallel Virtual Machine"). Unfortunately,
> installation fails. I am hoping someone can help me fix it.
> 
> I am running Fedora Core 8 Linux.
> 
> The official Pypvm documentation is very helpful (or something),
> providing the following:
> 
> 
> 
> To build Pypvm, cross your fingers and try:
> 
> make -f Makefile.pre.in boot
> make
> 
> Or alternatively, try
>   python setup.py build
>   python setup.py install
> 
> 
> 
> For me, the "make -f Makefile.pre.in boot" seems to run fine, but the
> "make" fails, giving (among other things) the following:
> 
> 
> 
> [ore@localhost pypvm-0.94]$ make
> gcc -pthread -fPIC -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
>   -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -
> march=i386
>   -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC
>   -I/usr/include/python2.5 -I/usr/lib/python2.5/config    -c
>   ././pypvm_coremodule.c -o ./pypvm_coremodule.o
> ././pypvm_coremodule.c:2:18: error: pvm3.h: No such file or directory
> ././pypvm_coremodule.c: In function ‘was_error’:
> ././pypvm_coremodule.c:81: error: ‘PvmOk’ undeclared (first use in
> this function)
> ././pypvm_coremodule.c:81: error: (Each undeclared identifier is
> reported only once
> ././pypvm_coremodule.c:81: error: for each function it appears in.)
> ././pypvm_coremodule.c:85: error: ‘PvmBadParam’ undeclared (first use
> in this function)
> ././pypvm_coremodule.c:85: error: ‘PvmMismatch’ undeclared (first use
> in this function)
> [...]
> ././pypvm_coremodule.c:1889: error: ‘PvmDupEntry’ undeclared (first
> use in this function)
> ././pypvm_coremodule.c:1767: warning: unused variable ‘optModule’
> ././pypvm_coremodule.c:1766: warning: unused variable ‘resultModule’
> ././pypvm_coremodule.c:1765: warning: unused variable ‘notifyModule’
> ././pypvm_coremodule.c:1764: warning: unused variable ‘spawnModule’
> ././pypvm_coremodule.c:1763: warning: unused variable ‘dataModule’
> ././pypvm_coremodule.c:1762: warning: unused variable
> ‘exceptionModule’
> make: *** [pypvm_coremodule.o] Error 1
> [ore@localhost pypvm-0.94]$
> 
> 
> 
> In in alternate version, "python setup.py build" similarly fails:
> 
> 
> 
> [ore@localhost pypvm-0.94]$ python setup.py build
> running build
> running build_py
> running build_ext
> building 'pypvm_core' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-
> D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
> size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -
> D_GNU_SOURCE -fPIC -fPIC -I/usr/include -I/usr/include/python2.5 -c
> pypvm_coremodule.c -o build/temp.linux-i686-2.5/pypvm_coremodule.o
> pypvm_coremodule.c:2:18: error: pvm3.h: No such file or directory
> pypvm_coremodule.c: In function ‘was_error’:
> pypvm_coremodule.c:81: error: ‘PvmOk’ undeclared (first use in this
> function)
> pypvm_coremodule.c:81: error: (Each undeclared identifier is reported
> only once
> pypvm_coremodule.c:81: error: for each function it appears in.)
> pypvm_coremodule.c:85: error: ‘PvmBadParam’ undeclared (first use in
> this function)
> [...]
> pypvm_coremodule.c:1889: error: ‘PvmDupEntry’ undeclared (first use in
> this function)
> pypvm_coremodule.c:1767: warning: unused variable ‘optModule’
> pypvm_coremodule.c:1766: warning: unused variable ‘resultModule’
> pypvm_coremodule.c:1765: warning: unused variable ‘notifyModule’
> pypvm_coremodule.c:1764: warning: unused variable ‘spawnModule’
> pypvm_coremodule.c:1763: warning: unused variable ‘dataModule’
> pypvm_coremodule.c:1762: warning: unused variable ‘exceptionModule’
> error: command 'gcc' failed with exit status 1
> [ore@localhost pypvm-0.94]$
> 
> 
>
> Can anyone help me get it to work?

You need to check which package provides the  "pvm3.h"-include-file and
install that. Usually, these are *-dev(el)?-packages.

Diez

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google