Message260783
Hello,
when trying to build the 'bsddb3' extension (from https://pypi.python.org/pypi/bsddb3/6.1.1) which is necessary for Gramps ( https://gramps-project.org/wiki/index.php?title=Install_latest_BSDDB )I get the error 'TypeError: object of type 'NoneType' has no len()'. MinGW32 which I've installed for this purpose seems to work.
Here is the Traceback:
Detected Berkeley DB version 6.0 from db.h
running build
running build_py
running build_ext
building 'bsddb3._pybsddb' extension
c:\temp\mingw\bin\gcc.exe -mdll -O -Wall -IC:/Temp/BerkelyDB/include/ -Ic:\temp\
python34\include -Ic:\temp\python34\include -c Modules/_bsddb.c -o build\temp.wi
n32-3.4\Release\modules\_bsddb.o
writing build\temp.win32-3.4\Release\modules\_pybsddb.def
Traceback (most recent call last):
File "setup3.py", line 527, in <module>
'Programming Language :: Python :: 3.4',
File "c:\temp\python34\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\temp\python34\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "c:\temp\python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "c:\temp\python34\lib\distutils\command\build.py", line 126, in run
self.run_command(cmd_name)
File "c:\temp\python34\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\temp\python34\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "c:\temp\python34\lib\site-packages\setuptools\command\build_ext.py", line 49, in run
_build_ext.run(self)
File "c:\temp\python34\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "c:\temp\python34\lib\distutils\command\build_ext.py", line 448, in build_extensions
self.build_extension(ext)
File "c:\temp\python34\lib\site-packages\setuptools\command\build_ext.py", line 174, in build_extension
_build_ext.build_extension(self, ext)
File "c:\temp\python34\lib\distutils\command\build_ext.py", line 535, in build_extension
target_lang=language)
File "c:\temp\python34\lib\distutils\ccompiler.py", line 717, in link_shared_object
extra_preargs, extra_postargs, build_temp, target_lang)
File "c:\temp\python34\lib\distutils\cygwinccompiler.py", line 248, in link
target_lang)
File "c:\temp\python34\lib\distutils\unixccompiler.py", line 157, in link
libraries)
File "c:\temp\python34\lib\distutils\ccompiler.py", line 1092, in gen_lib_options
opt = compiler.runtime_library_dir_option(dir)
File "c:\temp\python34\lib\distutils\unixccompiler.py", line 224, in runtime_library_dir_option
compiler = os.path.basename(sysconfig.get_config_var("CC"))
File "c:\temp\python34\lib\ntpath.py", line 246, in basename
return split(p)[1]
File "c:\temp\python34\lib\ntpath.py", line 217, in split
d, p = splitdrive(p)
File "c:\temp\python34\lib\ntpath.py", line 159, in splitdrive
if len(p) > 1:
TypeError: object of type 'NoneType' has no len()
This behavior possibly relates to other issues (http://bugs.python.org/issue21336, http://bugs.python.org/issue22587) but I'm not sure about it.
Sorry for my poor understanding of these things.
Thanks,
Konrad |
|
Date |
User |
Action |
Args |
2016-02-24 10:14:39 | Konrad | set | recipients:
+ Konrad, paul.moore, tim.golden, zach.ware, steve.dower |
2016-02-24 10:14:39 | Konrad | set | messageid: <1456308879.88.0.0764113291168.issue26425@psf.upfronthosting.co.za> |
2016-02-24 10:14:39 | Konrad | link | issue26425 messages |
2016-02-24 10:14:38 | Konrad | create | |
|