Questions tagged [macports]

MacPorts is a package manager for Mac OS X. It is modeled after BSD Ports. macports.org

MacPorts is a package manager for Mac OS X. It is modeled after BSD Ports.

1091 questions
291
votes
16 answers

Xcode is not currently available from the Software Update server

I have problems with my macport after update to OS X 10.9. I try to follow this manual https://trac.macports.org/wiki/Migration to fix them. But when I install Command Line Tools: xcode-select --install I get message Can't install the software…
klm123
  • 12,105
  • 14
  • 57
  • 95
274
votes
13 answers

pip installs packages successfully, but executables not found from command line

I am working on mac OS X Yosemite, version 10.10.3. I installed python2.7 and pip using macport as done in http://johnlaudun.org/20150512-installing-and-setting-pip-with-macports/ I can successfully install packages and import them inside my python…
Sanket_Diwale
  • 2,869
  • 2
  • 14
  • 18
248
votes
4 answers

What is the difference/usage of homebrew, macports or other package installation tools?

I've just recently switched to a Mac from Ubuntu. I was disappointed that mac doesn't have the convenient sudo apt-get in Ubuntu. I've heard that I should use homebrew but I'm not exactly sure what homebrew or macports does?
ROBOTPWNS
  • 4,299
  • 6
  • 23
  • 36
150
votes
9 answers

Can't update Macports (with Mac OS X Mavericks)

After upgrading Mac OS X to newest version Mavericks, I attempted to selfupdate my Macports, but it failed: $ sudo port -v selfupdate ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes …
qazwsx
  • 25,536
  • 30
  • 72
  • 106
127
votes
13 answers

What is the most compatible way to install python modules on a Mac?

I'm starting to learn python and loving it. I work on a Mac mainly as well as Linux. I'm finding that on Linux (Ubuntu 9.04 mostly) when I install a python module using apt-get it works fine. I can import it with no trouble. On the Mac, I'm used to…
GloryFish
  • 13,078
  • 16
  • 53
  • 43
118
votes
1 answer

See what has been installed via MacPorts

Is there a way to see all I have installed via MacPorts? I know I have installed Apache and php 5.3.8, but I'd like to see what else I have installed.
Jason
  • 15,017
  • 23
  • 85
  • 116
108
votes
8 answers

Need kcachegrind like profiling tools for mac

Need suggestion on tools similar to kcachegrind wingrind valgrind for mac platform. I don't think these work on mac, I already checked these.
indianwebdevil
  • 4,879
  • 7
  • 37
  • 51
102
votes
13 answers

How do I upgrade PHP in Mac OS X?

I feel this is an awfully obtuse question to ask, but strangely, this problem is poorly documented. I would like to upgrade PHP, but there are several problems: There is no built-in package manager. MacPorts doesn't recognize php as an installed…
thebossman
  • 4,598
  • 11
  • 34
  • 45
79
votes
11 answers

sudo: port: command not found

I recently uninstalled Xcode 4.2 and re-installed Xcode 4.3.1. Command Line Tools are installed. I then installed MacPort using “dmg” disk images for Lion from macports.org. Since, I was getting sudo: port: command not found after every use of port,…
Ava
  • 5,783
  • 27
  • 58
  • 86
72
votes
11 answers

port selfupdate: "macPorts sources: command execution failed"

I am trying to selfupdate my Macports, but I am getting the following message: Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed I checked my /opt/local/bin/macports and the…
darksky
  • 20,411
  • 61
  • 165
  • 254
62
votes
17 answers

Unable to get MacPort functionality after installing Xcode 4.3

I am having trouble getting MacPorts to function properly. I just installed OSX Lion 10.7.3 I downloaded and installed MacPorts first, and then after reading the requirements, I downloaded Xcode4.3 from the App Store, and then installed it. I…
Jason
  • 1,307
  • 1
  • 12
  • 11
46
votes
3 answers

How to use the gcc installed in macports?

I installed gcc 4.6. from macports (for support of C++0x). But when I check the 'gcc --version` it is showing older version. How to use the newer gcc installed by macports?
Nemo
  • 24,540
  • 12
  • 45
  • 61
43
votes
4 answers

Why does Macports take FOREVER to build simple packages?

Building from source outside of macports is a breeze. Building with macports takes forever and seems to freeze the os every so often. Is this typical behavior? Although it seems like a nice packaging tool for os x, if I have to go through this…
ennuikiller
  • 46,381
  • 14
  • 112
  • 137
42
votes
4 answers

How to set up libusb on Mac OS X?

I'd like to try to make a user-space device driver using libusb on Mac, but I'm confused where to start. In the SDK installer (which I got from http://www.ellert.se/twain-sane) it said something about examples which I couldn't find anywhere on my…
Dae
  • 2,345
  • 2
  • 22
  • 34
38
votes
3 answers

Unable to update my Bash in Mac by MacPorts

I updated unsuccessfully my Bash to 3.2.48 by MacPorts. It seems that I do not have it active, since I get echo $BASH_VERSION 3.2.17(1)-release How can you make the newest Bash active such that I get it for my login shell?
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
1
2 3
72 73