[BLFS Trac] #2005: Expect fails to successfully build (configure line needs change)

BLFS Trac trac at linuxfromscratch.org
Tue May 30 02:23:15 PDT 2006


#2005: Expect fails to successfully build (configure line needs change)
----------------------+-----------------------------------------------------
 Reporter:  tromador  |       Owner:  blfs-book at linuxfromscratch.org
     Type:  defect    |      Status:  new                           
 Priority:  high      |   Milestone:  6.2                           
Component:  BOOK      |     Version:  SVN                           
 Severity:  critical  |    Keywords:                                
----------------------+-----------------------------------------------------
 At configure time:

 checking for Tcl configuration... configure: warning: Can't find Tcl
 configuration definitions
 Dbgconfigure: line 742: #: No such file or directory
 cp: cannot stat `./Dbg19072/tcldbgcf.h': No such file or directory

 and on building:

 gcc -pipe -c  -I. -I. -I/usr/include   -DEXP_VERSION=\"5.43.0\"
 -DSCRIPTDIR=\"/usr/lib/expect5.43\"
 -DEXECSCRIPTDIR=\"/usr/lib/expect5.43\" -DTCL_DEBUGGER -DUSE_NON_CONST
 -DSTTY_BIN=\"/bin/stty\"  -DDFLT_STTY="\"sane\""  Dbg.c
 Dbg.c:13:22: error: tcldbgcf.h: No such file or directory
 make: *** [Dbg.o] Error 1


 SOLUTION:

 Add to --with-tcl=/usr/lib to configure line as in...

 ./configure --prefix=/usr --with-tclinclude=/usr/include --with-
 tcl=/usr/lib --enable-shared

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2005>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list