ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> expect
expect
[Expect] Trouble installing Expect 5.43 on RHEL5
by Zeal Elite other posts by this author
Dec 4 2008 4:18PM messages near this date
view in the new Beta List Site
[Expect] CDVE2009: 2nd call for paper abstracts, sponsors and reviewers | [Expect] Last 3 days: 1st Workshop LMPCNA in ICNS 2009 | April 21-25, 2009 - Valencia, Spain
Hi,

I have been trying to install Expect 5.43 on RHEL5.  Tcl8.5 is installed already. I tired ./
configure and it worked ok. However when I typre "make" the following errors showed up. Plea
se guide me. Thanks!

gcc -c  -I. -I. -I/home/Desktop/tcl8.5.5/generic   -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/u
sr/local/lib/expect5.43\" -DEXECSCRIPTDIR=\"/usr/local/lib/expect5.43\" -DTCL_DEBUGGER -DUSE
_NON_CONST -DSTTY_BIN=\"/bin/stty\" -pipe  -DDFLT_STTY="\"sane\""  exp_command.c
In file included from /home/Desktop/tcl8.5.5/generic/tclInt.h:3885,
                 from exp_command.c:62:
/home/Desktop/tcl8.5.5/generic/tclPort.h:27:28: error: tclUnixPort.h: No such file or direct
ory
In file included from /home/Desktop/tcl8.5.5/generic/tclInt.h:3887,
                 from exp_command.c:62:
/home/Desktop/tcl8.5.5/generic/tclIntPlatDecls.h:98: error: expected �=�, �,�, �;ï
¿½, �asm� or �__attribute__� before �*� token
/home/Desktop/tcl8.5.5/generic/tclIntPlatDecls.h:113: warning: �struct in_addr� declared
 inside parameter list
/home/Desktop/tcl8.5.5/generic/tclIntPlatDecls.h:113: warning: its scope is only this defini
tion or declaration, which is probably not what you want
/home/Desktop/tcl8.5.5/generic/tclIntPlatDecls.h:388: error: expected specifier-qualifier-li
st before �Tcl_DirEntry�
In file included from exp_command.c:72:
exp_command.h:117: error: expected specifier-qualifier-list before �WAIT_STATUS_TYPE�
exp_command.c: In function �exp_wait_zero�:
exp_command.c:244: error: expected declaration specifiers before �WAIT_STATUS_TYPE�
exp_command.c:248: error: �WAIT_STATUS_TYPE� undeclared (first use in this function)
exp_command.c:248: error: (Each undeclared identifier is reported only once
exp_command.c:248: error: for each function it appears in.)
exp_command.c:249: warning: cast to pointer from integer of different size
exp_command.c: In function �exp_state_prep_for_invalidation�:
exp_command.c:263: error: �ExpState� has no member named �fg_armed�
exp_command.c: In function �expBusy�:
exp_command.c:314: error: �ExpState� has no member named �fdBusy�
exp_command.c: In function �exp_close�:
exp_command.c:345: error: �ExpState� has no member named �leaveopen�
exp_command.c: In function �exp_init_spawn_ids�:
exp_command.c:462: error: �ExpState� has no member named �keepForever�
exp_command.c:465: error: �ExpState� has no member named �keepForever�
exp_command.c:469: error: �ExpState� has no member named �keepForever�
exp_command.c: In function �Exp_SpawnCmd�:
exp_command.c:811: warning: cast from pointer to integer of different size
exp_command.c:817: warning: cast from pointer to integer of different size
exp_command.c:849: error: �ExpState� has no member named �leaveopen�
exp_command.c:856: error: �ExpState� has no member named �wait�
exp_command.c:1234: error: �ExpState� has no member named �wait�
exp_command.c: At top level:
exp_command.c:2465: error: expected specifier-qualifier-list before �WAIT_STATUS_TYPE�
exp_command.c: In function �fork_clear_all�:
exp_command.c:2475: error: �struct forked_proc� has no member named �next�
exp_command.c:2476: error: �struct forked_proc� has no member named �link_status�
exp_command.c:2476: error: �not_in_use� undeclared (first use in this function)
exp_command.c: In function �fork_init�:
exp_command.c:2486: error: �struct forked_proc� has no member named �link_status�
exp_command.c:2486: error: �wait_not_done� undeclared (first use in this function)
exp_command.c: In function �fork_add�:
exp_command.c:2496: error: �struct forked_proc� has no member named �next�
exp_command.c:2497: error: �struct forked_proc� has no member named �link_status�
exp_command.c:2497: error: �not_in_use� undeclared (first use in this function)
exp_command.c:2503: error: �struct forked_proc� has no member named �next�
exp_command.c: In function �Exp_WaitCmd�:
exp_command.c:2577: error: �struct ExpState� has no member named �wait�
exp_command.c:2585: error: �struct ExpState� has no member named �wait�
exp_command.c:2616: error: �struct forked_proc� has no member named �next�
exp_command.c:2617: error: �struct forked_proc� has no member named �link_status�
exp_command.c:2617: error: �not_in_use� undeclared (first use in this function)
exp_command.c:2619: error: �struct forked_proc� has no member named �wait_status�
exp_command.c:2651: error: �struct ExpState� has no member named �wait�
exp_command.c:2651: error: �struct forked_proc� has no member named �wait_status�
exp_command.c:2665: error: �struct ExpState� has no member named �wait�
exp_command.c:2665: error: �struct ExpState� has no member named �wait�
exp_command.c:2666: error: �struct ExpState� has no member named �wait�
exp_command.c:2666: error: �struct ExpState� has no member named �wait�
exp_command.c:2668: error: �struct ExpState� has no member named �wait�
exp_command.c:2668: error: �struct ExpState� has no member named �wait�
exp_command.c:2669: error: �struct ExpState� has no member named �wait�
exp_command.c:2669: error: �struct ExpState� has no member named �wait�
exp_command.c:2670: error: �struct ExpState� has no member named �wait�
exp_command.c:2670: error: �struct ExpState� has no member named �wait�
exp_command.c:2672: error: �struct ExpState� has no member named �wait�
exp_command.c:2672: error: �struct ExpState� has no member named �wait�
exp_command.c:2673: error: �struct ExpState� has no member named �wait�
exp_command.c:2673: error: �struct ExpState� has no member named �wait�
exp_command.c:2678: error: �struct forked_proc� has no member named �link_status�
exp_command.c: In function �Exp_DisconnectCmd�:
exp_command.c:2775: error: �ExpState� has no member named �valid�
exp_command.c:2790: error: �ExpState� has no member named �valid�
exp_command.c: In function �Exp_OpenCmd�:
exp_command.c:3032: warning: cast to pointer from integer of different size
make: *** [exp_command.o] Error 1


~Zeal

_________________________________________________________________
Send e-mail anywhere. No map, no compass.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_anywhere_122008

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved