From: Steve S. <st...@sp...> - 2010-01-10 23:07:27
|
My "snow leopard" just came in a couple days ago.. but of course now I'm starting a new semester and that has consumed most of my attention. Hopefully I'll get a chance to breathe soon and try a build on 10.6. -steve On Jan 10, 2010, at 5:44 PM, Bruce Sherwood wrote: > As Lenore says, the easy way to get Visual 5 to work on the Mac is to > follow the instructions on the Mac download page at vpython.org, which > includes installing Mac Python 2.6.2 before installing Visual. Visual > will definitely not work with some other Python. > > The only way I've ever been able to build Visual 5 from scratch on the > Mac is by checking out the source files from CVS on sourceforge.net > and > following the instructions in MAC-OSX.txt. I built for Mac Python > 2.6.2. > > Recently I attempted to build for Mac Python 2.6.4 but failed with a > problem in the latest Boost libraries, which I reported here. Steve > Spicklemire said he would look into the problem. > > Bruce Sherwood > > Lenore Horner wrote: >> On Jan 9, 2010, at 21:31 , Nick Frisina wrote: >> >> >>> Does anyone have this combination working "out of the box" so to >>> speak?? >>> Is there tweaking involved? >>> >>> Long Story follows... >>> thanks >>> nickf >>> >>> = >>> ==================================================================== >>> == >>> I have a Mac OSX 10.6.2 Intel Core Duo: >>> 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; >>> root:xnu-1486.2.11~1/RELEASE_I386 i386 >>> >>> I have Python from darwinPorts: >>> 2.6.4 >>> (I also have 2.5 and 2.3, but I have code that I have tested so it >>> points to >>> the latest version by default)) >>> >>> After a successful vpython install from >>> http://vpython.org/contents/download_mac.html >>> >>> When I try to run any Python Visual code, I get the message: >>> site-packages/visual/cvisual.so: mach-o, but wrong architecture >>> >>> This seems to be to be an error of a 32 bit shared object, whereas I >>> believe I want a 64 bit shared object. >>> file shows: >>> /site-packages/visual/cvisual.so: Mach-O bundle i386 >>> whereas I believe I need: >>> Mach-O 64-bit bundle x86_64 >>> >> From the MacPorts side, this looks like you need to build >> +universal?? (I'm not an expert, you might try asking there.) >> >>> I have started looking for the source to cvisual.so....but so far >>> unsuccessful. >>> The closest source I have found is cvisualmodule.cpp >>> in the visual-5.12_release of the source .... but I am not convinced >>> that is correct. >>> >>> I have installed all pre-requisites for VisualPython including >>> "boost", GTK2, GTKMM, etc again from DarwinPorts. >>> >> You should be using MacPorts (http://www.macports.org/ which has an >> active and helpful user list), not DarwinPorts (somewhere there's a >> web page explaining the history, but the upshot is that MacPorts is >> where the work is being done and where the answers are available). >> >> >>> So I am ready.... >>> >>> BUT after a successful configure, I get to the "make" stage...which >>> mostly succeeds TILL I get an error: >>> >>> Compiling ./python/arrayprim.cpp ... >>> make[1]: *** [arrayprim.lo] Error 1 >>> make: *** [all-recursive] Error 1 >>> >>> It is the same error reported in Nov 2009 by: >>> http://www.mail-archive.com/pyt...@py.../msg267326.html >>> >>> (Coincidently this is the 1st directory that includes "boost" if >>> that helps ....) >>> >>> Has anyone solved this problem? >>> >> You're brave. I tried to use my MacPorts python rather than >> installing the recommended MacPython and gave up pretty quickly. >> Vpython pages say there are special bits in MacPython (my words) >> necessary for VPython but I don't think they say what the special >> bits >> are. >> >> Lenore >> >> >> --------------------------------------------------------------------- >> --------- >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution >> fast and easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> Visualpython-users mailing list >> Vis...@li... >> https://lists.sourceforge.net/lists/listinfo/visualpython-users >> > > ---------------------------------------------------------------------- > -------- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast > and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |