#31433 closed defect (invalid)
System ImageMagick `convert` predominates over MacPorts `convert`
Reported by: | sam.kuper@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | sam.kuper@… | |
Port: |
Description
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.
Change History (5)
comment:1 Changed 13 years ago by sam.kuper@…
comment:3 Changed 13 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | new → closed |
/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.
comment:4 follow-up: 5 Changed 13 years ago by jmroot (Joshua Root)
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.
comment:5 Changed 13 years ago by sam.kuper@…
Replying to 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
s/the impression that
sudo port install
is all that's needed/the impression thatsudo port install imagemagick
is all that's needed