From: Bruce S. <Bru...@nc...> - 2005-05-16 14:34:01
|
Aaron Titus has written up detailed instructions on how to compile and install VPython on Mac OSX 10.4, and these are now posted on the Mac download page at vpython.org. Thanks, Aaron! Here is what he says: The following instructions are for installing VPython on Mac OS 10.4 (Tiger) using Fink 0.7.1. You will compile Fink and visual-py23, with its dependencies, from source. Installing the visual-py23 package, which depends on gcc3.1 and python23, took approximately 3 hours on my Titanium PowerBook G4. 1. Follow the instructions for "users of the unstable tree" at http:// fink.sourceforge.net/ under the heading "News 2005-04-29: Fink and Tiger". Use a Terminal shell for typing your commands. Note that I followed the instructions for "users of the unstable tree" and did not "bootstrap" an installation of Fink, though you may be able to bootstrap Fink as well. When running "Fink selfupdate," it will ask: "This fink version introduces new settings stored in the fink configuration file '/sw/etc/fink.conf'. You should rerun the configuration process. Do you want to configure now?" The default is "N"; however, you should answer "y". Answering "N" will give the following error: "Please remember to call 'fink configure' later! done. Re-executing fink to use the new version... Failed: no matching version found for gettext" Use default responses for all other questions. 2. Using Fink Commander, install the visual-py23 package from source. If you do not use Fink Commander, type the command "fink install visual-py23" in a Terminal shell. 3. To run vpython scripts from a Terminal shell, you will have to link /usr/bin/python to /sw/bin/python23 using the following commands: sudo rm /usr/bin/python sudo ln -s /sw/bin/python23 /usr/bin/python Now you can run a vpython program using "python myvpythonprogram". |