X11 Toolkits

Don Gilbert gilbertd at cricket.bio.indiana.edu
Thu Jan 17 07:49:02 AEST 1991


In article <87327 at tut.cis.ohio-state.edu> <thamer at gecko.cis.ohio-state.edu> writes:
>
>Anyone had any luck using X11R4 toolkits with AUX ?
>Will standard ones work if they are ported over without modification ?

Over the holidays, I got InterViews running well.  It required some effort 
at configuring and patching (mostly headers that were confused by the 
two-headed BSD and System V mix in A/UX), but results seemed well worth it.
It took me a week to install X11R4, gcc, g++ and InterViews (thanks John
Coolidge for the fine work making X11R4, gcc and g++ for A/UX available,
see the archive at wuarchive.wustl.edu).  In another week, I'd learned
enough C++ and InterViews to write a working X Window program for biological
databases.  InterViews is available thru anon. ftp at interviews.stanford.edu.
Use the g++ provided by J. Coolidge at wuarchive, not the g++ included
with InterViews.

Re: modifications needed to get InterViews running. Perhaps some others with
more experience with unix soft would be better answering this.  The main
file for configuring InterViews for A/UX is the IVlocal.def file in the
iv/src/config directory.  Here is what I added to that file to get things
running:

/*
 * IVlocal.def - local site-specific definitions
 */

/* mods for my A/UX -- dgg, 26Dec90, w/ X11R4 installed */

#define TroffCmd  nroff
#define C_plusplus_compiler g_plusplus
	/* ?????? */
#define C_plusplus_lib /usr/local/lib/gcc-gnulib
	/* whether or not system has cfront translator */
#define HasGcc     	YES 
#define CcCmd		gcc
#define CplusplusCcCmd	g++
/* need this one for some of libInterViews library */
#define Use_g_plusplus YES
#define CppCmd		/usr/local/lib/gcc-cpp
#define GenclassCmd /usr/local/bin/genclass
#define HasCfront 	NO			
/* #define InstallPlatformCfFiles NO */
#define Bootstrap_gcc 	NO

#define ExtraLibraries		-lX11_s	


/* add these to compile environment !!
   
for make -e bootstrap ??? --
   setenv CPU "MACII"
   make BOOTSTRAPCFLAGS="-DmacII" EXTRA_CFLAGS="-DmacII" bootstrap
   (make -n to list commands w/o make)
   
for make World or make Makefile --
   setenv CPU "MACII"
   setenv PATH /users/local/iviews/iv/installed/bin/MACII:$PATH

 */

P.S., I got rn (network news) installed last weekend in about 4 hours,
no real problems.

-- Don

-- 
Don Gilbert    gilbertd at cricket.bio.indiana.edu
biocomputing office, biology dept., indiana univ., bloomington, in 47405



More information about the Comp.unix.aux mailing list