<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 12, 2016 at 6:52 PM, Ben Letham <span dir="ltr">&lt;<a href="mailto:bletham@gmail.com" target="_blank">bletham@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I&#39;m trying to run a simple Gtk3 PyGObject app which includes an image (and so uses gdk-pixbuf). When I install py35-gobject3 and gtk3 through port I can run the app just fine using macports python.</div><div><br></div><div>I want to be able to distribute this to other computers without having to install xcode and macports, so I used macports to build mpkg&#39;s for py35-gobject3 and gtk3. When I install these mpkg&#39;s on a computer without macports, it seems that gdk-pixbuf isn&#39;t being set up correctly.</div><div>(...)</div><div>Is this something that I should expect to work? Any ideas on how to debug this?</div></blockquote></div><br>Generated pkg / mpgs files make no attempt to recreate postinstall scripts; this cannot be automated in a reliable way. You will need to inspect the Portfile for gtk-pixbuf and for any of its dependencies to see what needs to be run (there are a number of post-install commands that must be run for gdk-pixbuf to work properly, IIRC).</div><div class="gmail_extra"><br></div><div class="gmail_extra">In general you should not be trying to use those targets. Instead install a separate MacPorts tree in a path other than /opt/local, build/install packages using the `port` command in that path (ideally move your real MacPorts installation out of the way and make sure it is not on $PATH, so opportunistic configure or cmake scripts do not find and link to it), and copy the entire tree to another machine. This still won&#39;t catch things like launchd plists; you&#39;ll need to watch out for those manually and handle them as necessary.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>