Package: openmpi-bin
Version: 1.2.3-1
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hi,

the current openmpi packages now build fine on Debian/GNU kFreeBSD,
except for one thing: the libibverbs library doesn't exist
on non-Linux platforms (no upstream support) and it doesn't seem likely
that it will be available anytime soon (but please correct me if I'm wrong!)

Thus, kfreebsd-* (and also hurd-*, I guess) should be excluded from the
dependencies on non-Linux platforms, see patch.

The attached patch was enough for me to get a successful build on
kFreeBSD i386. It seems the build system copes fine with a missing
libibverbs otherwise, no further fixes seem to be required.

However, actually _using_ Open MPI does not yet work, I get a segfault
on my hello world program. But I think that's unrelated so I'll file an
extra bug on that.


HTH, Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
--- debian/control.orig	2007-08-01 13:27:57.000000000 +0200
+++ debian/control	2007-08-01 13:28:50.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian OpenMPI Maintainers <[EMAIL PROTECTED]>
 Uploaders: Dirk Eddelbuettel <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.0), dpatch, libibverbs-dev, gfortran, libsysfs-dev, automake, gcc (>= 4:4.1.2)
+Build-Depends: debhelper (>= 5.0.0), dpatch, libibverbs-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], gfortran, libsysfs-dev, automake, gcc (>= 4:4.1.2)
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-openmpi/openmpi/trunk/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-openmpi/openmpi/trunk/

Attachment: signature.asc
Description: Digital signature

Reply via email to