block 463931 by 463926
tags 463931 + patch
thanks

Hi!

Please find attached a patch for this bug. Note that the version of
arpack which I use was one custom compiled using the gfortranized
build dependencies and you may wish to change it later from 2.1-8.1 to
the next version chosen (e.g. 2.1-9), though that shouldn't matter.

-Build-Depends: debhelper ( >> 4.1.0 ), g++ (>>2.95), libg2c0-dev, 
refblas3-dev|libblas-3.so, lapack3-dev|lapack-3.so, libarpack2-dev, chrpath
+Build-Depends: debhelper ( >> 4.1.0 ), g++ (>>2.95), gfortran, libblas-dev, 
liblapack-dev, libarpack2-dev (>= 2.1-8.1), chrpath

HTH.

Thanks.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
diff -u arpack++-2.2/configure arpack++-2.2/configure
--- arpack++-2.2/configure
+++ arpack++-2.2/configure
@@ -4100,7 +4100,9 @@
 if test $ac_cv_lib_g2c_s_copy = yes; then
   all_libs="-lg2c"
 else
-   echo "you need g2c.";exit 1;
+#   echo "you need g2c.";exit 1;
+   all_libs="-lgfortran"
+   echo "g2c not found, but proceeding.";
 fi
 
 { echo "$as_me:$LINENO: checking for daxpy_ in -lblas" >&5
@@ -4176,7 +4178,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-llapack -lblas -lg2c $LIBS"
+LIBS="-llapack -lblas -lgfortran $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -4243,7 +4245,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-larpack -llapack -lblas -lg2c $LIBS"
+LIBS="-larpack -llapack -lblas -lgfortran $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
diff -u arpack++-2.2/debian/control arpack++-2.2/debian/control
--- arpack++-2.2/debian/control
+++ arpack++-2.2/debian/control
@@ -1,7 +1,7 @@
 Source: arpack++
 Section: devel
 Priority: optional
-Build-Depends: debhelper ( >> 4.1.0 ), g++ (>>2.95), libg2c0-dev, refblas3-dev|libblas-3.so, lapack3-dev|lapack-3.so, libarpack2-dev, chrpath
+Build-Depends: debhelper ( >> 4.1.0 ), g++ (>>2.95), gfortran, libblas-dev, liblapack-dev, libarpack2-dev (>= 2.1-8.1), chrpath
 Maintainer: Debian Scientific Computing Team <[EMAIL PROTECTED]>
 Uploaders: Christophe Prud'homme <[EMAIL PROTECTED]>
 Standards-Version: 3.7.2
@@ -29,7 +29,7 @@
 Package: libarpack++2-dev
 Section: libdevel
 Architecture: any
-Depends: libarpack++2c2a (= ${Source-Version}), libarpack2-dev
+Depends: libarpack++2c2a (= ${Source-Version}), libarpack2-dev (>= 2.1-8.1)
 Description: Object-oriented version of the ARPACK package (development)
  ARPACK++ is an object-oriented version of the ARPACK package. It consists a
  collection of classes that offers c++ programmers an interface to ARPACK. It
diff -u arpack++-2.2/debian/rules arpack++-2.2/debian/rules
--- arpack++-2.2/debian/rules
+++ arpack++-2.2/debian/rules
@@ -23,7 +23,7 @@
 	$(checkdir)
 # fix wrong timestamp in almost all README (1945, 1967 ...)
 	-find . -name README  | xargs touch
-	./configure --prefix=/usr --includedir=/usr/include/arpack++
+	F77=gfortran ./configure --prefix=/usr --includedir=/usr/include/arpack++
 	make
 	chrpath -d src/.libs/libarpack++.so.2
 	touch build

Attachment: signature.asc
Description: Digital signature

Reply via email to