[cig-commits] r5163 - in long/3D/Gale/trunk: . python/Gale/packages

walter at geodynamics.org walter at geodynamics.org
Tue Oct 31 15:55:23 PST 2006


Author: walter
Date: 2006-10-31 15:55:23 -0800 (Tue, 31 Oct 2006)
New Revision: 5163

Modified:
   long/3D/Gale/trunk/
   long/3D/Gale/trunk/python/Gale/packages/libxml2.py
Log:
 r1035 at earth:  boo | 2006-10-31 14:01:40 -0800
 Minor fix when configure can't find libxml2



Property changes on: long/3D/Gale/trunk
___________________________________________________________________
Name: svk:merge
   - 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:988
   + 3a629746-de10-0410-b17b-fd6ecaaa963e:/cig:1035

Modified: long/3D/Gale/trunk/python/Gale/packages/libxml2.py
===================================================================
--- long/3D/Gale/trunk/python/Gale/packages/libxml2.py	2006-10-31 21:33:39 UTC (rev 5162)
+++ long/3D/Gale/trunk/python/Gale/packages/libxml2.py	2006-10-31 23:55:23 UTC (rev 5163)
@@ -119,9 +119,17 @@
         self.framework.packages.append(self)
     else:
       if not foundInclude:
-        raise RuntimeError('Could not find libxml2 includes.  Tried\n' + includeDirs + '\nTry using the --with-libxml2-include option.')
+        msg='Could not find libxml2 includes.  Tried\n'
+        for d in includeDirs:
+          msg+=d + "\n"
+        msg+='Try using the --with-libxml2-include option.'
+        raise RuntimeError(msg)
       if not foundLibrary:
-        raise RuntimeError('Could not find libxml2 libraries.    Tried\n' + libraryDirs + '\nTry using the --with-libxml2-libdir option.')
+        msg='Could not find libxml2 libraries.  Tried\n'
+        for d in libraryDirs:
+          msg+=d + "\n"
+        msg+='Try using the --with-libxml2-libdir option.'
+        raise RuntimeError(msg)
     return
 
   def configure(self):



More information about the cig-commits mailing list