pkgsrc-Bugs archive

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

pkg/31102: print/mpage won't compile



>Number:         31102
>Category:       pkg
>Synopsis:       print/mpage won't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 30 18:35:00 +0000 2005
>Originator:     Steven M. Bellovin
>Release:        NetBSD 3.99.7
>Organization:
Department of Computer Science, Columbia University
>Environment:
        
        
System: NetBSD berkshire.machshav.com 3.99.7 NetBSD 3.99.7 (BERKSHIRE) #0: Fri 
Aug 12 01:48:51 EDT 2005 
smb%berkshire.machshav.com@localhost:/usr/BUILD/obj/sys/arch/i386/compile/BERKSHIRE
 i386
Architecture: i386
Machine: i386
>Description:
        Using pkgsrc head, print/mpage won't compile:

        ===> Building for mpage-2.5
         cc -O2 -O2 -s -DPAGE_DEF= -DLIBDIR=\"/usr/pkg/share/mpage\" 
-DDEFAULT_ENCODING=1
          -DDEFAULTSMARGIN=20 -DSPOOLER=BSD_SPOOLER -Wall  -c glob.c
         glob.c:303: error: parse error before ';' token
         glob.c:389:16: #if with no expression
         glob.c:391:16: #if with no expression
         glob.c:393:16: #if with no expression
         *** Error code 1

         Stop.
         make: stopped in /usr/pkgsrc/print/mpage/work/mpage-2.5
         *** Error code 1

>How-To-Repeat:
        cd /usr/pkgsrc/print/mpage && make
>Fix:
        The problem is that in Makefile, there is no uncommented
        definition for PAGESIZE.  Either PAGE_LETTER or PAGE_A4
        should be used.

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index