Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!wuarchive!uunet!cme!suntan!chris From: chris@suntan.ncsl.nist.gov (Chris Schanzle) Newsgroups: comp.windows.x Subject: Re: Problems building XVIEW 2.0 Keywords: xview Message-ID: Date: 6 Sep 90 19:38:21 GMT References: <1990Sep4.053650.945@cbnewse.att.com> Sender: news@cme.nist.gov Distribution: usa Lines: 46 jcdixon@cbnewse.att.com (jack.c.dixon) writes: >I'm trying to build xview2 and am running into so many problems that I >must be doing something wrong. I'm on a Sun4 running Sun OS 4.1. >I installed the xview2.tar.Z.a[a-i] files, built the Makefiles, and then >did a make World and during the makedepend part I find that header files in >xview_private and olgx_private aren't being found. In fact, the olgx_private >directory doesn't even exist under build/usr/include. Here are a few of >the hundreds of error messages that come spewing out: >depending in ./lib/libxvin/attr... >../../.././util/makedepend/makedepend -s "# DO NOT DELETE" -- -I../../../. -I.. >/../.././build/usr/include -- attr.c attr_copy.c attr_cu.c attr_util.c >../../.././util/makedepend/makedepend: attr.c: ../../.././util/makedepend/maked >epend: cannot find include file "xview_private/attr_impl.h" >making all in ./lib/libolgx... >make: Fatal error: Don't know how to make target `olgx_private/olgx_impl.h' >Anyway, the README that comes with xview2 says that it builds cleanly on >Sun OS so I assume I missed something in the installation procedure. >Jack Dixon, AT&T >{ ...!att!vogon!jcd, jcd@vogon.att.com } I had similar problems too -- I was beginning to wonder if this installation was going to be as difficult as X11R4!! But, to my surprise, I found out that I had to tell Imake that TOPDIR is not TOPDIR of X11R4, but now TOPDIR of the XVIEW2 source tree! After that, the build was trivial. To build XVIEW2, I added the following to the bottom of site.def: #define TopDir /usr/local/src/X11r4/xview2 BINDIR = /usr/bin/X11 #define TOPDIR /usr/local/src/X11r4/xview2 Could someone please add this little tidbit of info to the docs?? As a postscript (no tm :-), I was somewhat dismayed at watching this bugger compile for about 4 hours (about that of the X11R4), chugging and chugging, only to create half a meg of executables in my /usr/bin/xview directory and a couple shared libraries (libxview.*, libolgx.*)!! Your milage may vary. :-) ___________ "If you can read this, you're not Chris Schanzle looking through the Hubble telescope." chris@suntan.ncsl.nist.gov