Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Cannot install Pypvm (Python Parallel Virtual Machine)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
spectru...@gmail.com  
View profile   Translate to Translated (View Original)
 More options 6 May 2008, 11:31
Newsgroups: comp.lang.python
From: spectru...@gmail.com
Date: Tue, 6 May 2008 03:31:28 -0700 (PDT)
Local: Tues 6 May 2008 11:31
Subject: Cannot install Pypvm (Python Parallel Virtual Machine)
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?

Thanks in advance.
- Claus Appel


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Diez B. Roggisch  
View profile   Translate to Translated (View Original)
 More options 6 May 2008, 11:37
Newsgroups: comp.lang.python
From: "Diez B. Roggisch" <de...@nospam.web.de>
Date: Tue, 06 May 2008 12:37:39 +0200
Local: Tues 6 May 2008 11:37
Subject: Re: Cannot install Pypvm (Python Parallel Virtual Machine)

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
spectru...@gmail.com  
View profile   Translate to Translated (View Original)
 More options 9 May 2008, 16:22
Newsgroups: comp.lang.python
From: spectru...@gmail.com
Date: Fri, 9 May 2008 08:22:49 -0700 (PDT)
Local: Fri 9 May 2008 16:22
Subject: Re: Cannot install Pypvm (Python Parallel Virtual Machine)
Thanks for the reply.

I've found and installed the package containing pvm3.h. (The file is
now located under "share/pvm3/include/pvm3.h".) But Pypvm can't find
it.

Someone recommended that I install the equivalent of what is called
"build-essential" in Ubuntu. I was told that the equivalent can be
achieved in Fedora like this:

sudo yum groupinstall "Development Tools" --exclude=systemtap --
exclude=systemtap-runtime

I don't quite understand what these packages are supposed to do, but
they don't seem to help.

Can anyone tell me how to make (the installation program for) Pypvm
understand where the header file is?

Thanks in advance.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Boddie  
View profile   Translate to Translated (View Original)
 More options 9 May 2008, 16:49
Newsgroups: comp.lang.python
From: Paul Boddie <p...@boddie.org.uk>
Date: Fri, 9 May 2008 08:49:57 -0700 (PDT)
Local: Fri 9 May 2008 16:49
Subject: Re: Cannot install Pypvm (Python Parallel Virtual Machine)
On 9 Mai, 17:22, spectru...@gmail.com wrote:

> Thanks for the reply.

> I've found and installed the package containing pvm3.h. (The file is
> now located under "share/pvm3/include/pvm3.h".) But Pypvm can't find
> it.

There is a pvm-dev package in Ubuntu, but it looks like Fedora employs
a different package layout, since pvm-dev seems to have /usr/include/
pvm3.h instead. See here for more details of the Ubuntu package:

http://packages.ubuntu.com/feisty/i386/pvm-dev/filelist

Had the headers been put in /usr/include, you might have been more
fortunate with the rest of the process.

> Someone recommended that I install the equivalent of what is called
> "build-essential" in Ubuntu. I was told that the equivalent can be
> achieved in Fedora like this:

> sudo yum groupinstall "Development Tools" --exclude=systemtap --
> exclude=systemtap-runtime

I can only guess what this is doing, but I imagine that it is indeed
somewhat like the Ubuntu build-essential meta-package (which installs
some compilers and headers).

> I don't quite understand what these packages are supposed to do, but
> they don't seem to help.

I would doubt that the default set of compilers and headers would
include PVM stuff - that's somewhat beyond what most developers would
want.

> Can anyone tell me how to make (the installation program for) Pypvm
> understand where the header file is?

Pypvm looks like it offers the old-style Makefile generation procedure
or the new-style distutils procedure. With the old-style approach, you
could edit the Makefile and add some parameters in various places - I
guess you'd put "-Ishare/pvm3/include" on the end of the CFLAGS
variable definition, and "-Lshare/pvm3/lib" on the end of the LDFLAGS
definition. With the new-style approach, you have to persuade
distutils to pick up similar information - some packages employ
setup.cfg files for this purpose, whereas others make you specify
extra options when running setup.py.

Paul


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

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