2.4.2 compilation

2005-09-30 Thread pnm
I have a standard Debian x86 system with Python 2.4.1 (compiled from
source). Attempts to compile 2.4.2 fail with references to Unicode --
is there a basic system library that's missing?

++ output from make:
libpython2.4.a(funcobject.o)(.text+0x96): In function `PyFunction_New':
Objects/funcobject.c:31: undefined reference to `PyUnicode_Type'
libpython2.4.a(funcobject.o)(.text+0x9d):Objects/funcobject.c:31:
undefined reference to `PyUnicode_Type'
collect2: ld returned 1 exit status
make: *** [python] Error 1

-- 
http://mail.python.org/mailman/listinfo/python-list


Python not processing .pth files

2007-03-09 Thread pnm
This one I do not understand -- does anyone have any suggestions?


Newly compiled untweaked Python2.5 is not processing .pth files (as
far as I can see _any_ .pth files in site-packages. Example:.

+++

[EMAIL PROTECTED]:/usr/local/lib/python2.5/site-packages$ ls setup*
-rw-r--r--  1 root staff 306K Mar  8 20:44 setuptools-0.6c3-py2.5.egg
-rw-rw-rw-  1 root staff   29 Mar  8 23:57 setuptools.pth
[EMAIL PROTECTED]:/usr/local/lib/python2.5/site-packages$ cat setuptools.pth
./setuptools-0.6c3-py2.5.egg
[EMAIL PROTECTED]:/usr/local/lib/python2.5/site-packages$ python2.5
Python 2.5 (r25:51908, Mar  8 2007, 22:34:54)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import setuptools
Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named setuptools
>>> import sys
>>> sys.path
['', '/usr/local/lib/python25.zip', '/usr/local/lib/python2.5', '/usr/
local/lib/python2.5/plat-linux2', '/usr/local/lib/python2.5/lib-tk', '/
usr/local/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-
packages']
>>>

+

-- 
http://mail.python.org/mailman/listinfo/python-list