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

Submitter:  Jose E. Marchesi <jemarch>
Submitted:  Fri 26 Nov 2004 02:56:12 PM UTC
 
Category:  None Severity:  4 - Important
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jemarch
Open/Closed:  Closed Release:  3.6.3
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

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>
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>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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.

    Only logged-in users can vote.

     

     

     

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-06-28 jemarch StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2007-06-25 jemarch StatusIn Progress Ready For Test
    2007-06-25 jemarch StatusNone In Progress
        ReleaseNone 3.6.3
    2005-02-18 vojta Carbon-Copy- Added vojta
    2004-11-26 jemarch CategoryPostScript rendering None
        Severity1 - Wish 4 - Important
        Assigned toNone jemarch

    Back to the top


    Powered by Savane 3.9