From: Joe H. <hea...@vn...> - 2003-07-22 23:41:27
|
On Monday, Jul 21, 2003, at 15:12 US/Eastern, Jonathan Brandmeyer wrote: >> - 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? After building Visual on my iMac, I see that you're quite correct. The autoconf2.5, automake, and automake1.6 packages aren't needed. I had them for compiling XEphem. I neglected to mention that the gtkglarea package is required. So, in addition to Gtk+ (plus all its dependencies) and Python22 (plus all its dependencies), the pkgconfig, gtkglarea, and numeric packages are required to build Visual. Of course, the system-xfree86 package is required if you're using Apple's X11 implementation, as is the X11 SDK. >> - 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. I actually forgot about this, but it's something I can do if I want to rebuild Visual. I hope these changes get put on the VPython OS X page for potential OS X users, especially that BROWSER flag. I nearly lost sleep over that one. Cheers, Joe Heafner ----- <http://www.donotcall.gov/> Use it! Be sure to complain about having to re-register every five years and about the fact that political fundraisers are exempt! |