bug-gv
[Top][All Lists]
Advanced

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

[bug-gv] [bug #17999] gv-3.6.* cannot be compiled on system without glib


From: Zvi Har El
Subject: [bug-gv] [bug #17999] gv-3.6.* cannot be compiled on system without glibc
Date: Sat, 14 Oct 2006 17:16:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

URL:
  <http://savannah.gnu.org/bugs/?17999>

                 Summary: gv-3.6.* cannot be compiled on system without glibc
                 Project: GNU gv
            Submitted by: zharel
            Submitted on: Saturday 10/14/06 at 17:16
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: None

    _______________________________________________________

Details:

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
 @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) \
        $(am__objects_3)
 gv_OBJECTS = $(am_gv_OBJECTS)





    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
Available only the item webpage     | 



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 10/14/06 at 17:16  Name: gv-3.6.2.patch  Size: 889B   By:
zharel
pathc for src/Makefile.in to allow Solaris compilation
<http://savannah.gnu.org/bugs/download.php?file_id=10974>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?17999>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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