bugGNU gv - Bugs: bug #11141, gv do not build on non GNU systems

 
 

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

bug #11141: gv do not build on non GNU systems

Submitted by:  Jose E. Marchesi <jemarch>
Submitted on:  Fri 26 Nov 2004 02:56:12 PM UTC  
 
Category: NoneSeverity: 4 - Important
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jose E. Marchesi <jemarch>
Open/Closed: ClosedRelease: 3.6.3

Mon 25 Jun 2007 08:07:29 PM UTC, comment #4:

The getopt module from gnulib has been imported and modified in the CVS in order to work with gv.

The directories "gv/lib" and "gv/m4" contain the imported code.

I am going to test this in BSD and Solaris systems. I dont have access to Tru64, HPPA or SGI machines.

Jose E. Marchesi <jemarch>In charge of this item.
Fri 13 Oct 2006 11:34:17 AM UTC, comment #3:

Oct 13th 2006, and gv 3.6.2 still does not compile on Solaris, HPUX, True64, SGI, Ultrix ... The partial fix displayed above is not even incorporated. I'd call gv terminal by now :)

B. DeKnuydt

Anonymous
Fri 17 Jun 2005 01:13:41 PM UTC, comment #2:

In src/main.c, any fix like that :

/*
Apple (OS X) and Sun systems declare getopt in unistd.h,
other systems (Linux) use getopt.h
*/
#if defined ( _APPLE_ ) || ( defined (__SVR4) && defined (__sun) )
#include <unistd.h>
#else
#include "getopt.h"
#endif

correct the main.c:47:20: getopt.h: No such file or directory error (but no the GNU_longOptions error)

Anonymous
Fri 18 Feb 2005 08:26:03 AM UTC, comment #1:

Actually, compilation fails earlier than that (at least for me):

main.c:47:20: getopt.h: No such file or directory

This was with gv-3.6.1.

Paul Vojta <vojta>
Fri 26 Nov 2004 02:56:12 PM UTC, original submission:

On non-linux (e.g. Solaris 2.8, but also on Tru64 and HPPA and SGI),
the compilation fails at:

main.c:145: error: elements of array `GNU_longOptions' have incomplete type
main.c:147: warning: excess elements in struct initializer
main.c:147: warning: (near initialization for `GNU_longOptions[0]')
main.c:147: error: `no_argument' undeclared here (not in a function)
main.c:147: warning: excess elements in struct initializer
main.c:147: warning: (near initialization for `GNU_longOptions[0]')
main.c:147: warning: excess elements in struct initializer
main.c:147: warning: (near initialization for `GNU_longOptions[0]')
main.c:147: warning: excess elements in struct initializer
main.c:147: warning: (near initialization for `GNU_longOptions[0]')
main.c:148: warning: excess elements in struct initializer

Reported by Bert Deknuydt.

Jose E. Marchesi <jemarch>In charge of this item.

 

No files currently attached

 

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 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 28 Jun 2007 02:09:39 PM UTCjemarchStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 25 Jun 2007 08:07:29 PM UTCjemarchStatusIn Progress=>Ready For Test
    Mon 25 Jun 2007 03:07:50 PM UTCjemarchStatusNone=>In Progress
      ReleaseNone=>3.6.3
    Fri 18 Feb 2005 08:26:03 AM UTCvojtaCarbon-Copy-=>Added vojta
    Fri 26 Nov 2004 02:56:48 PM UTCjemarchCategoryPostScript rendering=>None
      Severity1 - Wish=>4 - Important
      Assigned toNone=>jemarch

    Back to the top


    Powered by Savane 3.1-cleanup1