port selfupdate: “macPorts sources: command execution failed”
I had this same problem recently, and I forgot to run the command under root. If anyone else is having the problem, be sure to run command as so: sudo port selfupdate
I had this same problem recently, and I forgot to run the command under root. If anyone else is having the problem, be sure to run command as so: sudo port selfupdate
First, you might need to edit your system’s PATH sudo vi /etc/paths Add 2 following lines: /opt/local/bin /opt/local/sbin Reboot your terminal
You may want to check out Marc Liyanage’s PHP package. It comes in a nice Mac OS X installer package that you can double-click. He keeps it pretty up to date. http://php-osx.liip.ch/ Also, although upgrading to Snow Leopard won’t help you do PHP updates in the future, it will probably give you a newer version … Read more
I ended up using qcachegrind on OSX. It can be installed via brew brew install qcachegrind or, to enable graphviz support: brew install qcachegrind –with-graphviz What’s great about this program is that I successfully loaded a 6.1GB cachegrind file on my MacBook Pro! Pretty slick!
Use port installed to list all of your ports.
The most popular way to manage python packages (if you’re not using your system package manager) is to use setuptools and easy_install. It is probably already installed on your system. Use it like this: easy_install django easy_install uses the Python Package Index which is an amazing resource for python developers. Have a look around to … Read more
Install the “Command Line Tools” first: sudo xcode-select –install (Explicitly agreeing to the license is sometimes necessary via “sudo xcodebuild -license”) Then upgrade the ports: sudo port -v selfupdate
I know the question asks about macOS, but here is a solution for Linux users who arrive here via Google. I was having the issue described in this question, having installed the pdfx package via pip. When I ran it however, nothing… pip list | grep pdfx pdfx (1.3.0) Yet: which pdfx pdfx not found … Read more
MacPorts is the way to go. Like @user475443 pointed, MacPorts has many many more packages. With brew you’ll find yourself trapped soon because the formula you need doesn’t exist. MacPorts is a native application: C + TCL. You don’t need Ruby at all. To install Ruby on Mac OS X you might need MacPorts, so … Read more
You can download the command line tools for OS X Mavericks manually from here: https://developer.apple.com/downloads/index.action?name=for%20Xcode