[SciPy-user] Scipy and ipython and Aquaterm

Robert Kern rkern at ucsd.edu
Sun Jun 19 17:33:35 EDT 2005


Zhiwen Chong wrote:
> On 18-Jun-05, at 8:09 PM, Robert Kern wrote:
> 
>>> Either that, or I'm going to have to look into Darwinports.
>>
>> That is what I do to get libpng et al. Works like a charm.
> 
> Unfortunately, the ports are broken. Only the zlib port built  properly. 
> It's very frustrating... it appears that very few things  seem to *just 
> work* on Mac OS X's UNIX side, especially those things  that I need.
> 
> Darwinports 1.0. (did a port -d selfupdate to get the latest ports tree)
> 
> libpng:
> -----
> make: *** [libpng12.0.1.2.8.dylib] Error 1
> Error: Target com.apple.build returned: shell command "cd "/opt/local/ 
> var/db/dports/build/ 
> file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdat 
> e_dports_graphics_libpng/work/libpng-1.2.8" && make all" returned  error 2
> Command output: /usr/bin/libtool: for architecture: cputype  (16777234) 
> cpusubtype (0) file: -lSystemStubs(s_verr.o) is not an  object file (not 
> allowed in a library)

That's utterly bizarre. It works just fine on my system. The port isn't 
broken, but something on your system is. You could try installing 
Darwinports' libtool. You could also try changing the default gcc 
version to 3.3 using

$ sudo gcc_select 3.3

OTOH, I am using the system libtool and successfully used gcc 4.0 to 
build it.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the SciPy-User mailing list