Re: [Python-Dev] Python-3.6.0 compilation error

2017-03-01 Thread Brett Cannon
This mailing list is for the development **of** Python, not **with** it.
For build failures like this it's best to ask on python-list (and if you
search for the missing libintl_* symbols you will find they come from
gettext).

On Wed, 1 Mar 2017 at 08:10 Porel, Subrata  wrote:

> Hi Team,
>
>
>
> While trying to compile the Python-3.6.0 in our Solaris 10 server to
> install this beside python 2.6.4 we have got below error: Please help on
> this.
>
>
>
> root@xxyyzz:/opt/Python-3.6.0#python
>
> Python 2.6.4 (r264:75706, Jun 27 2012, 05:45:50) [C] on sunos5
>
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> ^D
>
> root@xxyyzz:/opt/Python-3.6.0#make test
>
> gcc   -o Programs/_freeze_importlib Programs/_freeze_importlib.o
> Modules/getbuildinfo.o  Parser/acceler.o  Parser/grammar1.o
> Parser/listnode.o  Parser/node.o  Parser/parser.o  Parser/bitset.o
> Parser/metagrammar.o  Parser/firstsets.o  Parser/grammar.o  Parser/pgen.o
> Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o
> Objects/abstract.o  Objects/accu.o  Objects/boolobject.o
> Objects/bytes_methods.o  Objects/bytearrayobject.o  Objects/bytesobject.o
> Objects/cellobject.o  Objects/classobject.o  Objects/codeobject.o
> Objects/complexobject.o  Objects/descrobject.o  Objects/enumobject.o
> Objects/exceptions.o  Objects/genobject.o  Objects/fileobject.o
> Objects/floatobject.o  Objects/frameobject.o  Objects/funcobject.o
> Objects/iterobject.o  Objects/listobject.o  Objects/longobject.o
> Objects/dictobject.o  Objects/odictobject.o  Objects/memoryobject.o
> Objects/methodobject.o  Objects/moduleobject.o  Objects/namespaceobject.o
> Objects/object.o  Objects/obmalloc.o  Objects/capsule.o
> Objects/rangeobject.o  Objects/setobject.o  Objects/sliceobject.o
> Objects/structseq.o  Objects/tupleobject.o  Objects/typeobject.o
> Objects/unicodeobject.o  Objects/unicodectype.o  Objects/weakrefobject.o
> Python/_warnings.o  Python/Python-ast.o  Python/asdl.o  Python/ast.o
> Python/bltinmodule.o  Python/ceval.o  Python/compile.o  Python/codecs.o
> Python/dynamic_annotations.o  Python/errors.o  Python/frozenmain.o
> Python/future.o  Python/getargs.o  Python/getcompiler.o
> Python/getcopyright.o  Python/getplatform.o  Python/getversion.o
> Python/graminit.o  Python/import.o  Python/importdl.o  Python/marshal.o
> Python/modsupport.o  Python/mystrtoul.o  Python/mysnprintf.o
> Python/peephole.o  Python/pyarena.o  Python/pyctype.o  Python/pyfpe.o
> Python/pyhash.o  Python/pylifecycle.o  Python/pymath.o  Python/pystate.o
> Python/pythonrun.o  Python/pytime.o  Python/random.o
> Python/structmember.o  Python/symtable.o  Python/sysmodule.o
> Python/traceback.o  Python/getopt.o  Python/pystrcmp.o  Python/pystrtod.o
> Python/pystrhex.o  Python/dtoa.o  Python/formatter_unicode.o
> Python/fileutils.o  Python/dynload_shlib.o  Python/thread.o
> Modules/config.o  Modules/getpath.o  Modules/main.o  Modules/gcmodule.o
> Modules/_threadmodule.o  Modules/posixmodule.o  Modules/errnomodule.o
>  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o
> Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/_operator.o
> Modules/_collectionsmodule.o  Modules/itertoolsmodule.o
> Modules/atexitmodule.o  Modules/signalmodule.o  Modules/_stat.o
> Modules/timemodule.o  Modules/_localemodule.o  Modules/_iomodule.o
> Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o
> Modules/textio.o Modules/stringio.o  Modules/zipimport.o
> Modules/faulthandler.o  Modules/_tracemalloc.o Modules/hashtable.o
> Modules/symtablemodule.o  Modules/xxsubtype.o -lsocket -lnsl -lintl -lrt
> -ldl -lsendfile   -lm
>
> Undefined   first referenced
>
> symbol in file
>
> libintl_bind_textdomain_codeset Modules/_localemodule.o
>
> libintl_gettext Modules/_localemodule.o
>
> libintl_textdomain  Modules/_localemodule.o
>
> libintl_dcgettext   Modules/_localemodule.o
>
> libintl_bindtextdomain  Modules/_localemodule.o
>
> libintl_dgettextModules/_localemodule.o
>
> ld: fatal: symbol referencing errors. No output written to
> Programs/_freeze_importlib
>
> collect2: ld returned 1 exit status
>
> *** Error code 1
>
> make: Fatal error: Command failed for target `Programs/_freeze_importlib'
>
> root@xxyyzz:/opt/Python-3.6.0#gcc
>
> gcc: no input files
>
> root@xxyyzz:/opt/Python-3.6.0#which gcc
>
> /usr/sfw/bin/gcc
>
> root@fcudrpt01:/opt/Python-3.6.0#gcc --version
>
> gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
>
> Copyright (C) 2004 Free Software Foundation, Inc.
>
> This is free software; see the source for copying conditions.  There is NO
>
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>
>
>
>
> Regards,
>
> Subrata Porel
>
> Tronc TCS UNIX Admin
>
> TCS Gitanjali Park, Kolkata, India
> Email: spo...@tronc.com
> Mobile: +91 798 036 7240 <+91%2079803%2067240>
> Work Phone: +1 321 27

[Python-Dev] Python-3.6.0 compilation error

2017-03-01 Thread Porel, Subrata
Hi Team,

While trying to compile the Python-3.6.0 in our Solaris 10 server to install 
this beside python 2.6.4 we have got below error: Please help on this.

root@xxyyzz:/opt/Python-3.6.0#python
Python 2.6.4 (r264:75706, Jun 27 2012, 05:45:50) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> ^D
root@xxyyzz:/opt/Python-3.6.0#make test
gcc   -o Programs/_freeze_importlib Programs/_freeze_importlib.o 
Modules/getbuildinfo.o  Parser/acceler.o  Parser/grammar1.o  Parser/listnode.o  
Parser/node.o  Parser/parser.o  Parser/bitset.o  Parser/metagrammar.o  
Parser/firstsets.o  Parser/grammar.o  Parser/pgen.o Parser/myreadline.o 
Parser/parsetok.o Parser/tokenizer.o  Objects/abstract.o  Objects/accu.o  
Objects/boolobject.o  Objects/bytes_methods.o  Objects/bytearrayobject.o  
Objects/bytesobject.o  Objects/cellobject.o  Objects/classobject.o  
Objects/codeobject.o  Objects/complexobject.o  Objects/descrobject.o  
Objects/enumobject.o  Objects/exceptions.o  Objects/genobject.o  
Objects/fileobject.o  Objects/floatobject.o  Objects/frameobject.o  
Objects/funcobject.o  Objects/iterobject.o  Objects/listobject.o  
Objects/longobject.o  Objects/dictobject.o  Objects/odictobject.o  
Objects/memoryobject.o  Objects/methodobject.o  Objects/moduleobject.o  
Objects/namespaceobject.o  Objects/object.o  Objects/obmalloc.o  
Objects/capsule.o  Objects/rangeobject.o  Objects/setobject.o  
Objects/sliceobject.o  Objects/structseq.o  Objects/tupleobject.o  
Objects/typeobject.o  Objects/unicodeobject.o  Objects/unicodectype.o  
Objects/weakrefobject.o  Python/_warnings.o  Python/Python-ast.o  Python/asdl.o 
 Python/ast.o  Python/bltinmodule.o  Python/ceval.o  Python/compile.o  
Python/codecs.o  Python/dynamic_annotations.o  Python/errors.o  
Python/frozenmain.o  Python/future.o  Python/getargs.o  Python/getcompiler.o  
Python/getcopyright.o  Python/getplatform.o  Python/getversion.o  
Python/graminit.o  Python/import.o  Python/importdl.o  Python/marshal.o  
Python/modsupport.o  Python/mystrtoul.o  Python/mysnprintf.o  Python/peephole.o 
 Python/pyarena.o  Python/pyctype.o  Python/pyfpe.o  Python/pyhash.o  
Python/pylifecycle.o  Python/pymath.o  Python/pystate.o  Python/pythonrun.o  
Python/pytime.o  Python/random.o  Python/structmember.o  Python/symtable.o  
Python/sysmodule.o  Python/traceback.o  Python/getopt.o  Python/pystrcmp.o  
Python/pystrtod.o  Python/pystrhex.o  Python/dtoa.o  Python/formatter_unicode.o 
 Python/fileutils.o  Python/dynload_shlib.o  Python/thread.o
Modules/config.o  Modules/getpath.o  Modules/main.o  Modules/gcmodule.o  
Modules/_threadmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  
Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  
Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/_operator.o  
Modules/_collectionsmodule.o  Modules/itertoolsmodule.o  Modules/atexitmodule.o 
 Modules/signalmodule.o  Modules/_stat.o  Modules/timemodule.o  
Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o 
Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  
Modules/zipimport.o  Modules/faulthandler.o  Modules/_tracemalloc.o 
Modules/hashtable.o  Modules/symtablemodule.o  Modules/xxsubtype.o -lsocket 
-lnsl -lintl -lrt -ldl -lsendfile   -lm
Undefined   first referenced
symbol in file
libintl_bind_textdomain_codeset Modules/_localemodule.o
libintl_gettext Modules/_localemodule.o
libintl_textdomain  Modules/_localemodule.o
libintl_dcgettext   Modules/_localemodule.o
libintl_bindtextdomain  Modules/_localemodule.o
libintl_dgettextModules/_localemodule.o
ld: fatal: symbol referencing errors. No output written to 
Programs/_freeze_importlib
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `Programs/_freeze_importlib'
root@xxyyzz:/opt/Python-3.6.0#gcc
gcc: no input files
root@xxyyzz:/opt/Python-3.6.0#which gcc
/usr/sfw/bin/gcc
root@fcudrpt01:/opt/Python-3.6.0#gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Regards,
Subrata Porel
Tronc TCS UNIX Admin
TCS Gitanjali Park, Kolkata, India
Email: spo...@tronc.com
Mobile: +91 798 036 7240
Work Phone: +1 321 270 7685

___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com