[MacPorts] #39223: python27 @2.7.5_0: incorrect LINKFORSHARED from distutils.sysconfig

MacPorts noreply at macports.org
Fri Jul 19 07:56:10 PDT 2013


#39223: python27 @2.7.5_0: incorrect LINKFORSHARED from distutils.sysconfig
-----------------------+-------------------
  Reporter:  ram@…     |      Owner:  jwa@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.1.3
Resolution:            |   Keywords:
      Port:  python27  |
-----------------------+-------------------

Comment (by aronnax@…):

 Replying to [comment:18 egall@…]:
 > Replying to [comment:6 ram@…]:
 > > Replying to [comment:3 nad@…]:
 > > > LINKFORSHARED is a configuration variable used to build the Python
 interpreter itself in its build directory.  It isn't intended to be used
 directly by other components.  Unfortunately, Python builds export all
 configuration variables whether they are meaningful or not.  To embed
 Python, the supported interface for finding build flags is to use the
 pythonx.y-config script:
 > >
 > > Thanks that's interesting, the software I was trying to build uses the
 [http://git.savannah.gnu.org/gitweb/?p=autoconf-
 archive.git;a=blob;f=m4/ax_python_devel.m4 `ax_python_devel.m4`] macro
 from the autoconf archive but `python-config` looks like a better
 approach. I'll forward that to upstream.
 >
 > #39804 would update the autoconf-archive port to the latest version,
 which includes [http://git.savannah.gnu.org/cgit/autoconf-
 archive.git/commit/?id=fec534a05b5863c6dc00caede574fc9ffb2964a7 changes to
 this macro]. idk if that would fix this, but it's worth a shot...

 No, it still has LINKFORSHARED in it.

-- 
Ticket URL: <https://trac.macports.org/ticket/39223#comment:20>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list