macports

How do I use MacPorts to downgrade a dynamic library?

My py-mysql is farking because I've upgraded MySQL which replaced libmysqlclient_r.15.dylib with libmysqlclient_r.16.dylib. How do I find and get back the older version? EDIT: I found that to intall an older version of MySQL, I need to do @, but I'm still looking for the way to find the older versions. ...

postgis environments changed with macport selfupdate

Last month I've installed PostgresSql 8.4.1 and Postgis 1.4 via macports on my Mac with Leopard(10.5), and everything just worked fine. I then updated to Snow Leopard(10.6) and still everything was working fine. Yesterday I've tried to install Gimp with macports, the installation failed. So I did a "port selfupdate" which seemed to destr...

Unable to install Git-core+svn by MacPorts

I am trying to install git-svn on mac os x 10.5 using the following command, sudo port install git-core +svn It installation is successful but i can find the git-svn command anywhere, ~/ $ sudo port installed git-* The following ports are currently installed: git-core @1.6.5.2_0+doc+svn (active) Installed shows it installed with ...

Finding the correct Python framework with cmake

I am using the macports version of python on a Snow Leopard computer, and using cmake to build a cross-platform extension to it. I search for the python interpreter and libraries on the system using the following commands in CMakeLists.txt include(FindPythonInterp) include(FindPythonLibs ) However, while cmake identified the correct ...

macports confusion

hey i am new to the macports thing as i recently switched to the mac. as i was thinking of developing some applications in my mac i wanted all the usual gnu and opensource tools i need. but i had a small confusion. i was installing git with macports and i noticied it installed a lot of packages like Perl that i already have in my machne....

Question about Macports

I just got Macports installed on my mac, of which os version is Snow Leopard (10.6). I used Macports to install several packages through 'sudo port install' command, and all these packages are reported active after the installation. I just wonder that whether these packages are really working? For example, macports tells me that 'gcc44 @...

how to flush macports installation queue?

I wanted to install git with macports - it failed. ok. So I went with dmg - succeeded. However, now I cannot remove git from some install queue and if I want install anything it still fetches git install command (which is failing btw). so.. "sudo port install htop" still invokes "sudo port install git-core" how to fix it? ...

os x python 2.6 bus error

i am getting weird python bus error when building a web app. http://pastie.org/714569 i am using python 2.6 from mac ports in osx snowleopart 10.6.2. i have done python_select and stuff. how to figure out what is going on? thanks ...

mysql + ruby = nightmare

Ok, I'm done. I can't understand why I got this error with: rake features It cant' be I can't connect to mysql cause the: rake db:migrate works perfectly. I keep having this error: rake features --trace (in /Users/myname/Projects/rails_app) ** Invoke features (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_...

Install git-core +svn fails with MacPort

Hi, I tried several tricks, clean all, and no luck. Any tips? sudo port install git-core +svn +doc ---> Computing dependencies for git-core ---> Building db46 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/wo...

Where is $ERL_TOP on a macports installation of Erlang

I've installed Erlang through macports on my macbook and I'm trying to use the Erlang Eclipse plugin, but it needs me to point it to the $ERL_TOP directory. Where does that exist? I know my erl binary shell is located at: which erl /opt/local/bin/erl ...

Replace MacPorts dependency with other package

Is there a way to satisfy a certain port dependency with another package (than the specified one) in MacPorts? More specifically, to use the package XYZ-devel instead of just XYZ for a second port that requires XYZ? Thanks in advance. ...

Rails / Snow Leopard Mysql 64-bit question

Hey all, I'm trying to install 64-bit MySQL on Snow Leopard for a rails app. I've installed it from the dmg and I can get to mysql fine from the command line. Based on various blog posts as well as the other topics here on Stack, I shut down mysql, uninstall the mysql gem, and then try to update the gem with the following: sudo env ARC...

What's the best way to set up symbolic links to current installs, e.g python -> python2.6

What's the best way to set up symbolic links to current installs, e.g python -> python2.6? I've just installed python2.6 through Macports at /opt/local/bin/python2.6, I'd now like to set up a symbolic link called python here /usr/local/bin/. I then want to be able to add this line at the beginning of my pythons scripts so it knows wher...

Compiling and installing pyactivemq on osx

I'm having a hardtime trying to install pyactivemq (link) on my osx leopard. Following a tutorial (in portuguese) on compiling it ends up ok, but when I run the tests i receive only a crypt message: "Fatal Python error: Interpreter not initialized (version mismatch?)" There is not much information on the web about using pyactivemq on ...

SWIG Python bindings for OpenCV 2.0 with MacPorts

Y'all, I've been at to for 3 days trying to get OpenCV Python binds happening, and I have (the full epic struggle is documented here) but despite turning the SWIG flag on in CMake after installing swig via macports, I'm not getting any SWIG action :( My cmake command looks like: cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFI...

macports repair/replace command?

Hi, I accidentally removed /opt/local/bin/perl5.8.9 , which seems to be the main binary file for perl compiled by macports. Now I have a lots of ports depending on perl5, but don't want to uninstall and reinstall all of them. Is there a way to repair or reinstall and replace a port? Or is /opt/local/bin/xx only a symlink? If so, wher...

MacPorts Apache2 Stopped Launching on Boot

Something that I've noticed recently on two different machines is that Apache2 installed via MacPorts seems to have stopped launching when I boot up. The honest truth is that I can't swear it did so before, but it's something I think I'd notice because installing the LaunchDaemon is part of my install process. In fact, if I try to reload...

MacPorts on Snow Leopard: rsync library not loaded libintl

After upgrading to OS X 10.6, I've had all kinds of peculiar issues relating to MacPorts, but most of those have been resolved by simply rebuilding the libraries as required. There is one issue that I can't seem to solve through that method, and even re-building all ports, removing the old /opt directory entirely, has had no effect: $ r...

Errors installing some gems on Snow Leopard - libxml2

After upgrading to Snow Leopard, I found that installing some gems no longer worked, including webrat, mechanize etc. Each time I get this error: checking for xmlParseDoc() in -lxml2... no libxml2 is missing. try 'port install libxml2' or 'yum install libxml2' *** extconf.rb failed *** Could not create Makefile due to some reason, pro...