Dependency Problem of Upgrading Gnuplot: A Possible Bug
Hi, I've installed MacTex2007 and added /usr/texbin to $binpath in macports.conf. Then I've got no problem installing gnuplot, i.e. it does not try to install teTeX for me. However, if I invoke "sudo port upgrade gnuplot" (when the gnuplot is already the newest version), it starts to install teTeX. Why would it do this? Is there any problem in the implementation of the "upgrade" command, or did I miss anything in the configuration? Best Regards, Xin Liu
On Jul 23, 2007, at 21:44, Xin Liu wrote:
I've installed MacTex2007 and added /usr/texbin to $binpath in macports.conf. Then I've got no problem installing gnuplot, i.e. it does not try to install teTeX for me. However, if I invoke "sudo port upgrade gnuplot" (when the gnuplot is already the newest version), it starts to install teTeX. Why would it do this? Is there any problem in the implementation of the "upgrade" command, or did I miss anything in the configuration?
MacPorts is designed to use its own software, not any other software you may have installed elsewhere. See the FAQ: http://trac.macosforge.org/projects/macports/wiki/ FAQ#WhyisMacPortsusingitsownlibraries
I know the policy, but the gnuplot portfile is designed to support external tex installation because it uses bin:tex:tetex instead of port:tetex. Currently "port install" is doing OK, but "port upgrade" seems unable to parse the ${binpath} in macports.conf and forces me to install teTeX. Either there's something wrong in the implementation of the "upgrade" command, or I missed some configuration, but I highly suspect it's the former case. And for the policy itself, I generally agree with it, but for this specific case, it's not really a good idea to force people install teTeX, because: 1) a lot of people are using MacTex; 2) the official teTeX has been discontinued. Best Regards, Xin Liu
MacPorts is designed to use its own software, not any other software you may have installed elsewhere. See the FAQ:
http://trac.macosforge.org/projects/macports/wiki/ FAQ#WhyisMacPortsusingitsownlibraries
participants (2)
-
Ryan Schmidt
-
Xin Liu