macports

How do I uninstall python from OSX Leopard so that I can use the MacPorts version?

I want to use the macports version of python instead of the one that comes with Leopard. ...

Fixing broken Macports

I just tried (for the first time, I might add) a port upgrade installed in Macports, and I'm afraid I might come to regret it: A lot of errors -- specially regarding X11 and Python. Here's a typical error message regarding python: ---> Activating python24 2.4.5_4+darwin_9 Error: Activating python24 2.4.5_4 failed: Image...

Install MySQL using MacPorts or Mac OS X binary package?

Is there any advantage in using one over the other? Should I use the vendor provided PKG file or use the Darwin Ports version? Is there a general rule of thumb for deciding how to install a package? ...

Error installing PostgreSQL on Mac OS X 10.5 using MacPorts

I've installed PostgreSQL using MacPorts on a couple of different computers, no problem, but when it comes to my own laptop, I cannot get it to build. When I do this command: sudo port install postgresql83 I get this error: checking test program... failed configure: error: Could not execute a simple test program. This may be a prob...

How do I reset a port in MacPorts?

Suppose I want to reset a port to its initial state, including its configuration files. This can be achieved by: sudo port uninstall portname sudo port install portname (Deactivating and then reactivating the port does not reset the configuration files.) Is there any way to do this without uninstalling and reinstalling the port, avoi...

Unable to download the source code of Open Source projects in Mac's terminal

I am trying to download the source code for wget in Mac. I managed to get the source code of wget in Ubuntu by apt-get source wget However, I have not managed to download source codes in Mac's terminal. I did not find the same utility in MacPorts. ...

Unable to add a port to my local repo in MacPorts

I am trying to add a port to my local repo in MacPorts. I know the guide. I run at /Users/Masi/bin/MacPorts/ports/Git unsuccessfully portindex Creating software index in /Users/Masi/bin/MacPorts/ports/Git Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 My port-file is the following PortSystem...

Unable to install Git-core+svn by MacPorts

I am trying to install Git-core with svn to my Mac unsuccessfully by $ sudo port install git-core +svn ---> Verifying checksum(s) for db46 Error: Checksum (md5) mismatch for patch.4.6.21.3 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: p5-svn-simple subve...

Unable to use git-svn in Mac

I installed Git with svn in MacPorts by sudo port install git-core +svn I have tried to use git-svn unsuccessfully by git svn egUrl and git-svn egUrl How can you use Git-svn in Mac after MacPorts' installation? ...

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? ...

Is there any disadvantage to using both MacPorts and RubyGems at the same time?

I'm new to Ruby on Rails, and I'm in the process of setting it up on my OS X system. Most guides seem to recommend using MacPorts to install Ruby and RubyGems, then using RubyGems from there on to install gems. I've noticed that MacPorts also offers many gems (though they're missing some and others seem a few releases behind), and I'm wo...

Unable to have MacPorts' tab completion in Zsh

I get the following in including MacPorts' Bash tab completion to Zsh /opt/local/etc/bash_completion:[:48: unrecognized condition: `2' [ -- cut -- ] /opt/local/etc/bash_completion:[:62: unrecognized condition: `2' /opt/local/etc/bash_completion:69: command not found: shopt [ -- cut -- ] /opt/local/etc/bash_completion:3015: command not f...

Unable to activate Zsh installed by MacPorts

I put unsuccessfully Zsh installed by MacPorts as my login shell by setting the following path to Settings /opt/local/bin/zsh I put it to the Advanced options at the User accounts too. I get the following error I put the following path unsuccessfully to Settings /opt/local/var/macports/software/zsh/4.2.7_0+mp_completion I get the...

Unable to expand Mac's manuals to have Ubuntu's manuals

My Leopard has no manuals for Wget and compinit, for example. It lacks in many other areas such as in examples and documentation about options too. Ubuntu has often better manuals than Mac: for instance, it has manuals for the two commands. A solution to the problem may be to make a port to MacPorts which installs Ubuntu's manuals to M...

Unable to install Meld by MacPorts

I found that other people too have had trouble in installing Meld to Mac by MacPorts. I run sudo port install meld I get sudo port install meld ---> Activating shared-mime-info @0.60_0 Error: Target org.macports.activate returned: Image error: /opt/local/bin/update-mime-database already exists and does not belong to a registered...

Macports and Rubygems issues on Snow Leopard

I've installed Snow Leopard over Leopard with macports and rubygems already installed. This was regular install, not a clean "archive and erase" install. It turned out, that SL has 64bit versions of shared libraries and many development utilities do not work. For example, "port" command complains on incompatible tcl library, or ruby can...

Unable to understand a permission warning in Mac

I have 777 permissions for the app AquaLess installed by MacPorts. I run ./AquaLess.app I get zsh: permission denied: ./AquaLess.app This is a strange warning, since I have 777 permissions. How can you use the program installed by MacPorts? ...

call macports svn rather than pre-installed mac's svn

i have mac preinstalled svn at ->/usr/bin/svn i have macport install svn at -->opt/local/var/macports/software/subversion/1.6.3_0/opt/local my .bash_profile look like export M2_HOME=/Users/teoh/work/maven export M2=$M2_HOME/bin export PATH=$M2:$PATH export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home export PATH=/Users/t...

MacPorts doesn't install org.macports.mysql5.plist with mysql5 +server

The last two times I've used MacPorts to install mysql5 +server, the plist isn't installed that allows me to have MySQL start on launch. I can't remember what, if anything, I did the on the last install and I can't seem to find a way to get it installed. Am I missing something? How can I either get the plist file (the only way I know of ...

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 using Macports to install all the Unixy stuff. However, I'm finding that most of the pyth...