Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#11972 closed defect (fixed)

import _local problem with python 2.4.4

Reported by: alex.greif@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.4.40
Keywords: Cc: alex.greif@…, roederja
Port:

Description

just installed python24 (2.4.4) with ports and have a problem:

agreif:~ $ python -V Python 2.4.4 agreif:~ $ python Python 2.4.4 (#1, May 17 2007, 19:49:25) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import _locale

Traceback (most recent call last):

File "<stdin>", line 1, in ?

ImportError: No module named _locale

This works fine with python24 (2.4.3)

If I look for the _locale.so then I only find it in the 2.4.3 distribution. in the 2.4.4 it is missing

Change History (5)

comment:1 Changed 14 years ago by ralf.ebert@…

same problem for me:

building '_locale' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/Python-2.4.4/./Include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/Python-2.4.4/./Mac/Include -I/usr/local/include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/Python-2.4.4/Include -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/Python-2.4.4 -c /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/Python-2.4.4/Modules/_localemodule.c -o build/temp.macosx-10.3-i386-2.4/_localemodule.o
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_python24/work/Python-2.4.4/Modules/_localemodule.c:25:21: error: libintl.h: No such file or directory

comment:2 Changed 14 years ago by alex.greif@…

This problem relates to: #10875

comment:3 Changed 14 years ago by ralf.ebert@…

see also #11926

comment:4 Changed 14 years ago by roederja

Resolution: fixed
Status: newclosed

Should be fixed in r25391. Please re-open if not

comment:5 Changed 14 years ago by roederja

Cc: alex.greif@… jann@… added
Note: See TracTickets for help on using tickets.