On Sun, Mar 7, 2010 at 09:36, Brad Miller <millbr02@luther.edu> wrote:
">

(original) (raw)

Do you have MacPorts or Fink installed? If you do then you have a version of gettext installed that is not compiled properly to work with Python (usually its a 32-bit/64-bit thing). Best piece of advice is to not use MacPorts/Fink and use Homebrew instead. =)


On Sun, Mar 7, 2010 at 09:36, Brad Miller <millbr02@luther.edu> wrote:


I download the source snapshot


./configure --enable-framework
make

...

/usr/bin/install -c -d -m 755 Python.framework/Versions/3.1

if test ""; then \\
gcc -o Python.framework/Versions/3.1/Python -dynamiclib \\
-isysroot "" \\
-all\_load libpython3.1.a -Wl,-single\_module \\
-install\_name /Library/Frameworks/Python.framework/Versions/3.1/Python \\
-compatibility\_version 3.1 \\
-current\_version 3.1 \\
-framework CoreFoundation -ldl -framework CoreFoundation; \\
else \\
/usr/bin/libtool -o Python.framework/Versions/3.1/Python -dynamic libpython3.1.a \\
-lSystem -lSystemStubs -arch\_only x86\_64 -install\_name /Library/Frameworks/Python.framework/Versions/3.1/Python -compatibility\_version 3.1 -current\_version 3.1 -framework CoreFoundation -ldl -framework CoreFoundation;\\
fi

Undefined symbols:
"\_libintl\_bindtextdomain", referenced from:
\_PyIntl\_bindtextdomain in libpython3.1.a(\_localemodule.o)

"_libintl_textdomain", referenced from:

_PyIntl_textdomain in libpython3.1.a(_localemodule.o)
"_libintl_dgettext", referenced from:
_PyIntl_dgettext in libpython3.1.a(_localemodule.o)

"\_libintl\_gettext", referenced from:
\_PyIntl\_gettext in libpython3.1.a(\_localemodule.o)
"\_libintl\_dcgettext", referenced from:
\_PyIntl\_dcgettext in libpython3.1.a(\_localemodule.o)
ld: symbol(s) not found
/usr/bin/libtool: internal link edit command failed

I'm on 10.6.2, gcc version 4.2.1

Any hints on where to go from here?



On Sun, Mar 7, 2010 at 8:57 AM, Antoine Pitrou <solipsis@pitrou.net> wrote:

Le Sun, 07 Mar 2010 11:10:52 +0100,
Stefan Behnel <stefan\_ml@behnel.de> a écrit :
>
> Any reason the fix for bug 7173 didn't make it in? The test case that
> Amaury came up with seems to indicate that this a pretty serious
> issue.

The patch needs to properly include an unit test reproducing the test
case.
Also, a committer must step up and apply it. I am currently on vacation
and refrain from doing commits myself.

Regards

Antoine.


\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/bmiller%40luther.edu


\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org