From: Frank Kehren <f.kehren@fz-juelich.de>
Newsgroups: comp.parallel.pvm
Subject: Re: PVM compiling error with SuSE 5.3
Date: Tue, 06 Apr 1999 19:18:45 +0200
Organization: Institut fuer Medizin - Forschungszentrum Juelich
Message-Id: <370A41F5.131316C6@fz-juelich.de>
References: <7ebasn$t73$1@inf6serv.rug.ac.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Xref: ukc comp.parallel.pvm:8217


Hello,

> Recently, I downloaded PVM version 3.4.0 (pvm3.4.0.tar.gz)
> for using it on my SuSE 5.3 Linux Distribution.
>
> When I try to compile it completely (make all),
> the computer stops compiling at a certain point.
>
>
> What can I do to resolve this?

there seems to be a bug in one of the makefiles, because libcurses is not
linked.
I have had the same problem with SuSE 6.0. One solution would be to change
the relevant makefile, but i had not the time to figure that out.
My solution was:

cd /usr/local/pvm3
make
/* compilation stops in console/LINUX with error messages */

cd /usr/local/pvm3/console/LINUX

/* repeat the last compilation command and add -L /usr/lib/curses and
-lcurses, e.g.: */

cc  -DIMA_LINUX -I../../include -I../../tracer -I../../src -DSYSVSIGNAL
-DNOWAIT3 -DRSHCOMMAND=\"/usr/bin/rsh\" -DNEEDENDIAN -DFDSETNOTSTRUCT
-DHASERRORVARS -DCTIMEISTIMET -DSYSERRISCONST -DHASREADLINE -o pvm
cons.o cmds.o job.o trc.o  -L../../tracer/LINUX -L../../lib/LINUX
-L/usr/lib/curses -lpvmtrc -lpvm3 -lreadline -lcurses

cd /usr/local/pvm3
make
/* make should now complete */
make install
/* stops at the same place */
cd console/LINUX
/* repeat the last compilation command as above */
make install
/* now it works */

Greetings, Frank

--
Frank Kehren

