New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19767 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

postgresql83 missing dependency on libranlib

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

Description (last modified by macsforever2000@…) (diff)

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

comment:1 Changed 4 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 4 years ago by macsforever2000@…

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

comment:3 Changed 4 years ago by macsforever2000@…

  • Description modified (diff)

comment:4 Changed 4 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 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to worksforme

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 4 years ago by ryandesign@…

  • Summary changed from postgresql83 missing dependensy on libranlib to postgresql83 missing dependency on libranlib
Note: See TracTickets for help on using tickets.