Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2004 02:46:41 -0800 (PST)
From:      Neil Hoggarth <neil@hoggarth.me.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/62521: Port p5-Tk-TableMatrix-0.9 does not build
Message-ID:  <200402081046.i18AkfRc009537@www.freebsd.org>
Resent-Message-ID: <200402081050.i18AoMtc046396@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         62521
>Category:       ports
>Synopsis:       Port p5-Tk-TableMatrix-0.9 does not build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 08 02:50:22 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Neil Hoggarth
>Release:        4.9-STABLE
>Organization:
>Environment:
FreeBSD shadowfax.localdomain 4.9-STABLE FreeBSD 4.9-STABLE #3: Wed Jan 21 14:19:53 GMT 2004   njh@shadowfax.localdomain:/scratch/obj/usr/src/sys/SHADOWFAX  i386
>Description:
Building the p5-Tk-TableMatrix port fails with compilation errors in the file "cmd.c". My system has the perl-5.8.2_4 port installed and is set 
up to "use.perl port". The following is a transcript of the build errors 
that I get when trying to build:

===>  Building for p5-Tk-TableMatrix-0.9
cp TableMatrix.pm blib/lib/Tk/TableMatrix.pm
AutoSplitting blib/lib/Tk/TableMatrix.pm (blib/lib/auto/Tk/TableMatrix)
cp TableMatrix/Spreadsheet.pm blib/lib/Tk/TableMatrix/Spreadsheet.pm
cp TableMatrix/SpreadsheetHideRows.pm blib/lib/Tk/TableMatrix/SpreadsheetHideRows.pm
cd pTk && make
cp mm.h ../blib/arch/Tk/pTk/mm.h
cp tkTable.h ../blib/arch/Tk/pTk/tkTable.h
cp tkTableversion.h ../blib/arch/Tk/pTk/tkTableversion.h
cc -c  -I/usr/local/lib/perl5/site_perl/5.8.2/mach/Tk -I/usr/X11R6/include -I/usr/local/lib/perl5/site_perl/5.8.2/mach/Tk/pTk -I. -Ibitmaps -I/usr/X11R6/include  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.2/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include -O -pipe    -DVERSION=\"0.9\"  -DXS_VERSION=\"0.9\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.2/mach/CORE"   -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ cmd.c
In file included from cmd.c:13:
mm.h:91: syntax error before `Arg'
mm.h:94: syntax error before `Arg'
mm.h:100: syntax error before `Arg'
mm.h:102: syntax error before `Cmd_OptionGet'
mm.h:105: warning: data definition has no type or storage class
mm.h:108: syntax error before `Arg'
cmd.c:25: syntax error before `Arg'
cmd.c: In function `Cmd_OptionSet':
cmd.c:27: `clientData' undeclared (first use in this function)
cmd.c:27: (Each undeclared identifier is reported only once
cmd.c:27: for each function it appears in.)
cmd.c:28: `value' undeclared (first use in this function)
cmd.c:30: `interp' undeclared (first use in this function)
cmd.c:33: `widgRec' undeclared (first use in this function)
cmd.c:33: `offset' undeclared (first use in this function)
cmd.c: At top level:
cmd.c:38: syntax error before `Cmd_OptionGet'
cmd.c:40: warning: return-type defaults to `int'
cmd.c: In function `Cmd_OptionGet':
cmd.c:43: warning: return makes integer from pointer without a cast
cmd.c: At top level:
cmd.c:53: syntax error before `Arg'
cmd.c: In function `Cmd_BitSet':
cmd.c:56: `interp' undeclared (first use in this function)
cmd.c:56: `value' undeclared (first use in this function)
cmd.c:60: `widgRec' undeclared (first use in this function)
cmd.c:60: `offset' undeclared (first use in this function)
cmd.c:60: `clientData' undeclared (first use in this function)
cmd.c: At top level:
cmd.c:89: syntax error before `Arg'
cmd.c: In function `Cmd_GetValue':
cmd.c:91: warning: implicit declaration of function `LangString'
cmd.c:91: `arg' undeclared (first use in this function)
cmd.c:91: warning: initialization makes pointer from integer without a cast
cmd.c:93: `cmds' undeclared (first use in this function)
cmd.c: At top level:
cmd.c:100: syntax error before `Arg'
cmd.c: In function `Cmd_GetError':
cmd.c:103: `arg' undeclared (first use in this function)
cmd.c:103: warning: initialization makes pointer from integer without a cast
cmd.c:104: `interp' undeclared (first use in this function)
cmd.c:105: `cmds' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/x11-toolkits/p5-Tk-TableMatrix/work/Tk-TableMatrix-0.9/pTk.
*** Error code 1

Stop in /usr/ports/x11-toolkits/p5-Tk-TableMatrix/work/Tk-TableMatrix-0.9.
*** Error code 1

Stop in /usr/ports/x11-toolkits/p5-Tk-TableMatrix.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall9661.0 make
** Fix the problem and try again.
** The following packages were not installed or upgraded (*:skipped / !:failed)
        ! x11-toolkits/p5-Tk-TableMatrix        (compiler error)

>How-To-Repeat:
portinstall p5-Tk-TableMatrix

>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402081046.i18AkfRc009537>