* Cannot build Xconq on Debian Linux @ 2003-12-06 0:04 Lincoln Peters 2003-12-06 4:01 ` Eric McDonald 0 siblings, 1 reply; 9+ messages in thread From: Lincoln Peters @ 2003-12-06 0:04 UTC (permalink / raw) To: Xconq list I have switched my desktop computer from RedHat Linux to Debian Linux. Now, for some reason, I cannot build Xconq. It appears that the ./configure script is able to find my tcl/tk headers, but when I run make, it fails to include them in the path, and so when gcc tries to compile tkmain.c, it throws "No such file or directory" errors when looking for tcl.h and tk.h. And then it gives a massive list of compile errors resulting from being unable to include tcl.h and tk.h. Is this a bug in the build process, or am I doing something wrong? The output from the build process is: # ./configure creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking if C compiler is actually a C++ compiler... no checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking for ar... ar checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for Tcl configuration... found /usr/lib/tcl8.2/tclConfig.sh checking for Tk configuration... found /usr/lib/tk8.2/tkConfig.sh checking for sdl-config... none checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for <sys/time.h>... yes checking for <time.h>... yes checking for struct timeval... yes checking for struct timezone... yes checking for <curses.h>... yes checking for <ncurses.h>... yes checking for gettimeofday... yes updating cache ./config.cache creating ./config.status creating Makefile creating doc/Makefile creating kernel/Makefile creating lib/Makefile creating images/Makefile creating misc/Makefile creating tcltk/Makefile creating test/Makefile creating curses/Makefile creating sdl/Makefile creating missing/Makefile creating missing/snprintf/Makefile creating missing/util/Makefile creating SelFile/Makefile creating x11/Makefile # make make[1]: Entering directory `/home/lincoln/Projects/xconq/xconq/tcltk' gcc -c -g -O2 -DUNIX -I. -I./.. -I./../kernel -I./../missing -I/usr/X11R6/include tkmain.c In file included from tkmain.c:11: tkconq.h:21:17: tcl.h: No such file or directory tkconq.h:22:16: tk.h: No such file or directory In file included from tkconq.h:33, from tkmain.c:11: tkimf.h:14: error: parse error before "Tk_Window" tkimf.h:14: warning: no semicolon at end of struct or union tkimf.h:15: warning: data definition has no type or storage class tkimf.h:19: error: parse error before "Pixmap" tkimf.h:19: warning: no semicolon at end of struct or union tkimf.h:20: warning: data definition has no type or storage class tkimf.h:21: error: parse error before "mask" tkimf.h:21: warning: data definition has no type or storage class tkimf.h:22: error: parse error before '*' token tkimf.h:22: warning: data definition has no type or storage class tkimf.h:23: error: parse error before '*' token tkimf.h:23: warning: data definition has no type or storage class tkimf.h:24: error: parse error before '}' token tkimf.h:24: warning: data definition has no type or storage class tkimf.h:41: error: parse error before '*' token tkimf.h:41: warning: data definition has no type or storage class tkimf.h:42: error: parse error before '*' token tkimf.h:42: warning: data definition has no type or storage class In file included from tkmain.c:11: tkconq.h:112: error: parse error before "Display" tkconq.h:112: warning: no semicolon at end of struct or union tkconq.h:123: error: parse error before '*' token tkconq.h:123: warning: data definition has no type or storage class tkconq.h:124: error: parse error before '*' token tkconq.h:124: warning: data definition has no type or storage class tkconq.h:125: error: parse error before '*' token tkconq.h:125: warning: data definition has no type or storage class tkconq.h:126: error: parse error before '*' token tkconq.h:126: warning: data definition has no type or storage class tkconq.h:127: error: parse error before '*' token tkconq.h:127: warning: data definition has no type or storage class tkconq.h:128: error: parse error before '*' token tkconq.h:128: warning: data definition has no type or storage class tkconq.h:129: error: parse error before '*' token tkconq.h:129: warning: data definition has no type or storage class tkconq.h:130: error: parse error before '*' token tkconq.h:130: warning: data definition has no type or storage class tkconq.h:131: error: parse error before '*' token tkconq.h:131: warning: data definition has no type or storage class tkconq.h:132: error: parse error before '*' token tkconq.h:132: warning: data definition has no type or storage class tkconq.h:133: error: parse error before '*' token tkconq.h:133: warning: data definition has no type or storage class tkconq.h:134: error: parse error before '*' token tkconq.h:134: warning: data definition has no type or storage class tkconq.h:135: error: parse error before '*' token tkconq.h:135: warning: data definition has no type or storage class tkconq.h:136: error: parse error before '*' token tkconq.h:136: warning: data definition has no type or storage class tkconq.h:137: error: parse error before '*' token tkconq.h:137: warning: data definition has no type or storage class tkconq.h:138: error: parse error before '*' token tkconq.h:138: warning: data definition has no type or storage class tkconq.h:139: error: parse error before '*' token tkconq.h:139: warning: data definition has no type or storage class tkconq.h:140: error: parse error before '*' token tkconq.h:140: warning: data definition has no type or storage class tkconq.h:141: error: parse error before '*' token tkconq.h:141: warning: data definition has no type or storage class tkconq.h:142: error: parse error before '*' token tkconq.h:142: warning: data definition has no type or storage class tkconq.h:143: error: parse error before '*' token tkconq.h:143: warning: data definition has no type or storage class tkconq.h:144: error: parse error before '*' token tkconq.h:144: warning: data definition has no type or storage class tkconq.h:145: error: parse error before '*' token tkconq.h:145: warning: data definition has no type or storage class tkconq.h:146: error: parse error before '*' token tkconq.h:146: warning: data definition has no type or storage class tkconq.h:147: error: parse error before '*' token tkconq.h:147: warning: data definition has no type or storage class tkconq.h:148: error: parse error before '*' token tkconq.h:148: warning: data definition has no type or storage class tkconq.h:150: error: parse error before '*' token tkconq.h:150: warning: data definition has no type or storage class tkconq.h:151: error: parse error before '*' token tkconq.h:151: warning: data definition has no type or storage class tkconq.h:199: error: parse error before '*' token tkconq.h:199: warning: data definition has no type or storage class tkconq.h:200: error: parse error before "hexpics" tkconq.h:200: warning: data definition has no type or storage class tkconq.h:201: error: parse error before "hexisopics" tkconq.h:201: warning: data definition has no type or storage class tkconq.h:203: error: parse error before "emblempics" tkconq.h:203: warning: data definition has no type or storage class tkconq.h:204: error: parse error before "emblemmasks" tkconq.h:204: warning: data definition has no type or storage class tkconq.h:214: error: parse error before "grays" tkconq.h:214: warning: data definition has no type or storage class tkconq.h:215: error: parse error before "dots" tkconq.h:215: warning: data definition has no type or storage class tkconq.h:216: error: parse error before "cursors" tkconq.h:216: warning: data definition has no type or storage class tkconq.h:221: error: parse error before '}' token tkconq.h:221: warning: data definition has no type or storage class tkconq.h:276: error: parse error before '*' token tkconq.h:276: warning: data definition has no type or storage class tkmain.c:18: error: parse error before "tmp_root_window" tkmain.c:18: warning: data definition has no type or storage class tkmain.c:31: error: parse error before '*' token tkmain.c:31: warning: data definition has no type or storage class tkmain.c:98: error: parse error before "cldata" tkmain.c:235: error: parse error before "cldata" tkmain.c:239: error: parse error before "Tcl_Interp" tkmain.c: In function `tcl_cmd': tkmain.c:249: error: `ClientData' undeclared (first use in this function) tkmain.c:249: error: (Each undeclared identifier is reported only once tkmain.c:249: error: for each function it appears in.) tkmain.c:249: error: `Tcl_CmdDeleteProc' undeclared (first use in this function) tkmain.c:249: error: parse error before ')' token tkmain.c: In function `initial_ui_init': tkmain.c:258: error: `Tk_Window' undeclared (first use in this function) tkmain.c:258: error: parse error before "tkwin" tkmain.c:262: warning: assignment makes pointer from integer without a cast tkmain.c:264: error: `TCL_ERROR' undeclared (first use in this function) tkmain.c:265: error: request for member `result' in something not a structure or union tkmain.c:269: error: request for member `result' in something not a structure or union tkmain.c:377: error: `tkwin' undeclared (first use in this function) tkmain.c:380: error: `ClientData' undeclared (first use in this function) tkmain.c:380: error: parse error before "tkwin" tkmain.c:383: error: parse error before "tkwin" tkmain.c:401: error: request for member `result' in something not a structure or union tkmain.c:411: error: request for member `result' in something not a structure or union tkmain.c:423: error: request for member `result' in something not a structure or union tkmain.c:434: error: request for member `result' in something not a structure or union tkmain.c:445: error: request for member `result' in something not a structure or union tkmain.c:479: error: parse error before numeric constant tkmain.c: At top level: tkmain.c:483: error: parse error before "cldata" tkmain.c: In function `tk_library_paths': tkmain.c:524: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:528: error: parse error before "cldata" tkmain.c: In function `tk_numgames': tkmain.c:531: error: request for member `result' in something not a structure or union tkmain.c:532: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:536: error: parse error before "cldata" tkmain.c: In function `tk_side_lib_size': tkmain.c:538: error: request for member `result' in something not a structure or union tkmain.c:539: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:543: error: parse error before "cldata" tkmain.c: In function `tk_side_lib_entry': tkmain.c:549: error: `argv' undeclared (first use in this function) tkmain.c:559: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:560: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:564: error: parse error before "cldata" tkmain.c: In function `tk_side_lib_entry_available': tkmain.c:571: error: `argv' undeclared (first use in this function) tkmain.c:584: error: request for member `result' in something not a structure or union tkmain.c:585: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:589: error: parse error before "cldata" tkmain.c: In function `tk_interpret_variants': tkmain.c:593: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:597: error: parse error before "cldata" tkmain.c: In function `tk_set_variant_value': tkmain.c:604: error: `argv' undeclared (first use in this function) tkmain.c:615: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:619: error: parse error before "cldata" tkmain.c: In function `tk_numttypes': tkmain.c:621: error: request for member `result' in something not a structure or union tkmain.c:622: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:626: error: parse error before "cldata" tkmain.c: In function `tk_numutypes': tkmain.c:628: error: request for member `result' in something not a structure or union tkmain.c:629: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:633: error: parse error before "cldata" tkmain.c: In function `tk_nummtypes': tkmain.c:635: error: request for member `result' in something not a structure or union tkmain.c:636: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:640: error: parse error before "cldata" tkmain.c: In function `tk_numatypes': tkmain.c:642: error: request for member `result' in something not a structure or union tkmain.c:643: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:647: error: parse error before "cldata" tkmain.c: In function `tk_numsides': tkmain.c:649: error: request for member `result' in something not a structure or union tkmain.c:650: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:654: error: parse error before "cldata" tkmain.c: In function `tk_maxsides': tkmain.c:656: error: request for member `result' in something not a structure or union tkmain.c:657: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:661: error: parse error before "cldata" tkmain.c: In function `tk_minsides': tkmain.c:663: error: request for member `result' in something not a structure or union tkmain.c:664: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:668: error: parse error before "cldata" tkmain.c: In function `tk_numfeatures': tkmain.c:670: error: request for member `result' in something not a structure or union tkmain.c:671: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:675: error: parse error before "cldata" tkmain.c: In function `tk_numscorekeepers': tkmain.c:677: error: request for member `result' in something not a structure or union tkmain.c:678: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:682: error: parse error before "cldata" tkmain.c: In function `tk_numtreasury': tkmain.c:690: error: request for member `result' in something not a structure or union tkmain.c:691: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:695: error: parse error before "cldata" tkmain.c: In function `tk_curmap_number': tkmain.c:700: error: dereferencing pointer to incomplete type tkmain.c:701: error: dereferencing pointer to incomplete type tkmain.c:706: error: request for member `result' in something not a structure or union tkmain.c:707: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:711: error: parse error before "cldata" tkmain.c: In function `tk_ttype_name': tkmain.c:715: error: `argv' undeclared (first use in this function) tkmain.c:717: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:720: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:724: error: parse error before "cldata" tkmain.c: In function `tk_atype_name': tkmain.c:728: error: `argv' undeclared (first use in this function) tkmain.c:730: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:733: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:737: error: parse error before "cldata" tkmain.c: In function `tk_t_image_name': tkmain.c:742: error: `argv' undeclared (first use in this function) tkmain.c:747: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:750: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:754: error: parse error before "cldata" tkmain.c: In function `tk_utype_name': tkmain.c:758: error: `argv' undeclared (first use in this function) tkmain.c:760: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:763: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:767: error: parse error before "cldata" tkmain.c: In function `tk_u_image_name': tkmain.c:772: error: `argv' undeclared (first use in this function) tkmain.c:777: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:780: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:784: error: parse error before "cldata" tkmain.c: In function `tk_mtype_name': tkmain.c:788: error: `argv' undeclared (first use in this function) tkmain.c:790: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:793: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:797: error: parse error before "cldata" tkmain.c: In function `tk_m_image_name': tkmain.c:802: error: `argv' undeclared (first use in this function) tkmain.c:805: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:808: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:812: error: parse error before "cldata" tkmain.c: In function `tk_side_name': tkmain.c:816: error: `argv' undeclared (first use in this function) tkmain.c:818: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:821: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:825: error: parse error before "cldata" tkmain.c: In function `tk_side_adjective': tkmain.c:829: error: `argv' undeclared (first use in this function) tkmain.c:831: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:834: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:838: error: parse error before "cldata" tkmain.c: In function `tk_side_emblem': tkmain.c:842: error: `argv' undeclared (first use in this function) tkmain.c:844: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:849: error: dereferencing pointer to incomplete type tkmain.c:850: error: dereferencing pointer to incomplete type tkmain.c:857: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:861: error: parse error before "cldata" tkmain.c: In function `tk_short_side_title': tkmain.c:865: error: `argv' undeclared (first use in this function) tkmain.c:868: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:871: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:875: error: parse error before "cldata" tkmain.c: In function `tk_side_ingame': tkmain.c:879: error: `argv' undeclared (first use in this function) tkmain.c:881: error: request for member `result' in something not a structure or union tkmain.c:883: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:884: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:888: error: parse error before "cldata" tkmain.c: In function `tk_simple_player_title': tkmain.c:894: error: `argv' undeclared (first use in this function) tkmain.c:897: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:898: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:902: error: parse error before "cldata" tkmain.c: In function `tk_simple_player_name': tkmain.c:908: error: `argv' undeclared (first use in this function) tkmain.c:911: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:912: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:916: error: parse error before "cldata" tkmain.c: In function `tk_player_advantage': tkmain.c:921: error: `argv' undeclared (first use in this function) tkmain.c:923: error: request for member `result' in something not a structure or union tkmain.c:924: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:928: error: parse error before "cldata" tkmain.c: In function `tk_player_aitypename': tkmain.c:933: error: `argv' undeclared (first use in this function) tkmain.c:936: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:939: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:943: error: parse error before "cldata" tkmain.c: In function `tk_player_displayname': tkmain.c:948: error: `argv' undeclared (first use in this function) tkmain.c:951: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:954: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:958: error: parse error before "cldata" tkmain.c: In function `tk_min_advantage': tkmain.c:963: error: `argv' undeclared (first use in this function) tkmain.c:965: error: request for member `result' in something not a structure or union tkmain.c:966: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:970: error: parse error before "cldata" tkmain.c: In function `tk_max_advantage': tkmain.c:975: error: `argv' undeclared (first use in this function) tkmain.c:977: error: request for member `result' in something not a structure or union tkmain.c:978: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:982: error: parse error before "cldata" tkmain.c: In function `tk_assigned_side': tkmain.c:987: error: `argv' undeclared (first use in this function) tkmain.c:990: error: request for member `result' in something not a structure or union tkmain.c:992: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:994: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:998: error: parse error before "cldata" tkmain.c: In function `tk_assigned_player': tkmain.c:1004: error: `argv' undeclared (first use in this function) tkmain.c:1007: error: request for member `result' in something not a structure or union tkmain.c:1009: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:1011: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1015: error: parse error before "cldata" tkmain.c: In function `tk_can_rename': tkmain.c:1020: error: `argv' undeclared (first use in this function) tkmain.c:1022: error: request for member `result' in something not a structure or union tkmain.c:1023: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1027: error: parse error before "cldata" tkmain.c: In function `tk_adjust_advantage': tkmain.c:1033: error: `argv' undeclared (first use in this function) tkmain.c:1037: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1041: error: parse error before "cldata" tkmain.c: In function `tk_add_side_and_player': tkmain.c:1048: error: request for member `result' in something not a structure or union tkmain.c:1049: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1053: error: parse error before "cldata" tkmain.c: In function `tk_remove_side_and_player': tkmain.c:1058: error: `argv' undeclared (first use in this function) tkmain.c:1061: error: request for member `result' in something not a structure or union tkmain.c:1062: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1066: error: parse error before "cldata" tkmain.c: In function `tk_rename_side_for_player': tkmain.c:1071: error: `argv' undeclared (first use in this function) tkmain.c:1074: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1078: error: parse error before "cldata" tkmain.c: In function `tk_set_ai_for_player': tkmain.c:1085: error: `argv' undeclared (first use in this function) tkmain.c:1093: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1097: error: parse error before "cldata" tkmain.c: In function `tk_exchange_players': tkmain.c:1102: error: `argv' undeclared (first use in this function) tkmain.c:1106: error: request for member `result' in something not a structure or union tkmain.c:1108: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:1110: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1114: error: parse error before "cldata" tkmain.c: In function `tk_set_indepside_options': tkmain.c:1119: error: `argv' undeclared (first use in this function) tkmain.c:1125: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1129: error: parse error before "cldata" tkmain.c: In function `tk_dside': tkmain.c:1131: error: request for member `result' in something not a structure or union tkmain.c:1132: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1136: error: parse error before "cldata" tkmain.c: In function `tk_feature_info': tkmain.c:1141: error: `argv' undeclared (first use in this function) tkmain.c:1144: error: request for member `result' in something not a structure or union tkmain.c:1146: error: request for member `result' in something not a structure or union tkmain.c:1150: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:1151: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1155: error: parse error before "cldata" tkmain.c: In function `tk_feature_desc': tkmain.c:1161: error: `argv' undeclared (first use in this function) tkmain.c:1168: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:1169: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1173: error: parse error before "cldata" tkmain.c: In function `tk_set_feature_info': tkmain.c:1180: error: `argv' undeclared (first use in this function) tkmain.c:1188: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1192: error: parse error before "cldata" tkmain.c: In function `tk_version_string': tkmain.c:1195: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:1196: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1200: error: parse error before "cldata" tkmain.c: In function `tk_copyright_string': tkmain.c:1203: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:1204: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1208: error: parse error before "cldata" tkmain.c: In function `tk_game_info': tkmain.c:1214: error: `argv' undeclared (first use in this function) tkmain.c:1248: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1252: error: parse error before "cldata" tkmain.c: In function `tk_start_new_game': tkmain.c:1257: error: `argv' undeclared (first use in this function) tkmain.c:1264: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1268: error: parse error before "cldata" tkmain.c: In function `tk_start_saved_game': tkmain.c:1273: error: `argv' undeclared (first use in this function) tkmain.c:1280: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1284: error: parse error before "cldata" tkmain.c: In function `tk_start_player_pre_setup_stage': tkmain.c:1288: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1292: error: parse error before "cldata" tkmain.c: In function `tk_start_game_load_stage': tkmain.c:1296: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1300: error: parse error before "cldata" tkmain.c: In function `tk_start_player_setup_stage': tkmain.c:1308: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1312: error: parse error before "cldata" tkmain.c: In function `tk_launch_game': tkmain.c:1315: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1319: error: parse error before "cldata" tkmain.c: In function `tk_try_host_game': tkmain.c:1321: error: `argv' undeclared (first use in this function) tkmain.c:1322: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1326: error: parse error before "cldata" tkmain.c: In function `tk_try_join_game': tkmain.c:1330: error: `argv' undeclared (first use in this function) tkmain.c:1331: error: request for member `result' in something not a structure or union tkmain.c:1332: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1336: error: parse error before "cldata" tkmain.c: In function `tk_send_chat': tkmain.c:1338: error: `argv' undeclared (first use in this function) tkmain.c:1339: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1343: error: parse error before "cldata" tkmain.c: In function `tk_run_game': tkmain.c:1348: error: `argc' undeclared (first use in this function) tkmain.c:1350: error: `TCL_OK' undeclared (first use in this function) tkmain.c:1353: error: `argv' undeclared (first use in this function) tkmain.c:1397: error: request for member `result' in something not a structure or union tkmain.c: At top level: tkmain.c:1402: error: parse error before "cldata" tkmain.c: In function `tk_run_game_idle': tkmain.c:1409: error: `TCL_OK' undeclared (first use in this function) tkmain.c:1412: error: dereferencing pointer to incomplete type tkmain.c: At top level: tkmain.c:1468: error: parse error before "cldata" tkmain.c: In function `tk_animate_selection': tkmain.c:1475: error: dereferencing pointer to incomplete type tkmain.c:1487: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1491: error: parse error before "cldata" tkmain.c: In function `tk_set_unit_type': tkmain.c:1496: error: `argv' undeclared (first use in this function) tkmain.c:1497: error: dereferencing pointer to incomplete type tkmain.c:1503: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1507: error: parse error before "cldata" tkmain.c: In function `tk_mouse_down_cmd': tkmain.c:1512: error: `argv' undeclared (first use in this function) tkmain.c:1513: error: dereferencing pointer to incomplete type tkmain.c:1521: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1525: error: parse error before "cldata" tkmain.c: In function `tk_mouse_up_cmd': tkmain.c:1530: error: `argv' undeclared (first use in this function) tkmain.c:1531: error: dereferencing pointer to incomplete type tkmain.c:1539: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1543: error: parse error before "cldata" tkmain.c: In function `tk_mouse_over_cmd': tkmain.c:1549: error: `argv' undeclared (first use in this function) tkmain.c:1550: error: dereferencing pointer to incomplete type tkmain.c:1558: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1608: error: parse error before "cldata" tkmain.c: In function `tk_world_mouse_down_cmd': tkmain.c:1614: error: `argv' undeclared (first use in this function) tkmain.c:1615: error: dereferencing pointer to incomplete type tkmain.c:1623: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1627: error: parse error before "cldata" tkmain.c: In function `tk_world_mouse_up_cmd': tkmain.c:1633: error: `argv' undeclared (first use in this function) tkmain.c:1634: error: dereferencing pointer to incomplete type tkmain.c:1642: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1646: error: parse error before "cldata" tkmain.c: In function `tk_world_mouse_over_cmd': tkmain.c:1652: error: `argv' undeclared (first use in this function) tkmain.c:1653: error: dereferencing pointer to incomplete type tkmain.c:1659: error: `TCL_OK' undeclared (first use in this function) tkmain.c: In function `draw_unit_info': tkmain.c:1815: error: dereferencing pointer to incomplete type tkmain.c:1816: error: dereferencing pointer to incomplete type tkmain.c: In function `ui_mainloop': tkmain.c:1899: error: `TCL_ALL_EVENTS' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:1906: error: parse error before "cldata" tkmain.c: In function `check_network': tkmain.c:1938: error: `ClientData' undeclared (first use in this function) tkmain.c:1938: error: parse error before numeric constant tkmain.c: In function `update_area_display': tkmain.c:1950: error: dereferencing pointer to incomplete type tkmain.c: In function `update_cell_display': tkmain.c:1968: error: dereferencing pointer to incomplete type tkmain.c: In function `update_unit_display': tkmain.c:2136: error: dereferencing pointer to incomplete type tkmain.c: In function `update_action_result_display': tkmain.c:2167: error: dereferencing pointer to incomplete type tkmain.c: In function `update_turn_display': tkmain.c:2186: error: dereferencing pointer to incomplete type tkmain.c:2198: error: dereferencing pointer to incomplete type tkmain.c:2199: error: dereferencing pointer to incomplete type tkmain.c:2204: error: dereferencing pointer to incomplete type tkmain.c:2209: error: dereferencing pointer to incomplete type tkmain.c: In function `update_action_display': tkmain.c:2231: error: dereferencing pointer to incomplete type tkmain.c: In function `update_fire_at_display': tkmain.c:2254: error: dereferencing pointer to incomplete type tkmain.c: In function `update_fire_into_display': tkmain.c:2269: error: dereferencing pointer to incomplete type tkmain.c: In function `action_point': tkmain.c:2306: error: dereferencing pointer to incomplete type tkmain.c: In function `schedule_movie': tkmain.c:2341: error: dereferencing pointer to incomplete type tkmain.c:2343: error: dereferencing pointer to incomplete type tkmain.c:2343: error: dereferencing pointer to incomplete type tkmain.c:2343: error: dereferencing pointer to incomplete type tkmain.c:2343: error: dereferencing pointer to incomplete type tkmain.c:2343: error: dereferencing pointer to incomplete type tkmain.c:2343: error: dereferencing pointer to incomplete type tkmain.c:2343: error: dereferencing pointer to incomplete type tkmain.c:2343: error: dereferencing pointer to incomplete type tkmain.c:2344: error: dereferencing pointer to incomplete type tkmain.c:2344: error: dereferencing pointer to incomplete type tkmain.c:2363: error: dereferencing pointer to incomplete type tkmain.c:2363: error: dereferencing pointer to incomplete type tkmain.c:2366: error: dereferencing pointer to incomplete type tkmain.c:2366: error: dereferencing pointer to incomplete type tkmain.c:2368: error: dereferencing pointer to incomplete type tkmain.c: In function `play_movies': tkmain.c:2382: error: dereferencing pointer to incomplete type tkmain.c:2385: error: dereferencing pointer to incomplete type tkmain.c:2395: error: dereferencing pointer to incomplete type tkmain.c:2400: error: dereferencing pointer to incomplete type tkmain.c:2404: error: dereferencing pointer to incomplete type tkmain.c:2409: error: dereferencing pointer to incomplete type tkmain.c:2410: error: dereferencing pointer to incomplete type tkmain.c:2411: error: dereferencing pointer to incomplete type tkmain.c:2417: error: dereferencing pointer to incomplete type tkmain.c:2425: error: dereferencing pointer to incomplete type tkmain.c: In function `init_redraws': tkmain.c:2461: error: dereferencing pointer to incomplete type tkmain.c:2478: error: dereferencing pointer to incomplete type tkmain.c: At top level: tkmain.c:2574: error: parse error before "cldata" tkmain.c: In function `tk_save_prefs': tkmain.c:2579: error: `TCL_GLOBAL_ONLY' undeclared (first use in this function) tkmain.c:2579: warning: assignment makes pointer from integer without a cast tkmain.c:2581: warning: assignment makes pointer from integer without a cast tkmain.c:2583: warning: assignment makes pointer from integer without a cast tkmain.c:2585: warning: assignment makes pointer from integer without a cast tkmain.c:2587: warning: assignment makes pointer from integer without a cast tkmain.c:2589: warning: assignment makes pointer from integer without a cast tkmain.c:2591: warning: assignment makes pointer from integer without a cast tkmain.c:2593: warning: assignment makes pointer from integer without a cast tkmain.c:2595: warning: assignment makes pointer from integer without a cast tkmain.c:2597: warning: assignment makes pointer from integer without a cast tkmain.c:2599: warning: assignment makes pointer from integer without a cast tkmain.c:2601: warning: assignment makes pointer from integer without a cast tkmain.c:2603: warning: assignment makes pointer from integer without a cast tkmain.c:2605: warning: assignment makes pointer from integer without a cast tkmain.c:2607: warning: assignment makes pointer from integer without a cast tkmain.c:2609: warning: assignment makes pointer from integer without a cast tkmain.c:2611: warning: assignment makes pointer from integer without a cast tkmain.c:2613: warning: assignment makes pointer from integer without a cast tkmain.c:2615: warning: assignment makes pointer from integer without a cast tkmain.c:2617: warning: assignment makes pointer from integer without a cast tkmain.c:2619: warning: assignment makes pointer from integer without a cast tkmain.c:2621: warning: assignment makes pointer from integer without a cast tkmain.c:2623: warning: assignment makes pointer from integer without a cast tkmain.c:2625: warning: assignment makes pointer from integer without a cast tkmain.c:2627: warning: assignment makes pointer from integer without a cast tkmain.c:2636: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:2883: error: parse error before "cldata" tkmain.c: In function `tk_init_help_list': tkmain.c:2909: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:2913: error: parse error before "cldata" tkmain.c: In function `tk_init_help_menu': tkmain.c:2919: error: `argv' undeclared (first use in this function) tkmain.c:2943: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:2949: error: parse error before "cldata" tkmain.c: In function `tk_help_goto': tkmain.c:2951: error: `argv' undeclared (first use in this function) tkmain.c:3026: error: `TCL_ERROR' undeclared (first use in this function) tkmain.c:3027: error: request for member `result' in something not a structure or union tkmain.c:3031: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3037: error: parse error before "cldata" tkmain.c: In function `tk_interp_key': tkmain.c:3041: error: `Tk_Window' undeclared (first use in this function) tkmain.c:3041: error: parse error before "tkwin" tkmain.c:3045: error: `argv' undeclared (first use in this function) tkmain.c:3046: error: dereferencing pointer to incomplete type tkmain.c:3058: error: `tkwin' undeclared (first use in this function) tkmain.c:3093: error: request for member `result' in something not a structure or union tkmain.c:3094: error: `TCL_OK' undeclared (first use in this function) tkmain.c:3099: error: dereferencing pointer to incomplete type tkmain.c:3100: error: dereferencing pointer to incomplete type tkmain.c:3111: error: request for member `result' in something not a structure or union tkmain.c: At top level: tkmain.c:3116: error: parse error before "cldata" tkmain.c: In function `tk_execute_long_command': tkmain.c:3120: error: `argv' undeclared (first use in this function) tkmain.c:3125: error: dereferencing pointer to incomplete type tkmain.c:3131: error: dereferencing pointer to incomplete type tkmain.c:3138: error: dereferencing pointer to incomplete type tkmain.c:3140: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3144: error: parse error before "cldata" tkmain.c: In function `tk_game_save': tkmain.c:3146: error: `argv' undeclared (first use in this function) tkmain.c:3149: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3153: error: parse error before "cldata" tkmain.c: In function `tk_make_default_player_spec': tkmain.c:3156: error: `argv' undeclared (first use in this function) tkmain.c:3159: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3165: error: parse error before "cldata" tkmain.c: In function `tk_set_design_tool': tkmain.c:3168: error: `argv' undeclared (first use in this function) tkmain.c:3172: error: dereferencing pointer to incomplete type tkmain.c:3174: error: dereferencing pointer to incomplete type tkmain.c:3176: error: dereferencing pointer to incomplete type tkmain.c:3179: error: dereferencing pointer to incomplete type tkmain.c:3182: error: dereferencing pointer to incomplete type tkmain.c:3185: error: dereferencing pointer to incomplete type tkmain.c:3189: error: dereferencing pointer to incomplete type tkmain.c:3191: error: dereferencing pointer to incomplete type tkmain.c:3193: error: dereferencing pointer to incomplete type tkmain.c:3195: error: dereferencing pointer to incomplete type tkmain.c:3197: error: dereferencing pointer to incomplete type tkmain.c:3199: error: dereferencing pointer to incomplete type tkmain.c:3201: error: dereferencing pointer to incomplete type tkmain.c:3203: error: dereferencing pointer to incomplete type tkmain.c:3205: error: dereferencing pointer to incomplete type tkmain.c:3207: error: dereferencing pointer to incomplete type tkmain.c:3210: error: `TCL_OK' undeclared (first use in this function) tkmain.c:3212: error: dereferencing pointer to incomplete type tkmain.c:3213: error: dereferencing pointer to incomplete type tkmain.c: At top level: tkmain.c:3231: error: parse error before "cldata" tkmain.c: In function `tk_set_design_data': tkmain.c:3235: error: `argv' undeclared (first use in this function) tkmain.c:3242: error: `argc' undeclared (first use in this function) tkmain.c:3258: error: dereferencing pointer to incomplete type tkmain.c:3258: error: dereferencing pointer to incomplete type tkmain.c:3258: error: dereferencing pointer to incomplete type tkmain.c:3258: error: dereferencing pointer to incomplete type tkmain.c:3259: error: dereferencing pointer to incomplete type tkmain.c:3261: error: dereferencing pointer to incomplete type tkmain.c:3262: error: dereferencing pointer to incomplete type tkmain.c:3264: error: dereferencing pointer to incomplete type tkmain.c:3267: error: dereferencing pointer to incomplete type tkmain.c:3270: error: dereferencing pointer to incomplete type tkmain.c:3273: error: dereferencing pointer to incomplete type tkmain.c:3277: error: dereferencing pointer to incomplete type tkmain.c:3280: error: dereferencing pointer to incomplete type tkmain.c:3280: error: dereferencing pointer to incomplete type tkmain.c:3280: error: dereferencing pointer to incomplete type tkmain.c:3280: error: dereferencing pointer to incomplete type tkmain.c:3281: error: dereferencing pointer to incomplete type tkmain.c:3283: error: dereferencing pointer to incomplete type tkmain.c:3286: error: dereferencing pointer to incomplete type tkmain.c:3286: error: dereferencing pointer to incomplete type tkmain.c:3286: error: dereferencing pointer to incomplete type tkmain.c:3286: error: dereferencing pointer to incomplete type tkmain.c:3287: error: dereferencing pointer to incomplete type tkmain.c:3289: error: dereferencing pointer to incomplete type tkmain.c:3292: error: dereferencing pointer to incomplete type tkmain.c:3292: error: dereferencing pointer to incomplete type tkmain.c:3292: error: dereferencing pointer to incomplete type tkmain.c:3292: error: dereferencing pointer to incomplete type tkmain.c:3293: error: dereferencing pointer to incomplete type tkmain.c:3295: error: dereferencing pointer to incomplete type tkmain.c:3298: error: dereferencing pointer to incomplete type tkmain.c:3298: error: dereferencing pointer to incomplete type tkmain.c:3298: error: dereferencing pointer to incomplete type tkmain.c:3298: error: dereferencing pointer to incomplete type tkmain.c:3299: error: dereferencing pointer to incomplete type tkmain.c:3301: error: dereferencing pointer to incomplete type tkmain.c:3304: error: dereferencing pointer to incomplete type tkmain.c:3304: error: dereferencing pointer to incomplete type tkmain.c:3304: error: dereferencing pointer to incomplete type tkmain.c:3304: error: dereferencing pointer to incomplete type tkmain.c:3305: error: dereferencing pointer to incomplete type tkmain.c:3307: error: dereferencing pointer to incomplete type tkmain.c:3309: error: dereferencing pointer to incomplete type tkmain.c:3310: error: dereferencing pointer to incomplete type tkmain.c:3312: error: dereferencing pointer to incomplete type tkmain.c:3314: error: dereferencing pointer to incomplete type tkmain.c:3316: error: dereferencing pointer to incomplete type tkmain.c:3318: error: dereferencing pointer to incomplete type tkmain.c:3320: error: dereferencing pointer to incomplete type tkmain.c:3322: error: dereferencing pointer to incomplete type tkmain.c:3324: error: dereferencing pointer to incomplete type tkmain.c:3327: error: dereferencing pointer to incomplete type tkmain.c:3327: error: dereferencing pointer to incomplete type tkmain.c:3327: error: dereferencing pointer to incomplete type tkmain.c:3327: error: dereferencing pointer to incomplete type tkmain.c:3328: error: dereferencing pointer to incomplete type tkmain.c:3330: error: dereferencing pointer to incomplete type tkmain.c:3332: error: dereferencing pointer to incomplete type tkmain.c:3335: error: request for member `result' in something not a structure or union tkmain.c:3336: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3340: error: parse error before "cldata" tkmain.c: In function `tk_create_new_feature': tkmain.c:3351: error: dereferencing pointer to incomplete type tkmain.c:3354: error: request for member `result' in something not a structure or union tkmain.c:3355: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3359: error: parse error before "cldata" tkmain.c: In function `tk_destroy_feature': tkmain.c:3365: error: `argv' undeclared (first use in this function) tkmain.c:3369: error: dereferencing pointer to incomplete type tkmain.c:3372: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3376: error: parse error before "cldata" tkmain.c: In function `tk_designer_fix': tkmain.c:3384: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3388: error: parse error before "cldata" tkmain.c: In function `tk_designer_save': tkmain.c:3399: error: `argv' undeclared (first use in this function) tkmain.c:3452: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3456: error: parse error before "cldata" tkmain.c: In function `tk_numutypes_available': tkmain.c:3466: error: request for member `result' in something not a structure or union tkmain.c:3467: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3471: error: parse error before "cldata" tkmain.c: In function `tk_utype_actual': tkmain.c:3475: error: `argv' undeclared (first use in this function) tkmain.c:3478: error: request for member `result' in something not a structure or union tkmain.c:3479: error: `TCL_OK' undeclared (first use in this function) tkmain.c:3483: error: request for member `result' in something not a structure or union tkmain.c: At top level: tkmain.c:3488: error: parse error before "cldata" tkmain.c: In function `tk_mtype_actual': tkmain.c:3492: error: `argv' undeclared (first use in this function) tkmain.c:3495: error: request for member `result' in something not a structure or union tkmain.c:3496: error: `TCL_OK' undeclared (first use in this function) tkmain.c:3500: error: request for member `result' in something not a structure or union tkmain.c: At top level: tkmain.c:3505: error: parse error before "cldata" tkmain.c: In function `tk_map_size_at_power': tkmain.c:3509: error: `argv' undeclared (first use in this function) tkmain.c:3510: error: request for member `result' in something not a structure or union tkmain.c:3511: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3515: error: parse error before "cldata" tkmain.c: In function `tk_center_on_unit': tkmain.c:3523: error: `argv' undeclared (first use in this function) tkmain.c:3524: error: dereferencing pointer to incomplete type tkmain.c:3530: error: dereferencing pointer to incomplete type tkmain.c:3535: error: request for member `result' in something not a structure or union tkmain.c:3536: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3540: error: parse error before "cldata" tkmain.c: In function `tk_available_advance': tkmain.c:3545: error: `argv' undeclared (first use in this function) tkmain.c:3550: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:3551: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3562: error: parse error before "cldata" tkmain.c: In function `tk_advance_needed_to_research': tkmain.c:3567: error: `argv' undeclared (first use in this function) tkmain.c:3572: error: request for member `result' in something not a structure or union tkmain.c:3573: error: `TCL_OK' undeclared (first use in this function) tkmain.c:3576: error: request for member `result' in something not a structure or union tkmain.c: At top level: tkmain.c:3582: error: parse error before "cldata" tkmain.c: In function `tk_current_advance': tkmain.c:3587: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:3588: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3596: error: parse error before "cldata" tkmain.c: In function `tk_set_research_popped_up': tkmain.c:3599: error: `argv' undeclared (first use in this function) tkmain.c:3600: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3604: error: parse error before "cldata" tkmain.c: In function `tk_set_side_research': tkmain.c:3609: error: `argv' undeclared (first use in this function) tkmain.c:3612: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3651: error: parse error before "cldata" tkmain.c: In function `tk_get_scores': tkmain.c:3653: error: `TCL_VOLATILE' undeclared (first use in this function) tkmain.c:3654: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3658: error: parse error before "cldata" tkmain.c: In function `tk_reset_popup_flag': tkmain.c:3662: error: `TCL_OK' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:3666: error: parse error before "cldata" tkmain.c: In function `tk_exit_xconq': tkmain.c:3669: error: `TCL_OK' undeclared (first use in this function) tkmain.c: In function `place_legends': tkmain.c:3681: error: dereferencing pointer to incomplete type tkmain.c:3682: error: dereferencing pointer to incomplete type tkmain.c:3683: error: dereferencing pointer to incomplete type tkmain.c: In function `eval_tcl_cmd': tkmain.c:3701: error: `TCL_ERROR' undeclared (first use in this function) tkmain.c:3702: error: request for member `result' in something not a structure or union tkmain.c: In function `create_map': tkmain.c:3847: error: dereferencing pointer to incomplete type tkmain.c:3848: error: dereferencing pointer to incomplete type tkmain.c:3850: error: dereferencing pointer to incomplete type tkmain.c: At top level: tkmain.c:4482: error: parse error before "cldata" tkmain.c: In function `tk_withdraw_window': tkmain.c:4484: error: `argc' undeclared (first use in this function) tkmain.c:4486: error: `TCL_ERROR' undeclared (first use in this function) tkmain.c:4488: error: `argv' undeclared (first use in this function) tkmain.c: At top level: tkmain.c:4497: error: parse error before "Tcl_Interp" tkmain.c: In function `withdraw_window': tkmain.c:4499: error: `Tk_Window' undeclared (first use in this function) tkmain.c:4499: error: parse error before "tkwin" tkmain.c:4501: error: `Window' undeclared (first use in this function) tkmain.c:4504: error: `tkwin' undeclared (first use in this function) tkmain.c:4504: error: `windowpath' undeclared (first use in this function) tkmain.c:4513: error: `xid' undeclared (first use in this function) tkmain.c:4523: error: `TCL_OK' undeclared (first use in this function) make[1]: *** [tkmain.o] Error 1 make[1]: Leaving directory `/home/lincoln/Projects/xconq/xconq/tcltk' make: *** [all-tcltk] Error 2 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cannot build Xconq on Debian Linux 2003-12-06 0:04 Cannot build Xconq on Debian Linux Lincoln Peters @ 2003-12-06 4:01 ` Eric McDonald 2003-12-06 4:55 ` Lincoln Peters 0 siblings, 1 reply; 9+ messages in thread From: Eric McDonald @ 2003-12-06 4:01 UTC (permalink / raw) To: Lincoln Peters; +Cc: Xconq list Hi Lincoln, Sorry for the late response. I have been busting tail at work all week, since I have to present at a conference next week. Can you send me your tclConfig.sh and tkConfig.sh files? I had to add some tests to aclocal.m4 to handle Peter's Debian, but it sounds like yours may have even another interesting twist. These two files are the most important debugging tools I have wrt to tkconq build problems.... Or if you want to investigate the problem yourself, you could look for the presence of the TCL_INCLUDE_SPEC or TCL_INC_DIR variables. And if neither exists or both are blank, then try to locate which variables provide some "-I" include flags or which provide paths to the includes directories from which the "-I" flags can be synthesized. Thanks, Eric P.S. My turnaround time may be even poorer next week. I don't know whether there are any good Internet cafes in San Francisco, and I won't have a laptop with me.... ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cannot build Xconq on Debian Linux 2003-12-06 4:01 ` Eric McDonald @ 2003-12-06 4:55 ` Lincoln Peters 2003-12-06 5:34 ` Eric McDonald 0 siblings, 1 reply; 9+ messages in thread From: Lincoln Peters @ 2003-12-06 4:55 UTC (permalink / raw) To: Eric McDonald; +Cc: Xconq list On Fri, 2003-12-05 at 17:16, Eric McDonald wrote: > Or if you want to investigate the problem yourself, you could > look for the presence of the TCL_INCLUDE_SPEC or TCL_INC_DIR > variables. And if neither exists or both are blank, then try to > locate which variables provide some "-I" include flags or which > provide paths to the includes directories from which the "-I" > flags can be synthesized. I was able to make it work by making the following changes to tcltk/Makefile: 89,90c89,90 < TCL_CFLAGS = < TK_CFLAGS = # --- > TCL_CFLAGS = -I/usr/include/tcl8.2 > TK_CFLAGS = -I/usr/include/tk8.2 I also had to make the following change to x11/Makefile: 50c50,51 < XAW_LIB = -lXaw -lXt $(X11_LIB) -lXext -lm --- > # XAW_LIB = -lXaw -lXt $(X11_LIB) -lXext -lm > XAW_LIB = -lXt $(X11_LIB) -lXext -lm This, of course, may not work on non-Debian systems. > P.S. My turnaround time may be even poorer next week. I don't know > whether there are any good Internet cafes in San Francisco, and I > won't have a laptop with me.... I live about 50 miles north of San Francisco. I know that Internet cafes do exist there, but I have not seen many that are easily accessible without a laptop. You could try the Zephyr Cafe (at 3643 Balboa Street, near 38th Avenue); I seem to remember that they offer wireless Internet access to anyone who spends at least $5 there, but they only have one computer available for customers without laptops. They don't offer non-wireless (Ethernet) Internet for laptop users either. I don't often need Internet access when I'm in San Francisco, so I don't know what other Internet cafes exist there. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cannot build Xconq on Debian Linux 2003-12-06 4:55 ` Lincoln Peters @ 2003-12-06 5:34 ` Eric McDonald 2003-12-06 16:24 ` Lincoln Peters 0 siblings, 1 reply; 9+ messages in thread From: Eric McDonald @ 2003-12-06 5:34 UTC (permalink / raw) To: Lincoln Peters; +Cc: Xconq list On Fri, 5 Dec 2003, Lincoln Peters wrote: > > TCL_CFLAGS = -I/usr/include/tcl8.2 > > TK_CFLAGS = -I/usr/include/tk8.2 Sure. But these should have been picked up from your tclConfig.sh and tkConfig.sh files. Since they weren't, I would be quite interested to see where your particular Debian version hides them in these files. > 50c50,51 > < XAW_LIB = -lXaw -lXt $(X11_LIB) -lXext -lm > --- > > # XAW_LIB = -lXaw -lXt $(X11_LIB) -lXext -lm > > XAW_LIB = -lXt $(X11_LIB) -lXext -lm Hmm... Probably this would break the xtconq build. But for the purposes of building x2imf and imf2x this is fine, since they don't rely on MIT's Athena widgets, AFAIK. > This, of course, may not work on non-Debian systems. Yeah, and hacking an autogenerated makefile by hand is not really a fix, _in the configury sense of the word. I would like to get my hands on your tclConfig.sh and tkConfig.sh files, so that we can autogenerate the correct thing. > accessible without a laptop. You could try the Zephyr Cafe (at 3643 > Balboa Street, near 38th Avenue); I seem to remember that they offer Thanks. I'll keep it in mind. I'll have to look at my maps to see if it is within walking distance of either the Moscone Center or the hotel where I am staying.... Eric ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cannot build Xconq on Debian Linux 2003-12-06 5:34 ` Eric McDonald @ 2003-12-06 16:24 ` Lincoln Peters 2003-12-06 22:34 ` Tom Low-Shang 0 siblings, 1 reply; 9+ messages in thread From: Lincoln Peters @ 2003-12-06 16:24 UTC (permalink / raw) To: Eric McDonald; +Cc: Xconq list [-- Attachment #1: Type: text/plain, Size: 912 bytes --] On Fri, 2003-12-05 at 20:54, Eric McDonald wrote: > On Fri, 5 Dec 2003, Lincoln Peters wrote: > > > > TCL_CFLAGS = -I/usr/include/tcl8.2 > > > TK_CFLAGS = -I/usr/include/tk8.2 > > Sure. But these should have been picked up from your tclConfig.sh > and tkConfig.sh files. Since they weren't, I would be quite > interested to see where your particular Debian version hides them > in these files. On Debian unstable, the files tclConfig.sh and tkConfig.sh in /usr/lib/tcl8.2 and /usr/lib/tk8.2 respectively. > > This, of course, may not work on non-Debian systems. > > Yeah, and hacking an autogenerated makefile by hand is not really > a fix, _in the configury sense of the word. I would like to get my > hands on your tclConfig.sh and tkConfig.sh files, so that we can > autogenerate the correct thing. I've attached them to this e-mail (they aren't very big). Lincoln Peters <sampln@sbcglobal.net> [-- Attachment #2: tclConfig.sh --] [-- Type: text/x-sh, Size: 7235 bytes --] # tclConfig.sh -- # # This shell script (for sh) is generated automatically by Tcl's # configure script. It will create shell variables for most of # the configuration options discovered by the configure script. # This script is intended to be included by the configure scripts # for Tcl extensions so that they don't have to figure this all # out for themselves. # # The information in this file is specific to a single platform. # # RCS: @(#) $Id: tclConfig.sh.in,v 1.13 1999/07/29 19:21:32 wart Exp $ # Tcl's version number. TCL_VERSION='8.2' TCL_MAJOR_VERSION='8' TCL_MINOR_VERSION='2' TCL_PATCH_LEVEL='.3' # C compiler to use for compilation. TCL_CC='cc' # C++ compiler to use for compilation. TCL_CXX='@CXX@' # C flags to use for compilation. TCL_CFLAGS='${CFLAGS_OPTIMIZE}' # C++ flags to use for compilation. TCL_CXXFLAGS='' # -D flags for use with the C compiler. TCL_DEFS=' -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNEED_MATHERR=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 ' # If TCL was built with debugging symbols, generated libraries contain # this string at the end of the library name (before the extension). TCL_DBGX= # Default flags used in an optimized and debuggable build, respectively. TCL_CFLAGS_DEBUG='-g' TCL_CFLAGS_OPTIMIZE='-O2 -D__NO_STRING_INLINES -D__NO_MATH_INLINES' # Default linker flags used in an optimized and debuggable build, respectively. TCL_LDFLAGS_DEBUG='@LDFLAGS_DEBUG@' TCL_LDFLAGS_OPTIMIZE='@LDFLAGS_OPTIMIZE@' # Flag, 1: we built a shared lib, 0 we didn't TCL_SHARED_BUILD=1 # The name of the Tcl library (may be either a .a file or a shared library): TCL_LIB_FILE='libtcl8.2${TCL_DBGX}.so.1' # Flag to indicate whether shared libraries need export files. TCL_NEEDS_EXP_FILE=0 # String that can be evaluated to generate the part of the export file # name that comes after the "libxxx" (includes version number, if any, # extension, and anything else needed). May depend on the variables # VERSION. On most UNIX systems this is ${VERSION}.exp. TCL_EXPORT_FILE_SUFFIX='' # Flag to indicate whether shared libraries need export files. TCL_NEEDS_EXP_FILE=0 # String that can be evaluated to generate the part of the export file # name that comes after the "libxxx" (includes version number, if any, # extension, and anything else needed). May depend on the variables # VERSION. On most UNIX systems this is ${VERSION}.exp. TCL_EXPORT_FILE_SUFFIX='' # Additional libraries to use when linking Tcl. TCL_LIBS='-ldl -lieee -lm' # Top-level directory in which Tcl's platform-independent files are # installed. TCL_PREFIX='/usr' # Top-level directory in which Tcl's platform-specific files (e.g. # executables) are installed. TCL_EXEC_PREFIX='/usr' # Flags to pass to cc when compiling the components of a shared library: TCL_SHLIB_CFLAGS='-fPIC' # Flags to pass to cc when compiling the components of a shared library: TCL_SHLIB_CXXFLAGS='@SHLIB_CXXFLAGS@' # Flags to pass to cc to get warning messages TCL_CFLAGS_WARNING='' # Extra flags to pass to cc: TCL_EXTRA_CFLAGS='' # Base command to use for combining object files into a shared library: TCL_SHLIB_LD='cc -shared' # Base command to use for combining object files into a shared library: TCL_STLIB_LD='ar cr' # Either '$LIBS' (if dependent libraries should be included when linking # shared libraries) or an empty string. See Tcl's configure.in for more # explanation. TCL_SHLIB_LD_LIBS='${LIBS}' # Suffix to use for the name of a shared library. TCL_SHLIB_SUFFIX='.so' # Library file(s) to include in tclsh and other base applications # in order to provide facilities needed by DLOBJ above. TCL_DL_LIBS='-ldl' # Flags to pass to the compiler when linking object files into # an executable tclsh or tcltest binary. TCL_LD_FLAGS='-rdynamic' # Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the # run-time dynamic linker where to look for shared libraries such as # libtcl.so. Used when linking applications. Only works if there # is a variable "LIB_RUNTIME_DIR" defined in the Makefile. TCL_LD_SEARCH_FLAGS='' # Additional object files linked with Tcl to provide compatibility # with standard facilities from ANSI C or POSIX. TCL_COMPAT_OBJS='' # Name of the ranlib program to use. TCL_RANLIB=':' # -l flag to pass to the linker to pick up the Tcl library TCL_LIB_FLAG='-ltcl8.2${TCL_DBGX}' # String to pass to linker to pick up the Tcl library from its # build directory. TCL_BUILD_LIB_SPEC='-L/usr/lib -ltcl8.2${TCL_DBGX}' # String to pass to linker to pick up the Tcl library from its # installed directory. TCL_LIB_SPEC='-L/usr/lib -ltcl8.2${TCL_DBGX}' # Indicates whether a version numbers should be used in -l switches # ("ok" means it's safe to use switches like -ltcl7.5; "nodots" means # use switches like -ltcl75). SunOS and FreeBSD require "nodots", for # example. TCL_LIB_VERSIONS_OK='ok' # String that can be evaluated to generate the part of a shared library # name that comes after the "libxxx" (includes version number, if any, # extension, and anything else needed). May depend on the variables # VERSION and SHLIB_SUFFIX. On most UNIX systems this is # ${VERSION}${SHLIB_SUFFIX}. TCL_SHARED_LIB_SUFFIX='${VERSION}${DBGX}.so.1' # String that can be evaluated to generate the part of an unshared library # name that comes after the "libxxx" (includes version number, if any, # extension, and anything else needed). May depend on the variable # VERSION. On most UNIX systems this is ${VERSION}.a. TCL_UNSHARED_LIB_SUFFIX='${VERSION}${DBGX}.a' # Location of the top-level source directory from which Tcl was built. # This is the directory that contains a README file as well as # subdirectories such as generic, unix, etc. If Tcl was compiled in a # different place than the directory containing the source files, this # points to the location of the sources, not the location where Tcl was # compiled. TCL_SRC_DIR='/usr/include/tcl8.2/tcl-private' # List of standard directories in which to look for packages during # "package require" commands. Contains the "prefix" directory plus also # the "exec_prefix" directory, if it is different. TCL_PACKAGE_PATH='/usr/local/lib /usr/lib' # Tcl supports stub. TCL_SUPPORTS_STUBS=1 # The name of the Tcl stub library (.a): TCL_STUB_LIB_FILE='libtclstub8.2${TCL_DBGX}.a' # -l flag to pass to the linker to pick up the Tcl stub library TCL_STUB_LIB_FLAG='-ltclstub8.2${TCL_DBGX}' # String to pass to linker to pick up the Tcl stub library from its # build directory. TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.2${TCL_DBGX}' # String to pass to linker to pick up the Tcl stub library from its # installed directory. TCL_STUB_LIB_SPEC='-L/usr/lib -ltclstub8.2${TCL_DBGX}' # Path to the Tcl stub library in the build directory. TCL_BUILD_STUB_LIB_PATH='/usr/lib/libtclstub8.2${TCL_DBGX}.a' # Path to the Tcl stub library in the install directory. TCL_STUB_LIB_PATH='/usr/lib/libtclstub8.2${TCL_DBGX}.a' [-- Attachment #3: tkConfig.sh --] [-- Type: text/x-sh, Size: 3182 bytes --] # tkConfig.sh -- # # This shell script (for sh) is generated automatically by Tk's # configure script. It will create shell variables for most of # the configuration options discovered by the configure script. # This script is intended to be included by the configure scripts # for Tk extensions so that they don't have to figure this all # out for themselves. This file does not duplicate information # already provided by tclConfig.sh, so you may need to use that # file in addition to this one. # # The information in this file is specific to a single platform. # # RCS: @(#) $Id: tkConfig.sh.in,v 1.7 1999/03/10 07:04:45 stanton Exp $ # Tk's version number. TK_VERSION='8.2' TK_MAJOR_VERSION='8' TK_MINOR_VERSION='2' TK_PATCH_LEVEL='.3' # -D flags for use with the C compiler. TK_DEFS=' -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DNO_XIDPROC -DI18N_IMPROVE' # Flag, 1: we built a shared lib, 0 we didn't TK_SHARED_BUILD=1 # This indicates if Tk was build with debugging symbols TK_DBGX= # The name of the Tk library (may be either a .a file or a shared library): TK_LIB_FILE='libtk8.2.so.1' # Additional libraries to use when linking Tk. TK_LIBS='-L/usr/X11R6/lib -lX11 -ldl -lm' # Top-level directory in which Tcl's platform-independent files are # installed. TK_PREFIX='/usr' # Top-level directory in which Tcl's platform-specific files (e.g. # executables) are installed. TK_EXEC_PREFIX='/usr' # -I switch(es) to use to make all of the X11 include files accessible: TK_XINCLUDES='-I/usr/X11R6/include' # Linker switch(es) to use to link with the X11 library archive. TK_XLIBSW='-L/usr/X11R6/lib -lX11' # -l flag to pass to the linker to pick up the Tcl library TK_LIB_FLAG='-ltk8.2' # String to pass to linker to pick up the Tk library from its # build directory. TK_BUILD_LIB_SPEC='-L/usr/lib -ltk8.2' # String to pass to linker to pick up the Tk library from its # installed directory. TK_LIB_SPEC='-L/usr/lib -ltk8.2' # Location of the top-level source directory from which Tk was built. # This is the directory that contains a README file as well as # subdirectories such as generic, unix, etc. If Tk was compiled in a # different place than the directory containing the source files, this # points to the location of the sources, not the location where Tk was # compiled. TK_SRC_DIR='/usr/include/tcl8.2/tk-private' # Needed if you want to make a 'fat' shared library library # containing tk objects or link a different wish. TK_CC_SEARCH_FLAGS='' TK_LD_SEARCH_FLAGS='' # The name of the Tk stub library (.a): TK_STUB_LIB_FILE='libtkstub8.2.a' # -l flag to pass to the linker to pick up the Tk stub library TK_STUB_LIB_FLAG='-ltkstub8.2' # String to pass to linker to pick up the Tk stub library from its # build directory. TK_BUILD_STUB_LIB_SPEC='-L/usr/lib -ltkstub8.2' # String to pass to linker to pick up the Tk stub library from its # installed directory. TK_STUB_LIB_SPEC='-L/usr/lib -ltkstub8.2' # Path to the Tk stub library in the build directory. TK_BUILD_STUB_LIB_PATH='/usr/lib/libtkstub8.2.a' # Path to the Tk stub library in the install directory. TK_STUB_LIB_PATH='/usr/lib/libtkstub8.2.a' ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cannot build Xconq on Debian Linux 2003-12-06 16:24 ` Lincoln Peters @ 2003-12-06 22:34 ` Tom Low-Shang 2003-12-07 0:16 ` Eric McDonald 0 siblings, 1 reply; 9+ messages in thread From: Tom Low-Shang @ 2003-12-06 22:34 UTC (permalink / raw) To: Xconq list On Fri, Dec 05, 2003 at 09:35:58PM -0800, Lincoln Peters wrote: > > On Debian unstable, the files tclConfig.sh and tkConfig.sh in > /usr/lib/tcl8.2 and /usr/lib/tk8.2 respectively. Since I have used tcl/tk 8.2, 8.3 and 8.4 on debian unstable, here is what worked for me. With 8.2 I always used: ./configure --with-tclconfig=/usr/lib/tcl8.2 --with-tkconfig=/usr/lib/tk8.2 make CFLAGS=-I/usr/include/8.2 8.3 had similar requirements. Since 8.4, the arguments are no longer needed. Whether this is due to changes in tclConfig.sh/tkConfig.sh or the configure script, I cannot say. All three versions of tcl/tk are available in debian unstable, so it is easy to switch between them if you need to test each one. Tom ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cannot build Xconq on Debian Linux 2003-12-06 22:34 ` Tom Low-Shang @ 2003-12-07 0:16 ` Eric McDonald 2003-12-07 1:07 ` Tom Low-Shang 0 siblings, 1 reply; 9+ messages in thread From: Eric McDonald @ 2003-12-07 0:16 UTC (permalink / raw) To: Tom Low-Shang; +Cc: Xconq list Hi Tom, Lincoln, I just checked in some changes which might address your Tcl/Tk configuration hassles. Please let me know how they work. On Sat, 6 Dec 2003, Tom Low-Shang wrote: > On Fri, Dec 05, 2003 at 09:35:58PM -0800, Lincoln Peters wrote: > > > > On Debian unstable, the files tclConfig.sh and tkConfig.sh in > > /usr/lib/tcl8.2 and /usr/lib/tk8.2 respectively. Right. And the configuration logic correctly finds those. What it does (or doesn't do, to put it more accurately) with the contents of these is/was the problem. > Since I have used tcl/tk 8.2, 8.3 and 8.4 on debian unstable, > here is what worked for me. With 8.2 I always used: > > make CFLAGS=-I/usr/include/8.2 Do you mean "-I/usr/include/tcl8.2"? I hope so. Otherwise things just got even more convoluted. > 8.3 had similar requirements. Since 8.4, the arguments are no > longer needed. Whether this is due to changes in > tclConfig.sh/tkConfig.sh or the configure script, I cannot say. Well if your 8.4 tclConfig.sh/tkConfig.sh files contain 'TCL_INC_DIR' and 'TK_INC_DIR', repsectively, then this was handled by an enhancement to the configure system. If tclConfig.sh contains a 'TCL_INCLUDE_SPEC' var, then Debian finally decided to do something more mainstream.... Thanks, Eric ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cannot build Xconq on Debian Linux 2003-12-07 0:16 ` Eric McDonald @ 2003-12-07 1:07 ` Tom Low-Shang 2003-12-07 6:47 ` Eric McDonald 0 siblings, 1 reply; 9+ messages in thread From: Tom Low-Shang @ 2003-12-07 1:07 UTC (permalink / raw) To: Xconq list On Sat, Dec 06, 2003 at 12:39:21PM -0500, Eric McDonald wrote: > Hi Tom, Lincoln, > > I just checked in some changes which might address your Tcl/Tk > configuration hassles. Please let me know how they work. I tried your change with tcl/tk 8.4 and eveything still works for me. I got curious about how you do this magic and noticed a small error: --- configure 6 Dec 2003 17:28:08 -0000 1.33 +++ configure 6 Dec 2003 19:23:45 -0000 @@ -1337,7 +1337,7 @@ TCL_INCLUDE_SPEC="-I${TCL_PREFIX}/include/tcl${TCL_VERSION}" fi fi - TCL_INLCUDE_SPEC=`echo ${TCL_INCLUDE_SPEC} | grep -v '/usr/include$'` + TCL_INCLUDE_SPEC=`echo ${TCL_INCLUDE_SPEC} | grep -v '/usr/include$'` if test "x${TCL_LDFLAGS}" = "x" ; then > > Do you mean "-I/usr/include/tcl8.2"? > I hope so. Otherwise things just got even more convoluted. Oops, sorry, yes that is what I meant. > > Well if your 8.4 tclConfig.sh/tkConfig.sh files contain > 'TCL_INC_DIR' and 'TK_INC_DIR', repsectively, then this was > handled by an enhancement to the configure system. If > tclConfig.sh contains a 'TCL_INCLUDE_SPEC' var, then Debian > finally do something more mainstream.... $ grep TCL_INCLUDE_SPEC /usr/lib/tcl8.4/tclConfig.sh TCL_INCLUDE_SPEC='-I/usr/include/tcl8.4' $ grep TCL_INC_DIR /usr/lib/tcl8.4/tclConfig.sh TCL_INC_DIR='/usr/include/tcl8.4/tcl-private/generic' $ grep TK_INC_DIR /usr/lib/tk8.4/tkConfig.sh TK_INC_DIR='/usr/include/tcl8.4/tk-private/generic' I believe Debian is the only distribution that allows multiple versions of tcl/tk development packages to be installed, which possibly broke tcl/tk in a subtle way. Keeps things interesting for configure script writers... Tom ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Cannot build Xconq on Debian Linux 2003-12-07 1:07 ` Tom Low-Shang @ 2003-12-07 6:47 ` Eric McDonald 0 siblings, 0 replies; 9+ messages in thread From: Eric McDonald @ 2003-12-07 6:47 UTC (permalink / raw) To: Tom Low-Shang; +Cc: Xconq list On Sat, 6 Dec 2003, Tom Low-Shang wrote: > small error: Thanks for the correction. > $ grep TCL_INCLUDE_SPEC /usr/lib/tcl8.4/tclConfig.sh > TCL_INCLUDE_SPEC='-I/usr/include/tcl8.4' Ah ha. It is reasonable. Good. > $ grep TCL_INC_DIR /usr/lib/tcl8.4/tclConfig.sh > TCL_INC_DIR='/usr/include/tcl8.4/tcl-private/generic' > $ grep TK_INC_DIR /usr/lib/tk8.4/tkConfig.sh > TK_INC_DIR='/usr/include/tcl8.4/tk-private/generic' > > possibly broke tcl/tk in a subtle way. Keeps things interesting > for configure script writers... Yes, indeed. :-) Regards, Eric ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-12-07 1:07 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-12-06 0:04 Cannot build Xconq on Debian Linux Lincoln Peters 2003-12-06 4:01 ` Eric McDonald 2003-12-06 4:55 ` Lincoln Peters 2003-12-06 5:34 ` Eric McDonald 2003-12-06 16:24 ` Lincoln Peters 2003-12-06 22:34 ` Tom Low-Shang 2003-12-07 0:16 ` Eric McDonald 2003-12-07 1:07 ` Tom Low-Shang 2003-12-07 6:47 ` Eric McDonald
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).