Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19767 closed defect (worksforme)

postgresql83 missing dependency on libranlib

Reported by: macports.org@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: jyrkiwahlstedt
Port: postgresql83

Description (last modified by mf2k (Frank Schima))

The package "postgresql83" fails to build unless "libranlib" is installed. Tail of the build log without "libranlib" installed:

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -DREADLINE_LIBRARY -c ./tilde.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o
ar: can't find or exec: ranlib (No such file or directory)
ar: internal ranlib command failed
make: *** [libreadline.a] Error 1

Error: The following dependencies failed to build: readline
Error: Status 1 encountered during processing.

After installing "libranlib" it builds and installs fine.

Change History (6)

comment:1 Changed 15 years ago by macports.org@…

Sorry about the messy build log, here it is again, in readable wikiformatted form:

/usr/bin/gcc-4.0 -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"6.0"' -O2 -DREADLINE_LIBRARY -c ./tilde.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o
ar: can't find or exec: ranlib (No such file or directory)
ar: internal ranlib command failed
make: *** [libreadline.a] Error 1

Error: The following dependencies failed to build: readline
Error: Status 1 encountered during processing.

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: jwa@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to mww@…

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 15 years ago by blb@…

ar: can't find or exec: ranlib (No such file or directory)

ranlib should have been installed as part of Xcode (like ar was); perhaps your Xcode install is incomplete?

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Closing due to lack of response. I had no problem installing postgresql83 @8.3.7_0 on Tiger without libranlib installed. ranlib is in /usr/bin.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: postgresql83 missing dependensy on libranlibpostgresql83 missing dependency on libranlib
Note: See TracTickets for help on using tickets.