[MacPorts] #31433: System ImageMagick `convert` predominates over MacPorts `convert`
#31433: System ImageMagick `convert` predominates over MacPorts `convert` -----------------------------------+---------------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: -----------------------------------+---------------------------------------- Here is an abbreviated transcript of my experience, from before to after installing ImageMagick via MacPorts: {{{ $ which convert /usr/local/bin/convert $ which mogrify $ mogrify -bash: mogrify: command not found $ sudo port install imagemagick [... many lines removed for conciseness, but no errors reported ...] $ which mogrify /opt/local/bin/mogrify $ which convert /usr/local/bin/convert }}} And here is an abbreviated transcript of my expected experience: {{{ $ which convert /usr/local/bin/convert $ which mogrify $ mogrify -bash: mogrify: command not found $ sudo port install imagemagick [... many lines removed for conciseness, but no errors reported ...] $ which mogrify /opt/local/bin/mogrify $ which convert /opt/local/bin/convert }}} Is this a genuine bug, or should I adjust my expectations? Either way, how can I best make /opt/local/bin/convert become the default `convert` command? NB. http://www.imagemagick.org/script/binary-releases.php#macosx does seem to give the impression that `sudo port install` is all that's needed in order to make the MacPorts port of ImageMagick fully ready for use. -- Ticket URL: <https://trac.macports.org/ticket/31433> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31433: System ImageMagick `convert` predominates over MacPorts `convert` -----------------------------------+---------------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: -----------------------------------+---------------------------------------- Comment(by sam.kuper@…): s/the impression that `sudo port install` is all that's needed/the impression that `sudo port install imagemagick` is all that's needed -- Ticket URL: <https://trac.macports.org/ticket/31433#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31433: System ImageMagick `convert` predominates over MacPorts `convert` ------------------------------------+--------------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: | ------------------------------------+--------------------------------------- Changes (by dluke@…): * status: new => closed * resolution: => invalid Comment: /usr/local/bin/convert is something that you installed (outside of MacPorts). If you want /opt/local to be searched before /usr/local you can adjust your shell's $PATH. -- Ticket URL: <https://trac.macports.org/ticket/31433#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31433: System ImageMagick `convert` predominates over MacPorts `convert` ------------------------------------+--------------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: | ------------------------------------+--------------------------------------- Comment(by jmr@…): In your transcript it looks like you just needed to run `hash -r` (or the equivalent for your shell). Starting a new shell would also achieve the same. -- Ticket URL: <https://trac.macports.org/ticket/31433#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31433: System ImageMagick `convert` predominates over MacPorts `convert` ------------------------------------+--------------------------------------- Reporter: sam.kuper@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: | ------------------------------------+--------------------------------------- Comment(by sam.kuper@…): Replying to [comment:4 jmr@…]:
In your transcript it looks like you just needed to run `hash -r` (or the equivalent for your shell). Starting a new shell would also achieve the same.
Please could you explain what you mean by this? Incidentally, I now agree that I was mistaken in filing a bug against the ImageMagick port. See http://lists.macosforge.org/pipermail/macports- users/2011-September/025653.html -- Ticket URL: <https://trac.macports.org/ticket/31433#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts