From: <hea...@ct...> - 2003-07-14 16:19:19
|
>Sorry, I was thinking bash shell rather than C-shell. This worked fine >under tcsh: >setenv CPPFLAGS -I/sw/include >./configure --prefix=/sw >make >without having to explicitly change the header files. > >Just changing CFLAGS doesn't neccesarily help you here, since this is a C++ >program and is not really all that sensitive to CFLAGS. CXXFLAGS ( C++ >flags) and CPPFLAGS (C pre-processor flags) are the real keys for this >package. > Okay this finally worked. I added these env variables to my .cshrc file as described on the Fink site. Now visual will build for me without hard coding the locations of the headers. BTW, the OS X install instructions on vpython.org should reflect the fact that there are a few other libs needed other than those that come with Gtk+ and Python22 installed by Fink. There should also be mention of these env variables that need to be set on OS X. As soon as we figure out the web browser thing that should be added too. >Regarding the help browser, there is a trigger that we can change in our >idle_VPython for the >webbrowser documentation. Try changing the value of help_url in >idle_VPython/EditorWindow.py to >/sw/lib/python2.2/site-packages/visual/docs/index.py. But, that will >probably not be enough. idle_VPython opens a webbrowser using the built-in >module "webbrowser". In webbrowser.py there is a list of available >browsers listed under the section commented as "Platform support for Unix" >and you can probably add support for the new browser that way. >The Python-MAC SIG might have some better advice though. > I just subscribed to the Python-Mac SIG list to see of anyone there can help with this. Thanks for the 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. |