]> granicus.if.org Git - python/commitdiff
Add text to Mac/README to warn about non-universal libraries when
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 17 Jan 2010 12:38:11 +0000 (12:38 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 17 Jan 2010 12:38:11 +0000 (12:38 +0000)
building a universal Python. Based on issue7679.

Mac/README

index 988e624c4bd360db9a0ec1bc1ec4bbc0fa8b4f6f..cf18d2b09a688ca4361217c6f3bb223ad55cb006 100644 (file)
@@ -224,6 +224,25 @@ Because of the way the script locates the files it needs you have to run it
 from within the BuildScript directory. The script accepts a number of 
 command-line arguments, run it with --help for more information.
 
+Configure warnings
+==================
+
+The configure script sometimes emits warnings like the one below::
+
+   configure: WARNING: libintl.h: present but cannot be compiled
+   configure: WARNING: libintl.h:     check for missing prerequisite headers?
+   configure: WARNING: libintl.h: see the Autoconf documentation
+   configure: WARNING: libintl.h:     section "Present But Cannot Be Compiled"
+   configure: WARNING: libintl.h: proceeding with the preprocessor's result
+   configure: WARNING: libintl.h: in the future, the compiler will take precedence
+   configure: WARNING:     ## -------------------------------------- ##
+   configure: WARNING:     ## Report this to http://bugs.python.org/ ##
+   configure: WARNING:     ## -------------------------------------- ##
+
+This almost always means you are trying to build a universal binary for
+Python and have libaries in ``/usr/local`` that don't contain the required
+architectures. Temporarily move ``/usr/local`` aside to finish the build.
+
 Odds and ends
 =============