[MacPorts] #37255: py-pygtk @2.22.0_4 returned: could not create new link
MacPorts
noreply at macports.org
Sun Dec 9 02:29:23 PST 2012
#37255: py-pygtk @2.22.0_4 returned: could not create new link
-------------------------------+--------------------------------
Reporter: nonstop.server@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: fixed | Keywords:
Port: py-pygtk |
-------------------------------+--------------------------------
Changes (by ryandesign@…):
* status: new => closed
* resolution: => fixed
Comment:
Replying to [comment:1 ryandesign@…]:
> You can test whether this is the cause and solution by editing the py-
pygtk portfile and changing occurrences of "file link -symbolic A B" to
"ln -s B A". Note that the order of the arguments must be reversed. I'll
test it myself in a moment, once my Leopard machine finishes what it's
doing.
Yes, this works. See attachment.
However, an even better solution is to use the ${python.prefix} variable,
which is based on ${frameworks_dir}. Users are able to change
frameworks_dir at MacPorts configure time; it does not necessarily have to
be ${prefix}/Library/Frameworks so a relative symlink cannot be used.
Fixed in r100357. Revision increased so that any users with non-default
frameworks_dir will have a correct symlink.
--
Ticket URL: <https://trac.macports.org/ticket/37255#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list