Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103188

Compilation of Python 3.5.1 fails on Solaris 8 sparc

Newsgroups comp.lang.python
Date 2016-02-19 03:49 -0800
Message-ID <3bf2f2cf-e3e6-424f-987a-3d0dc05f82dc@googlegroups.com> (permalink)
Subject Compilation of Python 3.5.1 fails on Solaris 8 sparc
From bthk55@gmail.com

Show all headers | View raw


When I try to compile the python from source on Solaris 8. I getting the following error 



"""

Modules/_localemodule.o: In function PyIntl_gettext': Modules/_localemodule.o(.text+0xb60): undefined reference to libintl_gettext' Modules/_localemodule.o: In function PyIntl_dgettext': Modules/_localemodule.o(.text+0xba8): undefined reference to libintl_dgettext' Modules/_localemodule.o: In function PyIntl_dcgettext': Modules/_localemodule.o(.text+0xbf8): undefined reference to libintl_dcgettext' Modules/_localemodule.o: In function PyIntl_textdomain': Modules/_localemodule.o(.text+0xc38): undefined reference to libintl_textdomain' Modules/_localemodule.o: In function PyIntl_bindtextdomain': Modules/_localemodule.o(.text+0xcec): undefined reference to libintl_bindtextdomain' Modules/_localemodule.o: In function PyIntl_bind_textdomain_codeset': Modules/_localemodule.o(.text+0xde0): undefined reference to libintl_bind_textdomain_codeset' collect2: ld returned 1 exit status make: *** [Programs/_freeze_importlib] Error 1


"""



The steps that I followed :

CPPFLAGS="-I/usr/local/include"
 export CPPFLAGS
 LD_OPTIONS='-L/usr/local/lib -R/usr/local/lib'
 export LD_OPTIONS
 LDFLAGS='-L/usr/local/lib -R/usr/local/lib'
 export LDFLAGS
 CC=/usr/local/bin/gcc OPT="-O2" ./configure  --prefix=/opt/soe/local/Python-3.5.1

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Compilation of Python 3.5.1 fails on Solaris 8 sparc bthk55@gmail.com - 2016-02-19 03:49 -0800

csiph-web