From: Kelvin C. <kel...@uv...> - 2003-12-23 01:44:44
|
I'm no expert, but my machine doesn't have pango installed at all. Therefore, is it there because you've used it for another package? A quick search through the 10.3/stable directory shows that the packages below depend upon pango. I have gtk+ installed, but not gtk+2. habanero[~]% find /sw -name \*.info -print | grep -v unstable | grep 10.3 | xargs grep pango | grep -i depends | cut -d ":" -f 1 /sw/fink/10.3/stable/main/finkinfo/editors/bluefish.info /sw/fink/10.3/stable/main/finkinfo/games/dopewars.info /sw/fink/10.3/stable/main/finkinfo/games/dopewars.info /sw/fink/10.3/stable/main/finkinfo/gnome/gtk+2-2.0.6-4.info /sw/fink/10.3/stable/main/finkinfo/gnome/gtk+2-2.0.6-4.info /sw/fink/10.3/stable/main/finkinfo/gnome/pango1-dev.info /sw/fink/10.3/stable/main/finkinfo/gnome/pango1-shlibs.info /sw/fink/10.3/stable/main/finkinfo/gnome/pango1.info /sw/fink/10.3/stable/main/finkinfo/gnome/pygtk2-py23.info /sw/fink/10.3/stable/main/finkinfo/gnome/pygtk2-py23.info /sw/fink/10.3/stable/main/finkinfo/net/gaim.info /sw/fink/10.3/stable/main/finkinfo/net/pan.info None of them appear to be required for vpython. -k On 22 Dec, 2003, at 8:05 PM, Jon Schull wrote: > Good news and bad news > > #1: First, Kevin's instructions were superbly clear and I was able to > follow them without only one hiccup on a non-clean 10.3 system > recently upgraded from 10.2. > > The hitch came here: >> fink update-all >> [schull-mac:/sw/etc] jis% fink update-all >> /usr/bin/sudo /sw/bin/fink update-all >> Information about 1185 packages read in 1 seconds. >> >> fink needs help picking an alternative to satisfy a virtual >> dependency. The >> candidates: >> >> (1) pango1-dev: I18N text handling system convinience package >> (2) pango1-xft2-dev: I18N text handling system: for XFree86 (>= >> 4.3) >> >> Pick one: [1] 1 >> Failed: Can't resolve dependency "glib2 (>= 2.2.3-1)" for package >> "libidl2-0.8.2-2" (no matching packages/versions found) > > > Second, they do seem to have built me a fresh python. When I type > visual, I now get > >> Python 2.3.2 (#1, Dec 22 2003, 18:36:41) >> [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin >> Type "copyright", "credits" or "license()" for more information. >> >> **************************************************************** >> Personal firewall software may warn about the connection IDLE >> makes to its subprocess using this computer's internal loopback >> interface. This connection is not visible on any external >> interface and no data is sent to or received from the Internet. >> **************************************************************** >> >> IDLE 1.0 >> > > and it works > >> >>> print 'hello' >> hello >> >>> from visual import * >> Visual-2003-10-05 > > however (as formerly under 2.2), I still have an OpenGL problem. > >> >>> sphere() >> OpenGL initialization failed. >> Unable to create OpenGL display widget >> <Primitive object at 0x62d394> >> >>> > > at the same time stderr writes >> Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget' > > > This is apparently unrelated to Python (but I'd still like help!!), > since I can't run glgears either: >> Error: couldn't get an RGB, Double-buffered visual > > any suggestions?? Might the pango / glib2 hiccup be the issue? > ------------------ > Jon Schull, Ph.D. > Associate Professor > Information Technology > Rochester Institute of Technology > sc...@di... 585-738-6696 > > > > On Dec 22, 2003, at 1:46 PM, Kelvin Chu wrote: > >> Below is a link on how to build VPython on MacOSX 10.3 using Python >> 2.3. >> >> http://www.uvm.edu/~kchu/?Page=VPython/ >> BuildingVPython.html&SM=miscsubmenu.html >> >> I built VPython yesterday on a fresh (10.3 eMac) starting completely >> from scratch. Please let me know how this works for you so that we >> can refine this process and make it as painless as possible. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > -- Kelvin Chu, Physics Department, Cook Building 82 University Place, University of Vermont, Burlington VT 05405-0125 http://www.uvm.edu/~kchu/; (802) 656-0064; Fax: (802) 656-0817 |