Sat 14 Oct 2006 05:16:00 PM UTC, original submission:
gv-3.6.* cannot be compiled on solaris, or, for that matter, on
any system which doesn't have gnu libc, or in particular, gnu getopt.
A simiar problem with gnu setenv was fixed with the inclusion of setenv source in the gv distribution and adding the configuratation variable --enable-setenv-code (btw, why this can be automatic?).
A similar fix is needed for getopt.
Until this is done, I copied from coreutils distributions the files coreutils-6.3/lib/{getopt*.[ch],gettext.h} into gv-3.6.2/src, and
patched src/Makefile.in, as in the attacachment, and as follows:
--- src/Makefile.in.~20060914194806~ 2006-09-14 22:48:06.000000000 +0300
+++ src/Makefile.in 2006-10-12 23:49:36.243011000 +0200
@@ -81,6 +81,7 @@
d_fs_xtmem.h d_gv_mem.h d_gv_xtmem.h d_proc_xtmem.h d_ps_mem.h \
d_ps_xtmem.h gv_message.h types.h Scrollbar.c Scrollbar.h \
ScrollbarP.h setenv.c setenv.h getenv.c d_mem.c d_mem.h \
+ getopt.c getopt.h getopt1.c getopt_.h getopt_int.h \
d_xtmem.c d_xtmem.h
@USE_SCROLLBAR_CODE_TRUE@am__objects_1 = Scrollbar.$(OBJEXT)
@USE_SETENV_CODE_TRUE@am__objects_2 = setenv.$(OBJEXT) \
@@ -100,6 +101,7 @@
options_setup.$(OBJEXT) process.$(OBJEXT) popup.$(OBJEXT) \
ps.$(OBJEXT) resource.$(OBJEXT) save.$(OBJEXT) scale.$(OBJEXT) \
gv_signal.$(OBJEXT) version.$(OBJEXT) widgets_misc.$(OBJEXT) \
+ getopt.$(OBJEXT) getopt1.$(OBJEXT) \
zoom.$(OBJEXT) $(am__objects_1) $(am__objects_2) \
$(am__objects_3)
gv_OBJECTS = $(am_gv_OBJECTS)
|