Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: install_driver(ODBC) mac mojave 10.14.2

by astroboy (Chaplain)
on Jan 16, 2019 at 20:04 UTC ( #1228660=note: print w/replies, xml ) Need Help??

in reply to Re: install_driver(ODBC) mac mojave 10.14.2
in thread install_driver(ODBC) mac mojave 10.14.2

Hope this helps

Not really. It doesn't address any of the issues the OP raised, and is simply a religious rant that someone could easily disagree with should they choose.

  • Comment on Re^2: install_driver(ODBC) mac mojave 10.14.2

Replies are listed 'Best First'.
Re^3: install_driver(ODBC) mac mojave 10.14.2
by bliako (Prior) on Jan 16, 2019 at 22:59 UTC

    The remedy is to install said module. That was said.

    The "religious argument" is whether to install it in a way which will affect system perl or install it in a separate "container" (i.e. perlbrew or any other perl-parallel equivalent) so that installed module will have no effect on the system which relies on its own perl+modules (also means specific versions). It's not a religious argument it is common sense, I think (and I would follow that).

    For example, if the system relies on specific module version and one installs the newest version then system may break. In this specific case, on the surface there is no problem because said module is not installed already, meaning that system does not need it (yet).

    Installing it will seemingly create no problem, but what if pre-requisite modules are also installed by means of the first innocent installation and overwrite system-wide modules of some other version? Will Hell not break sooner or later?

    Here is another scenario: said module is not needed by the system yet so it is not installed. You install the latest version system-wide and your program works. Then somehow a system upgrade or you installing an app requires that a lower version of said modules needs to be installed and is installed by the system, overwriting your installation. Now your program does/may not work. Go figure that out.

    I therefore ++ 1nickt's suggestions (whether that is perlbrew or any other equivalent, that may be a "religious issue").

    Irrelevant blabber: once on a mac-lion-something I needed a higher gcc version. I insisted on installing it as root, overwriting system-dependent gcc. Indeed hell broke, nothing worked, not even a terminal. I was a bit terrified because that was $work's machines. Of course being the old-unix-hand that I am I fixed the problem within the hour but it was scary to be accountable to some idiot boss the next day.

    bw, bliako

    Edit: Mac is notorious for relying on specific versions, e.g. gcc.

Re^3: install_driver(ODBC) mac mojave 10.14.2
by 1nickt (Abbot) on Jan 16, 2019 at 23:18 UTC

    LOL. I restated what Corion said, that the OP needs to install the missing module, which was the cause of the error message the OP got, but I provided additional advice based on my years of experience working with Perl on MacOS (and its predecessors), because the OP was about to start installing modules into the system perl installation, which is universally acknowledged to be a bad idea by those who know.

    There are alternatives to Perlbrew, and you are free to point them out. But if you are claiming that there's no need to install a non-system Perl on MacOS you are wrong.

    The way forward always starts with a minimal test.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1228660]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2020-08-14 14:33 GMT
Find Nodes?
    Voting Booth?
    Which rocket would you take to Mars?

    Results (75 votes). Check out past polls.