Dirk Eddelbuettel wrote:
According to FAQ 7 at http://www.open-mpi.org/faq/?category=building
it should be as simple as adding --enable-static to the configure
call to these build.
We then have to look into getting them properly into the package.
We are all a little short of spare time. Could you possibly venture
into the first point and see if modifying debian/rules accordingly
results in usable static libraries ?
So I gave it a shot. It seems to *almost* do the right thing. It builds
the static libraries, and in most cases it also builds the shared libraries,
but something in the MCA build seems to cause trouble. Briefly reading
through the ompi/mca/common/sm/Makefile it seems to indicate that it
can't build both the static and shared libraries simultaneously (my read
of the notes
at the top of the Makefile under "A word of explanation"). The fact that the
shared libraries aren't present, when using "--enable-static" for configure,
seems to cause problems for dh_install in the dpkg-buildpackage process.
After the builds are done, via dpkg-buildpackage, the process gets to a
point where:
dh_install -s --sourcedir=/usr/local/src/openmpi-1.2.7/debian/openmpi
--list-missing
is executed and it fails with:
cp: cannot stat
`/usr/local/src/openmpi-1.2.7/debian/openmpi/usr/lib/openmpi/lib/libmca_common_sm.so.0.0.0':
No such file or directory
dh_install: command returned error code 256
make: *** [install-arch] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]