From owner-freebsd-questions Tue May 21 12:22:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 5544E37B400 for ; Tue, 21 May 2002 12:22:07 -0700 (PDT) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id MAA14460; Tue, 21 May 2002 12:22:04 -0700 Message-ID: <3CEA9E5C.2050108@owt.com> Date: Tue, 21 May 2002 12:22:04 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: martin@dc.cis.okstate.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: What is the Trick to Building expect-5.32 References: <200205211832.g4LIWLo33267@dc.cis.okstate.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Martin McCormick wrote: > 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. It looks like you are dying trying to use information from tk. My system was current with expect's B-deps. They are Port: expect-5.32.1 Path: /usr/ports/lang/expect Info: A sophisticated scripter based on tcl/tk Maint: john@coastalgeology.org Index: lang tcl83 tk83 B-deps: XFree86-libraries-4.2.0_1 freetype2-2.0.9 imake-4.2.0 tcl-8.3.4_4 tk-8.3.4_3 R-deps: XFree86-libraries-4.2.0_1 freetype2-2.0.9 imake-4.2.0 tcl-8.3.4_4 tk-8.3.4_3 I had no problems building and installing expect. I also had recently cvsuped ports-all and ran "portsdb -uU". Kent > > 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 > > . > > -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message