Date: Tue, 21 May 2002 12:22:04 -0700 From: Kent Stewart <kstewart@owt.com> To: martin@dc.cis.okstate.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: What is the Trick to Building expect-5.32 Message-ID: <3CEA9E5C.2050108@owt.com> References: <200205211832.g4LIWLo33267@dc.cis.okstate.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CEA9E5C.2050108>