Date: Thu, 27 Feb 2014 08:40:57 -0600 From: Scot Hetzel <swhetzel@gmail.com> To: buddha <knowledgeispower80@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: py.sqlite3 fails to build in firefox port Message-ID: <CACdU%2Bf8bLA7SyoX71L3dnUe_dfExCqfbniVcBG3MSTBjvNuhew@mail.gmail.com> In-Reply-To: <530f4b12.46a1e00a.7c8f.29da@mx.google.com> References: <530f4b12.46a1e00a.7c8f.29da@mx.google.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 27, 2014 at 8:26 AM, buddha <knowledgeispower80@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACdU%2Bf8bLA7SyoX71L3dnUe_dfExCqfbniVcBG3MSTBjvNuhew>