From: Jonathan B. <jbr...@ea...> - 2003-07-21 19:12:50
|
On Mon, 2003-07-21 at 09:45, hea...@ct... wrote: > Good Morning. > > I am finally able to compile, install, and use VPython from OS X. My systems are > running OS 10.2.6, Fink 0.5.3, Safari 1.0, Apple's X11 Beta 3, VPython installer > version 2.1.102--30709, and the December 2002 Apple Dev Tools. There is a > note on the Fink home page regarding the recent update to the Dec. 2002 Dev > Tools. Apparently there are problems with gcc 3.3. Here are some additional > instructions that I feel should be placed on the OS X page at VPython.org. That doesn't surprise me. Debian ran into severe problems with 3.3 with the official 3.3.0 release when it came out, and the version that Apple is shipping is a pre-release CVS build. But then, so was the 3.1 build that they shipped too. The C++ front end has had a lot of bugfixing work done to it for the upcoming 3.3.1 release. > - After installing Fink, Gtk+, and Python22, make sure the Fink packages > autoconf2.5, automake, automake1.6, numeric, and pkgconfig are installed > too. You shouldn't need Autoconf or Automake for visual unless you are regenerating aclocal.m4, Makefile.in (in any directory except cvisual) or configure. Did you need to do that? The current scripts are generated with autoconf 2.53 and automake 1.6. Did you need these programs for some other purpose? > - Before issuing the "./configure --prefix=/sw" command, place the following > lines in your ~/.cshrc file: > > setenv CFLAGS -I/sw/include > setenv LDFLAGS -L/sw/include > setenv CXXFLAGS $CFLAGS > setenv CPPFLAGS $CXXFLAGS > setenv BROWSER open A note about CFLAGS/CXXFLAGS. Autoconf automatically sets both of these variables to "-O2 -g" unless they are already set in the environment. So, with these settings, just about any Autoconf-based installation procedure will build without optimization or debugging symbols. So, you will probably want to `setenv CFLAGS "-I/sw/include -O2"` (note the double quotes) at least, and if you want to provide more useful bugreports, add -g as well. > The first four are needed so that the compiler can find Fink's gtk and OpenGL > libraries. The last environment variable is needed so that invoking help (by > pressing F1) from inside IDLE_fork will work. > > - Note that enabling the "root" account really isn't necessary. You can just use > "sudo make install" and give your default admin password. Of course, if there > are multiple users on your Mac then the first user's password should suffice > since the first user created under OS X automatically has admin privileges. > > Thanks for everyone's help! > > Cheers, > Joe Heafner - Instructional Astronomy and Physics > Home Page http://users.vnet.net/heafnerj/index.html > I don't have a Lexus, but I do have a Mac. Same thing. Thanks for the feedback, Jonathan Brandmeyer |