[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gv] gv 3.6.2 on solaris

From: Zvi Har'El
Subject: [bug-gv] gv 3.6.2 on solaris
Date: Thu, 12 Oct 2006 22:08:54 -0000
User-agent: Mutt/


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 Makefile.in, 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
 @address@hidden = Scrollbar.$(OBJEXT)
 @address@hidden = 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) \
 gv_OBJECTS = $(am_gv_OBJECTS)

I hope you can include a fix to the next version. Note that solaris freeware
site www.sunfreeware.com , has gv-3.5.8 as the latest version.


Dr. Zvi Har'El      mailto:address@hidden    Department of Mathematics
tel:+972-54-4227607 icq:179294841    Technion - Israel Institute of Technology
fax:+972-4-8293388  http://www.math.technion.ac.il/~rl/    Haifa 32000, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)
                            Thursday, 21 Tishri 5767, 12 October 2006, 11:58PM

Attachment: pgpfnUFIo0C2l.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]