|
|
Últimos Cambios |
Blog personal: El hilo del laberinto
|
|
|
Última Actualización: 30 de Enero de 2003 - Jueves
La versión 2.2.1 de Python no compila correctamente sobre Solaris. El parche es trivial. Se considera que estamos usando GCC:
Index: Makefile.pre.in
===================================================================
RCS file: /opt/src/cvsroot/python/Makefile.pre.in,v
retrieving revision 1.1.1.4
retrieving revision 1.1.1.4.2.1
diff -u -r1.1.1.4 -r1.1.1.4.2.1
--- Makefile.pre.in 2002/04/18 10:28:35 1.1.1.4
+++ Makefile.pre.in 2002/04/18 17:29:20 1.1.1.4.2.1
@@ -94,8 +94,8 @@
# Symbols used for using shared libraries
SO= @SO@
-LDSHARED= @LDSHARED@
-BLDSHARED= @BLDSHARED@
+LDSHARED= @LDSHARED@
+BLDSHARED= @BLDSHARED@ -Wl,--rpath -Wl,/usr/local/lib
DESTSHARED= $(BINLIBDEST)/lib-dynload
# Executable suffix (.exe on Windows and Mac OS X)
Index: configure
===================================================================
RCS file: /opt/src/cvsroot/python/configure,v
retrieving revision 1.1.1.7
retrieving revision 1.1.1.7.2.1
diff -u -r1.1.1.7 -r1.1.1.7.2.1
--- configure 2002/04/18 10:28:36 1.1.1.7
+++ configure 2002/04/18 12:16:59 1.1.1.7.2.1
@@ -3275,13 +3275,8 @@
then
LINKFORSHARED="-Wl,--export-dynamic"
fi;;
- SunOS/5*) case $CC in
- *gcc*)
- if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
- then
+ SunOS/5*)
LINKFORSHARED="-Xlinker --export-dynamic"
- fi;;
- esac;;
esac
fi
echo "$ac_t""$LINKFORSHARED" 1>&6
Index: setup.py
===================================================================
RCS file: /opt/src/cvsroot/python/setup.py,v
retrieving revision 1.1.1.5
retrieving revision 1.1.1.5.2.1
diff -u -r1.1.1.5 -r1.1.1.5.2.1
--- setup.py 2002/04/18 10:28:37 1.1.1.5
+++ setup.py 2002/04/18 17:29:20 1.1.1.5.2.1
@@ -1,7 +1,7 @@
# Autodetecting setup.py script for building the Python extensions
#
-__version__ = "$Revision: 1.1.1.5 $"
+__version__ = "$Revision: 1.1.1.5.2.1 $"
import sys, os, getopt
from distutils import sysconfig
@@ -211,8 +211,8 @@
# lib_dirs and inc_dirs are used to search for files;
# if a file is found in one of those directories, it can
# be assumed that no additional -I,-L directives are needed.
- lib_dirs = self.compiler.library_dirs + ['/lib', '/usr/lib']
- inc_dirs = self.compiler.include_dirs + ['/usr/include']
+ lib_dirs = self.compiler.library_dirs + ['/usr/local/lib/', '/lib', '/usr/lib']
+ inc_dirs = self.compiler.include_dirs + ['/usr/local/include', '/usr/include']
exts = []
platform = self.get_platform()
Index: Python/thread_pthread.h
===================================================================
RCS file: /opt/src/cvsroot/python/Python/thread_pthread.h,v
retrieving revision 1.1.1.5
retrieving revision 1.1.1.5.2.1
diff -u -r1.1.1.5 -r1.1.1.5.2.1
--- Python/thread_pthread.h 2002/04/18 10:31:39 1.1.1.5
+++ Python/thread_pthread.h 2002/04/18 11:05:27 1.1.1.5.2.1
@@ -3,13 +3,9 @@
#include <stdlib.h>
#include <string.h>
-#ifdef __APPLE__
#define destructor xxdestructor
-#endif
#include <pthread.h>
-#ifdef __APPLE__
#undef destructor
-#endif
#include <signal.h>
Más información sobre los OpenBadges
Donación BitCoin: 19niBN42ac2pqDQFx6GJZxry2JQSFvwAfS
