← Back to team overview

oship-dev team mailing list archive

Mac install attempt - part 2

 

Hi again,
This week I've been trying to set up a working virtualenv on MacOSX 10.3.9, with no luck. Good news first: a simple reboot solved my PATH problems. Now, when I type "python" on a "Terminal" prompt, it's Python 2.5 (and not 2.3) that shows up. And a simple "sudo easy_install ..." is all that I need to install things. I also found that subscribing to the ADC is free, so anyone can install Xcode on his/her MacOSX, even without a "Restore DVD" at hand. In my case I did, so I could follow the "DVD way": I mounted "DevTools.dmg" from the disk, browsed to the "Packages" folder and installed "DeveloperTools.pkg". This finally gave me the "install_name_tool" command-line utility, which virtualenv depends on. Unfortunately, another error immediately appeared: "install_name_tool" now says that "oshipenv/bin/python" is a "malformed i386 object". I am not even on a MacIntel (i386), but on a PowerPC (ppc)... It's impossible to tell whether these problems with virtualenv are general or specific to my (somewhat outdated) version of MacOSX. Anyway, next week I will try another solution: the X11 compatibility layer (that makes GNU/Linux tools work on MacOSX) and the Fink packaging system (that works much like Debian/Ubuntu "apt-get"). Maybe things will be simpler then.
 Stay tuned,
Roberto.

Roberto Siqueira a écrit :
Hi all,
  I am following OSHIP's faq/391 instructions and performing the actual
MacOSX installation while typing this. The machine I have here is an iMac
G4, system version 10.3.9 "Panther" (somewhat old; 10.5 is the last one).

  This version comes with Python 2.3 preinstalled, so I have to install
Python 2.5 first, from here:

http://www.python.org/ftp/python/2.5.4/python-2.5.4-macosx.dmg

  No problems with that. It even installs some Mac-oriented stuff as well
(editor, libraries etc). Next step is to get easy_install from:

http://pypi.python.org/pypi/setuptools/0.6c9

  I just follow the MAcOSX instructions. I download:
setuptools-0.6c9-py2.5.egg and type, on a "Terminal":

cd Desktop
sudo sh setuptools-0.6c9-py2.5.egg

  It installs fine but (I don't know why) its directory doesn't get included
to the PATH, so now I have to give its full name to: easy_install
virtualenv (it's the next step):

sudo /Library/Frameworks/Python.framework/Versions/2.5/bin/easy_install
virtualenv

  I am surely doing something wrong here, because now I have the same PATH
problems with virtualenv. The next step (virtualenv --no-site-packages
oshipenv) thus becomes:

/Library/Frameworks/Python.framework/Versions/2.5/bin/virtualenv
--no-site-packages oshipenv

  This time I get an error: "you must have Apple's development tools
installed". This is the equivalent of the "build-essential" Ubuntu
package, I presume. This link apparently has them:

http://developer.apple.com/tools/xcode/

  but it also says: "In addition to being packaged on the DVD with every
copy of Mac OS X, the latest Xcode developer release is always available
for free to ADC members".
  As I am not an ADC (Apple Developer Connection) member, tomorrow I'll
look for this machine's MacOSX DVD and continue my report.

  See you then,
Roberto.

Hi all,
  I'll have a Mac around by Monday (MacOSX version 10.3, IIRC). I'll try
the installation on it then, to see how it goes.
  Best regards,
Roberto.

Roger Erens a écrit :
on 21-5-2009 23:32 Tim Cook wrote:
...
Thanks for your help!
Tim
PS. Any progress on the Windows or Mac installations?  If not File a
bug
report!  :-)
I'll have a look at the Windows story tomorrow. Anybody else, too? I am
also planning on cleaning and splitting up the Installation FAQ into one
for Windows XP/Vista, one for Ubuntu 8.10, and one for Ubuntu 9.04. I'd
like input in order to create corresponding FAQs for Mac OSX and others,
if any...
Best,
Roger




Follow ups

References