mGBA Forums
Building on Mac - issue with installing to usr dir? - Printable Version

+- mGBA Forums (https://forums.mgba.io)
+-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1)
+--- Forum: Development (https://forums.mgba.io/forumdisplay.php?fid=11)
+--- Thread: Building on Mac - issue with installing to usr dir? (/showthread.php?tid=2933)



Building on Mac - issue with installing to usr dir? - kfjustis - 05-09-2017

I'm not sure if this is worthy of an issue on the repo or just a problem with my environment, but I ran into the following error.

Problem with sudo make install

I did some searching and after reading this thread it looks like an issue with OSX El Capitan. I should also note that when running the sudo command, it never asked me for a password, which makes me think even more that this is a problem on my end. That being said, I've never tried to fix an issue like this, so if anyone has any tips or has possibly ran into the same issue please let me know.

Thanks!

My specs


RE: Building on Mac - issue with installing to usr dir? - endrift - 05-09-2017

Don't use `sudo make install` on Mac. There's no reason to. The build product--assuming Qt is properly installed (which it's not in this screenshot, nor is SDL)--will just be in the build/qt folder. However, this screenshot shows it only building the library, which contains all of the emulation code, but none of the frontends, making it...a bit difficult to use.


RE: Building on Mac - issue with installing to usr dir? - kfjustis - 05-09-2017

(05-09-2017, 06:28 AM)endrift Wrote: Don't use `sudo make install` on Mac. There's no reason to. The build product--assuming Qt is properly installed (which it's not in this screenshot, nor is SDL)--will just be in the build/qt folder. However, this screenshot shows it only building the library, which contains all of the emulation code, but none of the frontends, making it...a bit difficult to use.

Ooooh, okay thanks for clearing that up. I should have read the CMake output more carefully.