Opened 15 years ago

Last modified 15 years ago

#19767 closed defect

postgresql83 missing dependensy on libranlib — at Version 3

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 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 (3)

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)
Note: See TracTickets for help on using tickets.