ranlib problem building 2.2.1 on Mac OS X

Peter Seibel peter at localhost.i-did-not-set--mail-host-address--so-shoot-me
Thu Apr 18 00:37:05 EDT 2002


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?

-Peter



More information about the Python-list mailing list