Tag Info

New answers tagged

0

According to the error message the directory with permissions issue is /usr/local/share/doc/pkg-config, but you claim to have run sudo chown -R $(whoami) /usr/local which changes ownership of /usr/local directory only, not affecting any sub-directories. You should run sudo chown -R $(whoami) /usr/local/share/doc/pkg-config and see how that goes. If it ...


0

Maybe you installed pkg-config before. You may uninstall and reinstall it. brew uninstall pkg-config


1

To directly answer your question: take a look at ondir. I have not personally used it, but it appears to fit your use case. ondir is a small program to automate tasks specific to certain directories. It works by executing scripts in directories when you enter and leave them. To ruminate for a moment, though... Swapping out package versions on ...


0

I'm not a Mac user, but it looks like your only options are homebrew or install from source. There are instructions on installing from source here. That post is from 2010, but there are basically identical instructions from 2013 in this post, so they're probably still accurate.


0

I received this error after, I think, my computer crashed. PostgreSQL couldn't even start because of this error so killing the process wasn't the solution. I simply backed-up and then deleted the postmaster.pid file and then the error stopped and PG was able to start again.


0

By default Homebrew provides pip via: brew install python. However you will then have two Pythons installed on your Mac, you can alternatively install it via: sudo easy_install pip To verify which files are installed with your Python package, try: $ brew list python /usr/local/Cellar/python/2.7.9/bin/pip /usr/local/Cellar/python/2.7.9/bin/pip2 ...


2

Generally, homebrew will install a formula into /usr/local/Cellar/formula and then place a link at /usr/local/bin/formula. To make use of your installed formulae, make sure /usr/local/bin is in your $PATH. Show your $PATH by typing echo $PATH If /usr/local/bin is not in your $PATH, put this line at the end of your ~/.profile file. export ...


0

with OS X 10.10.3 I fixed it with this commands brew install freetype libpng pkg-config pkg-config fixed the issue! After reading this issue I manage to fix it


0

From the fink FAQ: Q5.6: How can I uninstall all of Fink? A: Almost all files installed by Fink are in /sw (or wherever you chose to install it), except for a few exceptions. Thus, in order to get rid of Fink, enter this command: fink remove --recursive daemonic xinitrc sudo rm -rf /sw If you aren't planning to reinstall Fink you also will want ...


1

xdg-open is pretty neatly tied into the freedeskop environments, and OSX' counterpart would be the open command. If, for whatever reason, you still like to try out xdg-open on OSX, here is how you get it installed manually: brew install libxslt xmlto # and potentially other packages like the GNU autotools/install suite export ...


1

The error: /usr/local/lib/gcc is not writable. means that your /usr/local/lib folder is not writable for brew. Therefore you should fix the wrong permissions first by: sudo chown -R $USER /usr/local/lib /usr/local/include /usr/local/bin /usr/local/Cellar Then if this still doesn't work, run: brew doctor to check your system for potential other ...


1

brew list --pinned should do the trick. I'm using brew version 0.9.5. The solution is listed in the manual pages as follows: ls, list [--unbrewed] [--versions [--multiple]] [--pinned] [formulae] Without any arguments, list all installed formulae. If formulae are given, list the installed files for formulae. Combined with --verbose, ...


1

Defaults on Yosemite seem to be 12K and 10K: $ sysctl -a | grep kern.maxfiles kern.maxfiles: 12288 kern.maxfilesperproc: 10240 Only setting kern.maxfiles in /etc/sysctl.conf seems to have solved my problems. /etc/sysctl.conf file: kern.maxfiles=24576



Top 50 recent answers are included