[pybsddb] Building pybsdbb3-6.1.0 fails due to unrecognized -R option to gcc

Pallav Gupta drpallavgupta at hotmail.com
Fri Sep 25 21:10:58 CEST 2015

>I'm trying to build python module pybsddb3-6.1.0 from source but it is failing due to an unrecognized option (-R) to gcc compile. Does anyone have ideas on how to resolve this? Thanks.
>gcc: error: unrecognized option ‘-R’
>error: command '/usr/pkgs/gcc/4.7.2/bin/gcc' failed with exit status 1
This issue can be disregarded. I solved it by commenting a line in setup2.py: # runtime_library_dirs = [ libdir ],
The build went through and all tests passed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20150925/357a93c6/attachment.html>

More information about the pybsddb mailing list