macports

Installing ode using Macports

I am trying to install ode via Macports, but get this error: On Mac OS X 10.5, ode 0.11.1 requires Xcode 3.1 or later but you have Xcode 3.0. Error: Target org.macports.extract returned: incompatible Xcode version Is there any way to install ode without xcode 3.1? ...

sudo port install arm-elf-gcc3 fails with "No defined site for tag: gcc…"

Am trying to get the ARM plugin for Eclipse (http://sourceforge.net/projects/gnuarmeclipse/) going on iMac i7, OS 10.6.3, Xcode 3.2.2 (don't want to upgrade during my project). The plugin needs (IIRC) arm-elf-gcc3, which needs darwinports for "easy" install. Of course, probably due to leftovers when I moved from old MacBook to iMac, Darw...

Django Python Macports

I installed Django via Macports. I wasted a lot of time on making it work. It still does not work. I would like to COMPLETELY uninstall Django (Macports) and install with the easy install (DJANGO). I would like to keep Macports and not uninstall it, because I read it SHOULD be useful. How can I achieve this? Thank you for your atten...

confused about macports

Hello everyone, I am using MacBook Pro Mac OS 10.5 with related version of XCode. I am new to this development environment. I am learning macports, and I read information about macports from http://www.macports.org/. But I am still confused what macports is after reading information from this site. I am previous working on Windows and ...

MacPorts 1.8.2 fails to build db46 on Mac OS X 1.6.3

I'm trying to put a development environment on my Mac, and to do so I need to install several packages which require db46. When running sudo port install db46 I get the following error: ---> Computing dependencies for db46 ---> Fetching db46 ---> Attempting to fetch patch.4.6.21.1 from http://www.oracle.com/technology/products/be...

Can EPD Python and MacPorts Python coexist on OS X (matplotlib)?

I've been using MacPorts Python 2.6 on OS X 10.6. I am considering also installing the Enthought Python Distribution (EPD) on the same machine because it comes preconfigured with matplotlib and other nice data analysis and visualization packages. Can the two Python distributions co-exist peacefully on the same machine? What potential ...

Macports compile of MySQL++ failing.

Before running "sudo port install mysqlxx +universal", I installed the universal variant of mysql5. ... checking whether -lm is needed to use C math functions... no checking whether -lsocket is needed... no checking whether -lnsl is needed... no checking for MySQL library directory... /opt/local/lib/mysql5/mysql checking for MySQL i...

How do I write to a file and print to a terminal concurrently in Unix?

I have a little bash function to log my Macports outputs to a file (since installs often spew little tidbits that are easy to lose in terminal noise), then I just cat the file to the terminal: function porti { command sudo port install $@ >> $1.log 2>&1; cat $1.log } Is there a way to do this concurrently? BTW I pass $@ to instal...

MacPorts - Installing Port, Dependencies Failed

I am attempting to install xulrunner on OSX 10.6.3 using the following: sudo port install xulrunner However, I am receiving the following error: nat-10-200-136-126:phoneyc-new $ sudo port install xulrunner ---> Computing dependencies for xulrunner ---> Activating zlib @1.2.5_0 Error: The following dependencies failed to build: gcon...

Ruby, ODBC: MD5 checksum on ruby-odbc

I'm following the instructions here, and so far so good, but I'm having trouble figuring out this part: Lastly, download your target version from the ruby odbc project page and do a MD5 checksum on it. What exactly am I supposed to be running MD5 on? The tar file? extconf.rb? I've been poking around for awhile but I just don't ...

MacPorts / Terminal: `Unrecognized action "sudo"`

I'm trying to install Image Magick on MAMP. And I'm seriously out of my depth. I've installed MacPorts, and opened the terminal. I've typed in sudo port -v selfupdate per the instructions on http://www.macports.org/install.php#pkg But the response I get from the Terminal is Unrecognized action "sudo" I've googled and googled, but can'...

py2app, pyObjc & macports compilation errors

Hi, I'm currently writing a small python app that embeds cherrypy and django using py2app. It worked well until I tried to include pyobjc in my project, since my app needed a small GUI (which consists of a small icon in the top menu bar + a drop down menu). I can run my python script without any problem (I'm using python 2.6 with macpo...

Problems starting MySQL on Mac OS X

I am not able to start MySQL server on Mac OS X 10.4.11. MySQL was installed using Macports. MySQL was running fine until it suddenly died without any obvious reason. When running "mysql", I get the error message: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2) If ...

Xcode : UNIX Command-Line Tools Installation

I'm trying to install MacPorts but it needs command-line support to be installed with Xcode (which is an option during installation) is there any way I could install UNIX command line support with Xcode without re-installing Xcode? ...

Switch python distributions

I have a MacBook Pro with Snow Leopard, and the Python 2.6 distribution that comes standard. Numpy does not work properly on it. Loadtxt gives errors of the filename being too long, and getfromtxt does not work at all (no object in module error). So then I tried downloading the py26-numpy port on MacPorts. Of course when I use python...

Python library installing macports

Hi Everybody I would like to install: A. Mod python on a regular Macbookpro (MacOSX 10.6.4) B. And MySQL for Python on the same computer. And the installation is constantly failing. Question 1: Is there a tutorial on how to achieve this on Mac OS? I also hoped that I could use Macports for this. I had bad experience with Macports a...

Why does the Macports package of GHC take so long to compile?

And why? There is a bootstrap process and compiling the real compiler process, but which part consumes the most time? ...

missing locale_t

Installing gtk 1.2 (package name gtk1) with macports chokes on the final make, in libintl.h line 440. extern locale_t libintl_newlocale (junk, stuff, stuff) The compiler can't find locale_t, and I'm not doing any better. The file imports locale.h, which doesn't exist, and xlocale.h, which doesn't define this type. Where should loca...

Problem installing MongoDB using MacPorts

Im trying to install MongoDB on Snow Leopard using MacPorts, as explained on the MongoDB site (http://www.mongodb.org/display/DOCS/Quickstart+OS+X). However, it's stuck 'building boost'. Nothing's happened for 20 minutes. The progress from the terminal is attached. Any help on this would be appreciated. Im excited to check out MongoD...

Enable python support while installing opencv using mac ports

I installed opencv in my mac using mac ports by the following command sudo port install opencv It took around 2 hours and it installed properly. But the problem is that the python bindings are not enabled. So please let me know how to install opencv in mac using ports and also enable the python bindings. Thanks PS: I tried to manuall...