From owner-freebsd-questions Tue May 21 11:33:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.100.219]) by hub.freebsd.org (Postfix) with ESMTP id 9282E37B477 for ; Tue, 21 May 2002 11:32:30 -0700 (PDT) Received: from dc.cis.okstate.edu (localhost [127.0.0.1]) by dc.cis.okstate.edu (8.11.6/8.11.6) with ESMTP id g4LIWLo33267 for ; Tue, 21 May 2002 13:32:25 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200205211832.g4LIWLo33267@dc.cis.okstate.edu> Reply-To: martin@dc.cis.okstate.edu To: freebsd-questions@freebsd.org Subject: What is the Trick to Building expect-5.32 Date: Tue, 21 May 2002 13:32:21 -0500 From: Martin McCormick Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am attempting to properly install /usr/ports/lang/expect which shows as expect-5.32 in the distinfo. I did the usual make build in the expect directory and the last of the output looks like: /usr/local/include/tk8.3/tkDecls.h:1063: syntax error before `*' /usr/local/include/tk8.3/tkDecls.h:1064: syntax error before `*' /usr/local/include/tk8.3/tkDecls.h:1068: syntax error before `GC' /usr/local/include/tk8.3/tkDecls.h:1070: syntax error before `GC' /usr/local/include/tk8.3/tkDecls.h:1072: syntax error before `Pixmap' /usr/local/include/tk8.3/tkDecls.h:1073: syntax error before `XColor' /usr/local/include/tk8.3/tkDecls.h:1077: syntax error before `Pixmap' ./exp_main_tk.c: In function `Tk_Init2': ./exp_main_tk.c:348: structure has no member named `display' ./exp_main_tk.c:348: `True' undeclared (first use in this function) ./exp_main_tk.c:348: (Each undeclared identifier is reported only once ./exp_main_tk.c:348: for each function it appears in.) *** Error code 1 Stop in /usr/ports/lang/expect/work/expect-5.32. *** Error code 1 Stop in /usr/ports/lang/expect. I then did the following #pkg_info |grep tcl tcl-8.0.5 Tool Command Language tcl-8.2.3_2 Tool Command Language tcl-8.3.4_4 Tool Command Language tcl-8.4a4_1 Tool Command Language Originally, I had tcl-8.3.3_4 with the same problems building expect. I then removed tcl altogether and tried a portinstall of expect to see if it might find its own way to life. No luck. Using portinstall, I installed every version of tcl available. It compiled for a while and then things went quite wrong as is shown in my output. The FreeBSD ports system is one of the most fail-safe systems I have seen and I have installed lots of different ports in the last year, but the expect port seems to outwit me every time. When it does install, I am never quite sure what I did because I think I already tried this or that before, etc. Do I need to make clean every time in the expect directory? Martin McCormick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message