py.sqlite3 fails to build in firefox port

Scot Hetzel swhetzel at
Thu Feb 27 14:40:58 UTC 2014

On Thu, Feb 27, 2014 at 8:26 AM, buddha <knowledgeispower80 at> wrote:
> cc: error: unknown argument: '-R/usr/local/lib'
> Python build finished, but the necessary bits to build these modules were not found:
> _bsddb             _tkinter           dl
> imageop            linuxaudiodev      ossaudiodev
> spwd               sunaudiodev
> To find the necessary bits, look in in detect_modules() for the module's name.
> Failed to build these modules:
> _sqlite3
> running build_scripts
> This is the output from the /py-sqlite3/work/Python-2.7.6 directory.
> In the /www/firefox port the compilation fails with:
> cc: error: unknown argument: '-R/usr/local/lib'
> error: command 'cc' failed with exit status 1
> *** Error code 1
> Here is my pkg info for python utils
> py27-libxml2-2.8.0             Python interface for XML parser library for GNOME
> py27-setuptools-2.0.1          Python packages installer
> python-2.7_1,2                 The "meta-port" for the default version of Python interpreter
> python2-2_2                    The "meta-port" for version 2 of the Python interpreter
> python27-2.7.6_2               Interpreted object-oriented programming language

Try the following patch to lang/python27:

If someone could commit the patch, it would fix this issue for all
users that are using clang 3.4.


No electrons were maimed while sending this message. Only slightly bruised.

More information about the freebsd-ports mailing list