[MacPorts] #18343: py-geoip fails to build

MacPorts noreply at macports.org
Wed Feb 4 03:31:04 PST 2009


#18343: py-geoip fails to build
----------------------------------------+-----------------------------------
 Reporter:  benjamin.winston@…          |       Owner:  macports-tickets@…                   
     Type:  defect                      |      Status:  new                                  
 Priority:  Normal                      |   Milestone:  Port Bugs                            
Component:  ports                       |     Version:  1.7.0                                
 Keywords:  build failure               |        Port:  py-geoip                             
----------------------------------------+-----------------------------------

Comment(by benjamin.winston@…):

 Okay, this is now resolved, it was my fault. Since this now comes to the
 top of a google search for the failed shell variable, I will share (for
 the macports n00bs, like myself) what I did:

 1) I was running the wrong python, I was using the mac os x installed
 python 2.5, rather than the macports package python24. I have a leopard
 system that was upgraded from tiger, and the former was located in
 /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5,
 then linked to from /usr/bin/python. I re-linked this to point to
 /opt/local/bin/python2.4 I assume this made a difference but I haven't
 tested it - so far as the actual *use* of python in the build goes.

 2) (and probably much more importantly ;-) I was running an out-of-date
 python24 package from macports. To update this, I first ran a "sudo port
 -v selfupdate", then I ran a "sudo port -R upgrade python24" which rebuilt
 and upgraded my python 2.4 to the latest version.

 3) I then installed the modules I was looking for, including py-geoip and
 py-mysql. Since I saw this (cryptic?) error on two different modules, it's
 likely that you, my google-found-friend have a problem similar to mine.
 "sudo port install py-mysql" and "sudo port install py-geoip".

 Could someone with the power please apply the action "mark as just-
 another-lamer" below, as I only have "leave as new".

 RESOLVED.

-- 
Ticket URL: <http://trac.macports.org/ticket/18343#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list