Bug 62521 - Port p5-Tk-TableMatrix-0.9 does not build
Summary: Port p5-Tk-TableMatrix-0.9 does not build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mario Sergio Fujikawa Ferreira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-08 10:50 UTC by Neil Hoggarth
Modified: 2004-03-20 03:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Hoggarth 2004-02-08 10:50:22 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-02-08 19:26:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lioux

Over to maintainer.
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2004-03-20 03:04:03 UTC
State Changed
From-To: open->closed

Fixed by recent update to version 1.1