Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 18:19:02 -0700 (PDT)
From:      John Merryweather Cooper <jmcoopr@webmail.bmi.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28394: p5-TclTk-b2 fails to build with a syntax error during compile
Message-ID:  <200106250119.f5P1J2q99360@johncoop.MSHOME>

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

>Number:         28394
>Category:       ports
>Synopsis:       p5-TclTk-b2 fails to build with a syntax error during compile
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 24 18:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD johncoop.MSHOME 4.3-STABLE FreeBSD 4.3-STABLE #17: Sun Jun 24 15:52:05 PDT 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386


	
>Description:
	Port fails to build with a syntax error.  It appears that a header file
	cannot be found (or is otherwise incorrect).  Typescript of build
	follows:

Script started on Sun Jun 24 18:12:41 2001
===>  Extracting for p5-TclTk-b2
>How-To-Repeat:
	Just try and build it.

>Fix:

	unknown

>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for TclTk-b2.tar.gz.
 ===>   p5-TclTk-b2 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Tcl.pm - found
 ===>   p5-TclTk-b2 depends on shared library: tk82.1 - found
 ===>  Patching for p5-TclTk-b2
 ===>  Applying FreeBSD patches for p5-TclTk-b2
 ===>  Configuring for p5-TclTk-b2
 Checking if your kit is complete...
 Looks good
 Note (probably harmless): No library found for -ltk82
 Note (probably harmless): No library found for -ltcl82
 Note (probably harmless): No library found for -lX11
 Writing Makefile for Tcl::Tk
 ===>  Building for p5-TclTk-b2
 mkdir blib
 mkdir blib/lib
 mkdir blib/lib/Tcl
 cp Tk.pm blib/lib/Tcl/Tk.pm
 /usr/bin/perl5.00503 -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 /usr/libdata/perl/5.00503/ExtUtils/xsubpp  -typemap /usr/libdata/perl/5.00503/ExtUtils/typemap -typemap typemap Tk.xs >xstmp.c && mv xstmp.c Tk.c
 Please specify prototyping behavior for Tk.xs (see perlxs manual)
 cc -c -I/include -I/include/tcl8.2 -I/include/tk8.2 -I/include -O -pipe -march=pentiumpro      -DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\" -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE  Tk.c
 Tk.xs:4: tcl.h: No such file or directory
 Tk.xs:5: tk.h: No such file or directory
 Tk.xs:7: syntax error before `*'
 Tk.xs:7: warning: data definition has no type or storage class
 Tk.c: In function `XS_Tcl_CreateMainWindow':
 Tk.c:35: syntax error before `interp'
 Tk.c:39: syntax error before `mainWindow'
 Tk.c:43: `interp' undeclared (first use in this function)
 Tk.c:43: (Each undeclared identifier is reported only once
 Tk.c:43: for each function it appears in.)
 Tk.c:43: syntax error before `tmp'
 Tk.xs:25: `mainWindow' undeclared (first use in this function)
 Tk.xs:30: `True' undeclared (first use in this function)
 Tk.c: In function `XS_Tcl_Tk_Init':
 Tk.c:73: syntax error before `interp'
 Tk.c:77: `interp' undeclared (first use in this function)
 Tk.c:77: syntax error before `tmp'
 Tk.xs:37: `TCL_OK' undeclared (first use in this function)
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/p5-Tcl-Tk/work/TclTk.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/p5-Tcl-Tk.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/p5-Tcl-Tk.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/p5-Tcl-Tk.
 *** Error code 1
 
 Stop in /usr/ports/x11-toolkits/p5-Tcl-Tk.
 
 Script done on Sun Jun 24 18:12:44 2001
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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