From owner-freebsd-questions@FreeBSD.ORG Sun May 9 05:33:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4302016A4CE for ; Sun, 9 May 2004 05:33:44 -0700 (PDT) Received: from smtp.mailbox.co.uk (smtp.mailbox.net.uk [195.82.125.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDBB043D31 for ; Sun, 9 May 2004 05:33:42 -0700 (PDT) (envelope-from waynep@smtp.penguinpowered.org) Received: from core.penguinpowered.org ([212.18.250.170] helo=smtp.penguinpowered.org) by smtp.mailbox.co.uk with esmtp (Exim 4.30) id 1BMnUz-0001v7-IX for freebsd-questions@freebsd.org; Sun, 09 May 2004 13:33:41 +0100 Received: from waynep by smtp.penguinpowered.org with local (Exim 4.30; FreeBSD) id 1BMnUM-000NeT-Jj for freebsd-questions@freebsd.org; Sun, 09 May 2004 13:33:02 +0100 Date: Sun, 9 May 2004 13:33:02 +0100 From: Wayne Pascoe To: freebsd-questions@freebsd.org Message-ID: <20040509123302.GA89661@marvin.penguinpowered.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-System: FreeBSD i386 with kernel 5.2.1-RELEASE-p3 Sender: Wayne Pascoe Subject: Problems building tk84 port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2004 12:33:44 -0000 Hi all, I'm having problems building /usr/ports/x11-toolkits/tk84. I am trying to build this because I'm trying to build py-bittorrent. After doing a make clean, a make produces the output of configure, and then cc -pipe -c -O -pipe -march=i686 -march=pentiumpro -Wall -Wconversion -Wno-implicit-int -fPIC -I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix -I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../generic -I/usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../bitmaps -I/tmp/a/ports/lang/tcl84/work/tcl8.4.4/generic -I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_WIDE_INT_TYPE=long\ long -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix/../generic/tk3d.c Then the errors start... From lines 71 - 1117 of my output file. Some of the errors are as follows: In file included from In file included from /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tkInt.h:21, from /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.h:18, from /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:16: /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk.h:70:20: tcl.h: No such file or directory It ends with /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning: excess elements in scalar initializer /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning: (near initialization for `tkBorderObjType') /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:55: warning: data definition has no type or storage class /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:83: error: syntax error before "Tcl_Interp" /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:85: error: syntax error before '*' token /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:85: warning: data definition has no type or storage class /usr/ports/x11-toolkits/tk84/work/tk8.4.6/generic/tk3d.c:87: error: syntax error before '{' token *** Error code 1 Stop in /usr/ports/x11-toolkits/tk84/work/tk8.4.6/unix. *** Error code 1 Any ideas on what might be wrong here ? Thanks in advance, -- Wayne Pascoe Doing a linear scan over an associative array is like trying to club someone to death with a loaded Uzi. - Larry Wall