Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!astemgw!icspub!creamy!iegva1!mew_hp!saturn!srl!moore From: moore@srl.mew.mei.co.jp (W. Phillip Moore) Newsgroups: comp.windows.x Subject: Re: X11R4 tape-2 clients help... Message-ID: Date: 5 Sep 90 00:21:41 GMT References: <9009032103.AA20616@tacky.cs.olemiss.edu> Sender: news@saturn.srl.mew.mei.co.jp Organization: Semiconductor Research Lab, Matsushita Electric Works Lines: 41 In-reply-to: dave@TACKY.CS.OLEMISS.EDU's message of 3 Sep 90 21:03:54 GMT In article <9009032103.AA20616@tacky.cs.olemiss.edu> dave@TACKY.CS.OLEMISS.EDU (David E. Johnson) writes: I am new to X11 and I have compiled X11R4 tape-1 completely and have it installed and running. I am now working with tape-2 trying to get the contrib/clients compiled. It seems that most of them are looking in the wrong place for the include files. I have change the includes from #include #include to #include #include for example and the compilation succeeds. I have also had to define XAW_BC in a few of the sources to get other necessary declarations done. This is because many of the client programs are written for R3 and haven't been updated. You can have your default imake invocation (xmkmf) create Makefiles which use -DXAW_BC by setting: /* * 2. InstallOldHeaderFiles - set the following to YES until you have * converted your Xaw programs to use the new naming scheme. */ #ifndef InstallOldHeaderFiles #define InstallOldHeaderFiles YES /* set to YES for compat with R3 Xaw */ #endif in the file mit/config/site.def, and then recompiling/installing the mit core X11 source. If you don't do this, you will have change every sourcefile by hand OR alter the Makefiles to compile with -DXAW_BC everytime you build an R3 client. Then when you xmkmf for each client, you shouldn't have to anything special to get find your header files (assuming the source isn't hosed, which is the case for a few clients). W. Phillip Moore Phone: 06-908-1431 LSI Research Group FAX: 06-906-7251 Semiconductor Research Laboratory E-mail: moore@mew.mei.co.jp Matsushita Electric Works, Ltd. 1048 Kadoma, Osaka 571, Japan