Re: py.sqlite3 fails to build in firefox port

From: Scot Hetzel <swhetzel_at_gmail.com>
Date: Thu, 27 Feb 2014 08:40:57 -0600
On Thu, Feb 27, 2014 at 8:26 AM, buddha <knowledgeispower80_at_gmail.com> 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 setup.py 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:

http://docs.freebsd.org/cgi/mid.cgi?CAALwa8m9-dpiO4fpA_BG-QeZyo9wsRpDVXHz_CTNUYeFLK7GVA

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

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
Received on Thu Feb 27 2014 - 13:40:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:47 UTC