bugGNU gv - Bugs: bug #17999, gv-3.6.* cannot be compiled on...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17999: gv-3.6.* cannot be compiled on system without glibc

Submitter:  Zvi Har El <zharel>
Submitted:  Sat 14 Oct 2006 05:16:00 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  jemarch
Open/Closed:  Closed Release:  3.6.3

Mon 25 Jun 2007 08:27:25 PM UTC, comment #1: 

Same as bug #11141

Jose E. Marchesi <jemarch>
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)


Zvi Har El <zharel>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #10974:  gv-3.6.2.patch added by zharel (889B - application/octet-stream - pathc for src/Makefile.in to allow Solaris compilation)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jemarch (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-25 jemarch StatusIn Progress Duplicate
        Open/ClosedOpen Closed
    2007-06-25 jemarch ReleaseNone 3.6.3
    2006-10-16 jemarch StatusNone In Progress
        Assigned toNone jemarch
    2006-10-14 zharel Attached File- Added gv-3.6.2.patch, #10974
        Carbon-Copy- Added zharel

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code