<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div dir="ltr"><div><span style="font-size: 12pt;">>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.</span></div></div><br><span style="font-size: 12pt;">>gcc: error: unrecognized option ‘-R’</span><br><div dir="ltr"><div><div>>error: command '/usr/pkgs/gcc/4.7.2/bin/gcc' failed with exit status 1</div></div></div><div dir="ltr"><div><br></div>                                          </div>
This issue can be disregarded. I solved it by commenting a line in setup2.py: <span style="font-size: 12pt;"># runtime_library_dirs = [ libdir ],</span><div><div><br><style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style><div>The build went through and all tests passed.</div><div><br></div></div></div>                                          </div></body>
</html>