So I mess around with terminal once in a while. Occasionally I find I have to compile from source with the usual:

(sudo) make install

I'm trying to install gtk+ following the instructions on the build page of: https://wiki.gnome.org

it suggests using a different account for those who have macports or fink installed. So thats what I'm doing.

I realized this means some stuff won't be available, but I'm literally scouring the internet for obscure packages that apparently I don't have, because I can't get past step one: install a bunch of supporting modules. I have XCode installed.

Why isn't at least some of the stuff I installed in my main account showing up for all users? I thought source installation did this by default? like in /usr/bin or /usr/lib?

I don't want to mess with my path too much as the whole point was to have a clean path free of macports/fink influence (I had both).

IDK what the issue with macports/fink is exactly, but is it possible to link against main libraries without linking macports/fink?

EDIT: Is it possible to make some ports selectively available for all users but not all? I don't fully understand what exactly about macports (maybe just some of the ported utilities) doesn't work with gtk+ and jhbuild. But maybe thats a start

  • What exactly is your question here? Do you need help in installing the bunch of supporting modules (then please add details about the errors you are receiving)? Or are you wondering where the stuff installed via your main account ended up in? Or something else? – nohillside Feb 15 '14 at 19:26
  • why not install gtk+ using macports it makes it easier. Only compile using configure et al when it is not in the port, also macports and fink are installed for all users. – Mark Feb 15 '14 at 19:43
  • tried macports: It wanted me to install cairo with quartz through macports which it would never find. I couldn't find a way around it – jason dancks Feb 15 '14 at 20:19
  • Voted to reopen — I think I understand what you mean and have a potential answer – grg Feb 15 '14 at 20:31
  • @grgarside can you edit your understanding of the question into the text before we reopen it? This will give the OP a chance to confirm your understanding and everybody else a chance to follow the answer. – nohillside Feb 15 '14 at 20:36
  1. Create a new folder somewhere accessible by all users.

  2. Symlink a number of executables into that folder so that only the executables that you want to be accessible in all user accounts are in that folder.

    ln -s /opt/local/yourport /path/to/your/folder/yourport
  3. Add the path to your new folder to the top of /etc/paths. Since this file is read by all user accounts, it is added to the path for all users. However, since you're adding the new folder, you're not adding all the ports to everyone's path.

  • This was really straightforward and easy. Thank you. I submitted a comment before this saying I was gonna try something else, but I tried this and worked like a charm. I also noticed I earned the "quitter" badge. Any idea how I can get rid of that? – jason dancks Feb 17 '14 at 15:55
  • I was joking around. Sorry – jason dancks Feb 17 '14 at 20:38
  • @jasondanks Haha :) – grg Feb 17 '14 at 21:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .