Installing PVM under MacPorts on Leopard
I've been having trouble getting PVM 3.4.5 to install under MacPorts on Leopard. The conf/DARWIN.def
configuration file defines the FAKEXDRFLOAT
preprocessor symbol; it may be needed for OS X 10.4, but it causes a compiler error w. GCC 4.0.1 under 10.5:
../../src/pmsg.c:785: error: static declaration of 'xdr_float' follows non-static declaration.
The workaround is simple: install the Darwin8 variant.
$ sudo port install pvm +darwin_8
2 comments:
Strange. When I run the command that should work I get the same error message as before. What else did you do?
bromer said: When I run the command that should work I get the same error message as before. What else did you do?
Nothing else that I know of. The procedure is repeatable, too:
$ sudo port clean --all pvm +darwin_8
---> Cleaning pvm
$ sudo port uninstall pvm +darwin_8
---> Deactivating pvm 3.4.5_1+darwin_8
---> Uninstalling pvm 3.4.5_1+darwin_8
$ port installed | grep pvm
$ sudo port install pvm +darwin_8
---> Fetching pvm
---> Attempting to fetch pvm3.4.5.tgz from http://www.netlib.org/pvm3/
---> Verifying checksum(s) for pvm
---> Extracting pvm
---> Applying patches to pvm
---> Configuring pvm
---> Building pvm with target all
---> Staging pvm into destroot
---> Installing pvm 3.4.5_1+darwin_8
---> Activating pvm 3.4.5_1+darwin_8
---> Cleaning pvm
I'm not sure what could be causing it to fail for you. Is your ports installation up to date (sudo port self-update)? Have you uninstalled all variants of pvm (does port installed | grep pvm come up empty)? Are we running the same versions of gcc (4.0.1) and Mac OS X (10.5.2)?
Post a Comment