Alle 21:14, venerdì 14 luglio 2006, Randy McMurchy ha scritto:
> Alessandro Alocci wrote these words on 07/14/06 14:01 CST:
> > Hi, the configure for expect is:
> > ./configure --prefix=/usr \
> >             --with-tclinclude=/usr/include \
> >             --enable-shared
> > but it seems that is missing the switch
> > --with-tcl=/usr/lib
> > that was in previous version of the book.
>
> Please, try to install this stuff before writing in (apparently
> you haven't been, because if you did, you would see your suggestions
> do not produce desired results).

But I have tried, however trying again and configuring with:
./configure --prefix=/usr \
            --with-tclinclude=/usr/include \
            --enable-shared
the compilation ends with:

gcc -pipe -c  -I. -I. -I/usr/include  -I/usr/X11R6/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\" -march=pentium4 -mtune=pentium4  
-DDFLT_STTY="\"sane\""  
exp_chan.c
exp_chan.c: In function 'expWaitOnAny':
exp_chan.c:526: warning: passing argument 2 of 'waitpid' from incompatible 
pointer type
if [ "xlibexpect5.43.a" != "xlibexpect5.43.so" ] ; then \
   if [ ! -d shared ] ; then \
        mkdir shared ; \
   else true; fi ; \
   
gcc -pipe -c  -I. -I. -I/usr/include  -I/usr/X11R6/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\" -march=pentium4 -mtune=pentium4  -fPIC 
-DDFLT_STTY="\"sane\""  
exp_chan.c -o shared/exp_chan.o ; \
fi
exp_chan.c: In function 'expWaitOnAny':
exp_chan.c:526: warning: passing argument 2 of 'waitpid' from incompatible 
pointer type
gcc -pipe -c  -I. -I. -I/usr/include  -I/usr/X11R6/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\" -march=pentium4 -mtune=pentium4  
-DDFLT_STTY="\"sane\""  
Dbg.c
Dbg.c:13:22: error: tcldbgcf.h: No such file or directory

wherei if I add also --with-tcl=/usr/lib
I have not other problems.
Alessandro Alocci.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to