Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2008 11:02:45 -0700 (PDT)
From:      Alexander Sack <pisymbol@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   python-2.5 FreeBSD-6.1-amd64 build issues
Message-ID:  <20155059.post@talk.nabble.com>

next in thread | raw e-mail | index | archive | help

When I do a portinstall python which kicks starts the
/usr/ports/lang/python25 build I see this when I link:

cc -c -fno-strict-aliasing -DNDEBUG -O2 -fno-strict-aliasing -pipe
-D__wchar_t=wchar_t  -DTHREAD_STACK_SIZE=0x20000  -I. -IInclude
-I./../Include  -DPy_BUILD_CORE -DSVNVERSION=\"`LC_ALL=C echo exported`\" -o
Modules/getbuildinfo.o ./../Modules/getbuildinfo.c
if test libpython2.5.so != libpython2.5.so; then  ld -Wl,-hlibpython2.5.so
-o libpython2.5.so Modules/_typesmodule.o  Modules/getbuildinfo.o 
Parser/acceler.o  Parser/grammar1.o  Parser/listnode.o  Parser/node.o 
Parser/parser.o  Parser/parsetok.o  Parser/bitset.o  Parser/metagrammar.o 
Parser/firstsets.o  Parser/grammar.o  Parser/pgen.o Parser/myreadline.o
Parser/tokenizer.o  Objects/abstract.o  Objects/boolobject.o 
Objects/bufferobject.o  Objects/cellobject.o  Objects/classobject.o 
Objects/cobject.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/intobject.o 
Objects/iterobject.o  Objects/listobject.o  Objects/longobject.o 
Objects/dictobject.o  Objects/methodobject.o  Objects/moduleobject.o 
Objects/object.o  Objects/obmalloc.o  Objects/rangeobject.o 
Objects/setobject.o  Objects/sliceobject.o  Objects/stringobject.o 
Objects/structseq.o  Objects/tupleobject.o  Objects/typeobject.o 
Objects/weakrefobject.o  Objects/unicodeobject.o Objects/unicodectype.o 
Python/Python-ast.o  Python/asdl.o  Python/ast.o  Python/bltinmodule.o 
Python/ceval.o  Python/compile.o  Python/codecs.o  Python/errors.o 
Python/frozen.o  Python/frozenmain.o  Python/future.o  Python/getargs.o 
Python/getcompiler.o  Python/getcopyright.o  Python/getmtime.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/pyarena.o  Python/pyfpe.o 
Python/pystate.o  Python/pythonrun.o  Python/structmember.o 
Python/symtable.o  Python/sysmodule.o  Python/traceback.o  Python/getopt.o 
Python/pystrtod.o  Python/dynload_shlib.o    Python/thread.o 
Modules/config.o  Modules/getpath.o  Modules/main.o  Modules/gcmodule.o   
Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o 
Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o 
Modules/_codecsmodule.o  Modules/zipimport.o  Modules/symtablemodule.o 
Modules/xxsubtype.o -lutil  -lm;  ln -f libpython2.5.so libpython2.5.so; 
else ld -o libpython2.5.so Modules/_typesmodule.o  Modules/getbuildinfo.o 
Parser/acceler.o  Parser/grammar1.o  Parser/listnode.o  Parser/node.o 
Parser/parser.o  Parser/parsetok.o  Parser/bitset.o  Parser/metagrammar.o 
Parser/firstsets.o  Parser/grammar.o  Parser/pgen.o Parser/myreadline.o
Parser/tokenizer.o  Objects/abstract.o  Objects/boolobject.o 
Objects/bufferobject.o  Objects/cellobject.o  Objects/classobject.o 
Objects/cobject.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/intobject.o 
Objects/iterobject.o  Objects/listobject.o  Objects/longobject.o 
Objects/dictobject.o  Objects/methodobject.o  Objects/moduleobject.o 
Objects/object.o  Objects/obmalloc.o  Objects/rangeobject.o 
Objects/setobject.o  Objects/sliceobject.o  Objects/stringobject.o 
Objects/structseq.o  Objects/tupleobject.o  Objects/typeobject.o 
Objects/weakrefobject.o  Objects/unicodeobject.o Objects/unicodectype.o 
Python/Python-ast.o  Python/asdl.o  Python/ast.o  Python/bltinmodule.o 
Python/ceval.o  Python/compile.o  Python/codecs.o  Python/errors.o 
Python/frozen.o  Python/frozenmain.o  Python/future.o  Python/getargs.o 
Python/getcompiler.o  Python/getcopyright.o  Python/getmtime.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/pyarena.o  Python/pyfpe.o 
Python/pystate.o  Python/pythonrun.o  Python/structmember.o 
Python/symtable.o  Python/sysmodule.o  Python/traceback.o  Python/getopt.o 
Python/pystrtod.o  Python/dynload_shlib.o    Python/thread.o 
Modules/config.o  Modules/getpath.o  Modules/main.o  Modules/gcmodule.o   
Modules/threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o 
Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o 
Modules/_codecsmodule.o  Modules/zipimport.o  Modules/symtablemodule.o 
Modules/xxsubtype.o -lutil  -lm;  fi
ld: warning: cannot find entry symbol _start; defaulting to 0000000000401050
Parser/acceler.o(.text+0x23b): In function `PyGrammar_AddAccelerators':
: undefined reference to `puts'
Parser/acceler.o(.text+0x2d6): In function `PyGrammar_AddAccelerators':
: undefined reference to `puts'
Parser/acceler.o(.text+0x306): In function `PyGrammar_AddAccelerators':
: undefined reference to `__stderrp'

Has anyone seen this before?  I googled, came up empty and really don't want
to learn python's build!  (hey, I'm at least honest about it).

I tried using the 6.2-RELEASE pkg but "import socket" fails with can't find
___h_error etc.

Thanks!

-aps


-- 
View this message in context: http://www.nabble.com/python-2.5-FreeBSD-6.1-amd64-build-issues-tp20155059p20155059.html
Sent from the freebsd-ports mailing list archive at Nabble.com.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20155059.post>