Re: A question about macports perl and apple perl and versions and locations
On Dec 14, 2015, at 5:15 AM, Robert Chalmerswrote: > Because yesterday I archived the existing perl binaries in /usr/bin, and put > links to /opt/local/bin/perl* don't do that. > So obviously what happened was this. > The macports perl wanted to talk to macports mysql - and couldn’t. It’s not > even running. A different mysql is running. So macports perl5-22 relies on > having macports mysql installed in the /opt hierarchy somewhere. no, it just has a default path (that used to be correct, and now isn't for your particular setup). > So now I have to figure out if it’s worth moving to macports mysql, and > how??? so then I can hopefully also switch perl versions…. or just leave > well enough alone. just configure your scripts to start up with the perl interpreter that you want (change the #! line), and configure your connection string to point to the mysql that you want it to connect to (http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql.pm - look for mysql_socket) -- Daniel J. Luke ++ | * dl...@geeklair.net * | | *-- http://www.geeklair.net -* | ++ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | ++ ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: A question about macports perl and apple perl and versions and locations
On Mon, 14 Dec 2015, Daniel J. Luke wrote: > On Dec 14, 2015, at 5:15 AM, Robert Chalmers> wrote: > > Because yesterday I archived the existing perl binaries in /usr/bin, > > and put links to /opt/local/bin/perl* > > don't do that. Jeeze; how many times has this been mentioned here? Don't even *think* of monkeying with it, unless you *know* what you are doing (believing that you know is not good enough). Even *I* won't touch it, despite having over 40 years of programming experience. -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer." ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: A question about macports perl and apple perl and versions and locations
On Dec 14, 2015, at 04:15, Robert Chalmers wrote: > > mysql > /usr/local/bin/mysql -> ../Cellar/mysql/5.6.25/bin/mysql > > I don’t have macports mysql installed. So you have some things installed with MacPorts and also MySQL and its dependencies installed with Homebrew. Don't do that either. Pick one package manager to use, and uninstall the other and everything you installed with it. Otherwise bits from one package manager will conflict with bits from the other package manager and cause problems. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users