Date: Tue, 21 May 2002 13:32:21 -0500 From: Martin McCormick <martin@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Subject: What is the Trick to Building expect-5.32 Message-ID: <200205211832.g4LIWLo33267@dc.cis.okstate.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205211832.g4LIWLo33267>