macports

How to check if I have 'svn' bridge install in my git

Hi, I have 'git' install, but I am not sure if I have the 'svn' bridge install as well ("the part to run 'git svn'). So I tried to do sudo port install git-core +svn on Mac. But I end up getting: ---> Activating git-core @1.6.3.3_0+doc+svn Error: Target org.macports.activate returned: Image error: Another version of this port (git-...

How does MacPorts install packages? How can I activate a Ruby installation done via MacPorts?

After trying to install ruby19 on my machine (PPC, Mac OSX 10.5.7) using the following commandline sudo port install ruby19 the version of ruby didn't change ruby -v => ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] I assume that i have two versions of it installed on my mac, but how do i use the latest one now? ...

Why does Macports take FOREVER to build simple packages?

I guess the title says it all. 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 pain every time during every install I think I'll do without...

Any risks using Macports?

I'm considering installing macports on my mac so I can have easy access to *nix dev tools/apps. However, I'm wondering if there are any risks. I'm ok with the inevitable compatibility issue from time to time (hear snow leopard + macports has issues) but I do not want the stability of my "core" mac system to be effected. I'm also curio...

Anyone get python26 install in Snow Leopard via Macports?

I got build error after run in Snow Leopard (MacPort v.1.8.0) sudo port install python26 any workaround please? Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2" && /usr/bin/make all MAKE="/usr/...

Question on MacPorts comment: "manually remove the catalog entry for this port when you uninstall it"

I was recently installing Inkscape with MacPorts through a Mac OSX Leopard Terminal using "sudo port install inkscape" And during the search-and-download for dependencies, many of these type of comments were printed: ###################################################################### # As MacPorts does not currently have a post-de...

Wrong Mac OS X framework gets loaded

I've compiled a Python module using my own Qt4 library located in ~/opt/qt-4.6.0/, but when I try to import that module, the dynamic libraries that get loaded are from my MacPorts Qt4 installation. $ /opt/local/bin/python2.6 >>> import vtk objc[58041]: Class QMacSoundDelegate is implemented in both /Users/luis/opt/qt-4.6.0/lib/QtGui.fr...

No liblwgeom when using postgresql84 and postgis on Snow Leopard with MacPorts

I'm trying to get my dev environment back up and running after upgrading to Snow Leopard. In particular, I need postgresql and postgis working, but I'm running into the following problem. After installing both with the following: sudo port install postgresql84 postgresql84-server postgis I get errors like the following when I try to...

Build failure during install sqlite3 on Mac OS X 10.6 using MacPorts 1.8

When I do this command : sudo port clean sqlite3 sudo port install sqlite3 I get this error : ---> Computing dependencies for sqlite3 ---> Fetching sqlite3 ---> Verifying checksum(s) for sqlite3 ---> Extracting sqlite3 ---> Configuring sqlite3 ---> Building sqlite3 Error: Target org.macports.build returned: shell command " cd "...

Build failure during install py25-gtk on Mac OS X 10.6 using MacPorts 1.8

When I do this command : sudo port clean py25-gtk sudo port install py25-gtk I get this error : ---> Computing dependencies for py25-gtk ---> Building getopt Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_getopt/w...

Broken Java Mac 10.6

Some background: On Mac OS X 10.6 using Macports and I have DYLD_LIBRARY_PATH set in my .bash_profile. The problem: When I run java -version I get this error: Error occurred during initialization of VM Unable to load native library: libjava.jnilib By way of one helpful forum thread, I've discovered the problem is some files in...

Used MacPorts to install WordPress. Where is it now?

Hi, I used MacPorts shell to download and install WordPress: port install wordpress It went just fine: ---> Computing dependencies for libxml2 ---> Fetching libxml2 ---> Attempting to fetch libxml2-2.7.5.tar.gz from http://arn.se.distfiles.macports.org/libxml2 ---> Verifying checksum(s) for libxml2 ---> Extracting libxml2 --->...

How do I instruct CMake to look for libraries installed by MacPorts?

I'm trying to build some of our software, which was designed to run solely on Linux, on MacOS X. We are using CMake and I installed MacPorts so I could easily get CMake along with some of the third party libraries that we depend on. Now the problem is that CMake doesn't appear to look for libraries from MacPorts by default so several of...

ImageMagick MacPorts install fails on Snow Leopard

I recently upgraded to Snow Leopard. I installed the new XCode Tools and the X11 optional install. I upgraded to the new Snow Leopard binary of MacPorts, did a port selfupdate, reinstalled all ports and ImageMagick wasn't working. I uninstalled the ImageMagick port, reinstalled it, and got the following error trace: $ sudo port inst...

How to avoid installing unnecessary dependencies with MacPorts?

I've tried to get postgresql 8.4 via MacPorts (on Snow Leopard) but it seems that the dependencies are endless - including getting older version of stuff that is already available in Snow Leopard, kitchen-sink and who knows if eventually I end up with windows 7 ... Is there a way to get only those dependancies absolutely necessary to ru...

How to add MySQL support for PHP using MacPorts?

I installed php 5.3 through MacPorts and now i tried to connect to a database (MySQL) but always when i'm trying to call mysql_connect(); im getting an error: Call to undefined function mysql_connect() My setup is: Leopard 10.5.7 Installed and active packages via Macports that may be related to this problem: php5 @5.3.0_2+apache...

Brand new Mac, should I use Macports?

got a new mac, need to have it setup ready for development. I heard great things about macports, should i use it? Is it really easier than manually download and compile? anyone has any problems using it? It is for typical ruby web development stuff. thanks ...

MacPorts/Unix/bash question

I'm new to all things shell/binary, and was installing git (I understand scm is a good thing from being on SO). My internet hiccuped partway through, however, and the installation stalled. It interrupted a tar.gz download, and I don't know quite how to resume where it left off. Here's the output: computer:~ Alex$ sudo port install git...

pyqt installation problem in mac osx snow leopard

I'm following a tutorial of making desktop apps. with python and qt4, I downloaded and installed qt creator ide, created the .ui file and then I had to convert it using pyuic4, I've been trying a lot of things and still can't do it. I thought that pyuic4 would be installed with Qt creator IDE, but it seems that's not the case, so I inst...

Macports mysql5 setup under Snow Leopard

I've managed to get my install all screwed up as I'm a newbie and messing up is what I'm good at. 1) Can anyone reference a credible set of setup instructions for this stuff? 2) Can I just uninstall and start from scratch (passwords and all) through macports? I tried and a bunch of mysql directories stuck around after the unistall, WTF...