www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - PyD status on fedora 19?

reply "Neal Becker" <ndbecker2 gmail.com> writes:
Just trying PyD on fedora 19 x86_64.

I install ldc (and friends) using yum.

Then I did hg clone https://bitbucket.org/ariovistus/pyd

Now after python setup.py install --user, I go to try hello: 

[nbecker nbecker7 hello]$ python tsetup.py build --compiler=ldc

running build
running build_ext
building 'hello' extension
sources: ['hello.d', 'class_wrap.d', 'ctor_wrap.d', 'def.d', 
'embedded.d', 
'exception.d', 'extra.d', 'func_wrap.d', 'make_object.d', 
'make_wrapper.d', 
'op_wrap.d', 'pyd.d', 'pydobject.d', 'struct_wrap.d', 'conv.d', 
'typelist.d', 
'multi_index.d', 'replace.d', 'Demangle.d', 'Nameof.d', 
'abstract_.d', 'ast.d', 
'boolobject.d', 'bufferobject.d', 'bytearrayobject.d', 
'bytesobject.d', 
'cellobject.d', 'ceval.d', 'classobject.d', 'cobject.d', 
'codecs.d', 'code.d', 
'compile.d', 'complexobject.d', 'cStringIO.d', 'datetime.d', 
'descrobject.d', 
'dictobject.d', 'enumobject.d', 'errcode.d', 'eval.d', 
'fileobject.d', 
'floatobject.d', 'frameobject.d', 'funcobject.d', 'genobject.d', 
'grammar.d', 
'import_.d', 'intobject.d', 'intrcheck.d', 'iterobject.d', 
'listobject.d', 
'longintrepr.d', 'longobject.d', 'marshal.d', 'memoryobject.d', 
'methodobject.d', 'modsupport.d', 'moduleobject.d', 'node.d', 
'object.d', 
'objimpl.d', 'parsetok.d', 'pgenheaders.d', 'pyarena.d', 
'pyatomic.d', 
'pycapsule.d', 'pydebug.d', 'pyerrors.d', 'pymem.d', 'pyport.d', 
'pystate.d', 
'pystrcmp.d', 'pystrtod.d', 'Python.d', 'pythonrun.d', 
'pythread.d', 
'rangeobject.d', 'setobject.d', 'sliceobject.d', 
'stringobject.d', 
'structmember.d', 'structseq.d', 'symtable.d', 'sysmodule.d', 
'timefuncs.d', 
'traceback.d', 'tupleobject.d', 'unicodeobject.d', 
'weakrefobject.d', 
'pydmain.d', 'python_so_linux_boilerplate.d']
ldc2 -property -relocation-model=pic -c 
-d-version=PydPythonExtension -d-
version=Python_2_4_Or_Later -d-version=Python_2_5_Or_Later -d-
version=Python_2_6_Or_Later -d-version=Python_2_7_Or_Later -d-
version=Python_Unicode_UCS4 -d-debug -I 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure -of 
build/temp.linux-x86_64-2.7/infra/temp.o 
hello.d /home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/class_wrap.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/ctor_wrap.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/def.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/embedded.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/exception.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/extra.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/func_wrap.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/make_object.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/make_wrapper.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/op_wrap.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/pyd.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/pydobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/pyd/struct_wrap.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/util/conv.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/util/typelist.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/util/multi_index.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/util/replace.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/meta/Demangle.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/meta/Nameof.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/abstract_.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/ast.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/boolobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/bufferobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/bytearrayobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/bytesobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/cellobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/ceval.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/classobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/cobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/codecs.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/code.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/compile.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/complexobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/cStringIO.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/datetime.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/descrobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/dictobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/enumobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/errcode.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/eval.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/fileobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/floatobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/frameobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/funcobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/genobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/grammar.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/import_.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/intobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/intrcheck.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/iterobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/listobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/longintrepr.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/longobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/marshal.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/memoryobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/methodobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/modsupport.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/moduleobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/node.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/object.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/objimpl.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/parsetok.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pgenheaders.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pyarena.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pyatomic.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pycapsule.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pydebug.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pyerrors.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pymem.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pyport.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pystate.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pystrcmp.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pystrtod.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/Python.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pythonrun.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/pythread.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/rangeobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/setobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/sliceobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/stringobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/structmember.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/structseq.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/symtable.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/sysmodule.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/timefuncs.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/traceback.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/tupleobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/unicodeobject.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/deimos/python/weakrefobject.d 
build/temp.linux-
x86_64-2.7/infra/pydmain.d 
/home/nbecker/.local/lib/python2.7/site-
packages/celerid/infrastructure/d/python_so_linux_boilerplate.d
Error: multiple source files, but only one .obj name
error: command 'ldc2' failed with exit status 1
[nbecker nbecker7 hello]$
Nov 27 2013
parent reply "Ellery Newcomer" <ellery-newcomer utulsa.edu> writes:
On Wednesday, 27 November 2013 at 16:37:36 UTC, Neal Becker wrote:
 Just trying PyD on fedora 19 x86_64.

 I install ldc (and friends) using yum.

 Then I did hg clone https://bitbucket.org/ariovistus/pyd

 Now after python setup.py install --user, I go to try hello: 

 [nbecker nbecker7 hello]$ python tsetup.py build --compiler=ldc
use dmd. ldc doesn't support building shared libraries.
Nov 29 2013
parent "Ellery Newcomer" <ellery-newcomer utulsa.edu> writes:
On Saturday, 30 November 2013 at 05:51:43 UTC, Ellery Newcomer 
wrote:

 use dmd. ldc doesn't support building shared libraries.
also, use 2.063. I think compilation broke in 2.064 for some reason. I plan on fixing this next week.
Nov 29 2013