From: Lenore H. <lh...@si...> - 2010-01-10 04:27:54
|
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 |