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

Submitted by:  Zvi Har El <zharel>
Submitted on:  Sat 14 Oct 2006 05:16:00 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Duplicate
Privacy: PublicAssigned to: Jose E. Marchesi <jemarch>
Open/Closed: ClosedRelease: 3.6.3

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

Same as bug #11141

Jose E. Marchesi <jemarch>In charge of this item.
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>

 

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
  • -unavailable- added by jemarch (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 25 Jun 2007 08:27:25 PM UTCjemarchStatusIn Progress=>Duplicate
      Open/ClosedOpen=>Closed
    Mon 25 Jun 2007 03:01:48 PM UTCjemarchReleaseNone=>3.6.3
    Mon 16 Oct 2006 02:39:43 PM UTCjemarchStatusNone=>In Progress
      Assigned toNone=>jemarch
    Sat 14 Oct 2006 05:16:00 PM UTCzharelAttached File-=>Added gv-3.6.2.patch, #10974
      Carbon-Copy-=>Added zharel

    Back to the top


    Powered by Savane 3.1-cleanup1