[gstreamer-bugs] [Bug 616553] New: Configuring gst-python on Mac OS fails: "checking for libraries required to embed python"
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Apr 22 12:15:24 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=616553
GStreamer | gst-python | git
Summary: Configuring gst-python on Mac OS fails: "checking for
libraries required to embed python"
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Mac OS
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-python
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: lsinger at caltech.edu
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Created an attachment (id=159355)
--> (https://bugzilla.gnome.org/attachment.cgi?id=159355)
Proposed patch
Configuring gst-python on a Mac OS machine with Python installed from MacPorts
fails with the following error (taken from config.log):
configure:13861: checking for libraries required to embed python
configure:13888: gcc -o conftest -g -O2 conftest.c
-L/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib -lpython2.6
>&5
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't locate file for:
-lpython2.6
collect2: ld returned 1 exit status
I find that my Python embedding libraries are not in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib, but in
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config,
as suggested by python-config.
The attached patch is one possible resolution.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list