Package: libslepc3.2-dev
Version: 3.2-p5-1
Severity: normal
Tags: patch
thanks

Building the deal.II package fails, because its buildsystem doesn't find
the file /usr/lib/slepc/include/slepcconf.h. This file is actually
located under /usr/lib/slepc/linux-gnu-c-opt/include/slepcconf.h.

I would suggest to add a symlink from /usr/lib/slepc/include/slepcconf.h
to /user/lib/slepc/linux-gnu-c-opt/include/slepcconf.h since this would
be similar to how PETSC handles its configuration headers.
In the attached patch you find the corresponding change to the rules
file of SLEPC which I based on the rules file of PETSC.

Regards
Felix
--- slepc-3.2-p5.orig/debian/rules	2012-05-29 01:56:41.000000000 +0200
+++ slepc-3.2-p5/debian/rules	2012-05-29 02:04:50.000000000 +0200
@@ -123,6 +123,8 @@
 	install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/private
 	cp -p include/private/*.h \
 	  debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/private
+	cd debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include && \
+	  ln -s ../$(PETSC_ARCH)-c-opt/include/*.h .
 	install -d debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/src/eps/impls/blopex
 	sed "s/..\/src/src/" < src/eps/impls/external/blopex/slepc-interface.h > \
 	  debian/lib$(SLEPC_NAME)-dev/usr/lib/slepcdir/$(SLEPC_VERSION)/include/src/eps/impls/blopex/slepc-interface.h

Reply via email to