This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients benjamin.peterson, brett.cannon, tarek
Date 2009-05-31.07:34:15
SpamBayes Score 6.974299e-07
Marked as misclassified No
Message-id <1243755260.42.0.755665912346.issue6154@psf.upfronthosting.co.za>
In-reply-to
Content
I believe r72863 broke building on OS X. If you uncomment the ``-lintl``
part for _localemodule.c in Modules/Setup then Python 3.1 builds. Below
is the linkage error that Tarek and I both independently ran into.

gcc -L/Users/brett/usr/lib -L/Users/brett/.local/lib -L/unix/lib
-L/unix/macports/lib -L/Developer/usr/lib -framework CoreFoundation -o
python.exe \
			Modules/python.o \
			libpython3.1.a -ldl      
Undefined symbols:
  "_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_dcgettext", referenced from:
      _PyIntl_dcgettext in libpython3.1.a(_localemodule.o)
  "_libintl_bindtextdomain", referenced from:
      _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o)
  "_libintl_gettext", referenced from:
      _PyIntl_gettext in libpython3.1.a(_localemodule.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [python.exe] Error 1
History
Date User Action Args
2009-05-31 07:34:21brett.cannonsetrecipients: + brett.cannon, benjamin.peterson, tarek
2009-05-31 07:34:20brett.cannonsetmessageid: <1243755260.42.0.755665912346.issue6154@psf.upfronthosting.co.za>
2009-05-31 07:34:18brett.cannonlinkissue6154 messages
2009-05-31 07:34:16brett.cannoncreate