Created
April 8, 2013 04:56
-
-
Save suma/5334326 to your computer and use it in GitHub Desktop.
Python 2.4 and 3.0 patch for jubatus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/wscript b/wscript | |
| index e664ff9..76691a9 100644 | |
| --- a/wscript | |
| +++ b/wscript | |
| @@ -1,5 +1,6 @@ | |
| import Options | |
| import os | |
| +import sys | |
| VERSION = '0.4.2' | |
| APPNAME = 'jubatus' | |
| @@ -55,7 +56,8 @@ def configure(conf): | |
| try: | |
| conf.check_cfg(package = 'libglog', args = '--cflags --libs') | |
| conf.check_cfg(package = 'pficommon', args = '--cflags --libs') | |
| - except conf.errors.ConfigurationError as e: | |
| + except conf.errors.ConfigurationError: | |
| + e = sys.exc_info()[1] | |
| conf.to_log("PKG_CONFIG_PATH: " + os.environ.get('PKG_CONFIG_PATH', '')) | |
| conf.fatal("Failed to find the library. Please confirm that PKG_CONFIG_PATH environment variable is correctly set.", e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment