by peterburkimsher · 5y ago · 0 comments
But this week, I was reminded why I still use Mac OS 10.13. On my Mac, I tried to install ffmpeg with rubberband support. When trying to compile it, brew gave cryptic error messages and eventually failed. For something else, I tried installing qemu, also using brew. There were a load of errors telling me I'm using an outdated OS and should feel bad about it, and again, it failed after 156 minutes with some libiconv error that I don't even totally understand, never mind know how to resolve. Something to do with having imagemagick already installed. I tried downloading an image from docker, and the docker-machine wasn't running, and even when I started it, the pull command from dockerhub still failed.
On a Mac, these kinds of errors are unusual. On Linux, build errors like that are normal.
I want to be able to install software in less than half an hour. Whether it's brew, apt-get, yum, pip, npm, or whatever other package manager you wish for - recompiling all my software is extremely slow, and by the time it's finished I've already moved on to something else.
For as long as software continues to be distributed as binaries for Mac, in a dmg or pkg, I'll continue using my Mac. I do still have to recompile sometimes, but it's something I dread, because of the huge amount of time it takes. Requiring this for every software package on Linux is what's pushing me away from the platform.
I think it's the opposite, and the errors that you encountered are a good example of why, since they all appear to be Mac/Homebrew-specific.
> On my Mac, I tried to install ffmpeg with rubberband support. When trying to compile it, brew gave cryptic error messages and eventually failed.
The FFmpeg in my distro's packages (OpenSUSE) and in Ubuntu's packages comes with rubberband already enabled. They are binary packages - no compilation needed, and it all just works. When I last used Homebrew I was surprised at how often it needed to compile things. For Linux users, compilation is rare.
> For something else, I tried installing qemu, also using brew. There were a load of errors telling me I'm using an outdated OS and should feel bad about it, and again, it failed after 156 minutes with some libiconv error that I don't even totally understand, never mind know how to resolve.
libiconv is not a thing in GNU/Linux. In Linux, iconv() is part of libc. libiconv is only used to port software to platforms which don't have iconv, or have an iconv() which is deficient in some way. Also, again, my distro and Ubuntu both include a binary package for qemu - no compilation needed.
> Whether it's brew, apt-get, yum, pip, npm, or whatever other package manager you wish for - recompiling all my software is extremely slow, and by the time it's finished I've already moved on to something else. [...] Requiring this for every software package on Linux is what's pushing me away from the platform.
I think you have the wrong idea about apt-get and package managers on Linux. Most distro package managers do not compile your software. Almost all the popular distros have binary package managers, which means compilation errors (on your machine) are not possible. Ironically, Homebrew (and Cygwin) users spend a lot more time compiling than Linux users do, so don't let your experience with Homebrew colour your opinion of Linux. They are not alike.
You say that recompiling software is slow and errors during compilation are normal on Linux. I don't find myself compiling software very often. Most things are grabbed as binaries by the package manager. For everything else there's the AUR (which I rarely experience issues with.)
Unless of course said software is not in your repo, then expect that it will take at least 2.5 hours.
In my experience that's relatively rare. Occasionally they have an AppImage, which is great, maybe a PPA if you're on Ubuntu. but otherwise the best you can do is try to hack some other distro's binary to work. For most niche software I've found that it is only available as source though. Then you get to try and get a working build environment...
[Goes on to illustrate all the problems he's had... On MacOS.]
> For as long as software continues to be distributed as binaries for Mac,
Apparently it isn't, is it, since you've been compiling so much?
> in a dmg or pkg, I'll continue using my Mac.
So when are you quitting?
> I do still have to recompile sometimes, but it's something I dread, because of the huge amount of time it takes.
On MacOS. So you're dreading Linux. Impressive logic.
> Requiring this for every software package on Linux
[Citation needed]
> is what's pushing me away from the platform.
The wrong one. All the shit you've been whining about should logically be pushing you away from MacOS.