ranlib problem building 2.2.1 on Mac OS X

Just van Rossum just at xs4all.nl
Thu Apr 18 06:43:09 EDT 2002


In article <m28z7l7hc4.fsf at javamonkey.com>,
 Peter Seibel 
 <peter at localhost.i-did-not-set--mail-host-address--so-shoot-me> wrote:

> I'm trying to build Python 2.2.1 from the source tarball on Mac OS X.
> I ran ./configure and then make and the make dies with:
> 
> ranlib libpython2.2.a
> ranlib: warning: cannot infer operation mode from `libpython2.2.a'
> ranlib: you must specify a MODE
> Try `ranlib --help' for more information.
> make: *** [libpython2.2.a] Error 1
> 
> while trying to build this target:
> 
> # Build static library
> # avoid long command lines, same as LIBRARY_OBJS
> $(LIBRARY): $(LIBRARY_OBJS)
> 	-rm -f $@
> 	$(AR) cr $@ Modules/getbuildinfo.o
> 	$(AR) cr $@ $(PARSER_OBJS)
> 	$(AR) cr $@ $(OBJECT_OBJS)
> 	$(AR) cr $@ $(PYTHON_OBJS)
> 	$(AR) cr $@ $(MODULE_OBJS) $(SIGNAL_OBJS)
> 	$(AR) cr $@ $(MODOBJS)
> 	$(RANLIB) $@
> 
> RANLIB is defined as:
> 
> RANLIB=		ranlib
> 
> Any ideas?

I just tried it, 2.2.1, ./configure with no options, on 10.1.4 with the 
december dev tools: "Works for me."

(Maybe ask on the macpython mailing list, more mac-savvy people out 
there.)

Just



More information about the Python-list mailing list