[comp.soft-sys.andrew] No index files found!

burdick@hpindda.HP.COM (Matt Burdick) (10/26/89)

I seem to be having some trouble making Andrew on my HP machine.  After
I've finished running make and try to start up ez (or any other program in
the bin directory), I get:

CLASS RUNTIME:  NO INDEX FILES WERE FOUND!!!


One unusual thing about my setup - I'm putting all of the Andrew stuff into
/andrew/build_dir rather than into /usr/andrew, since I already have an old
version there that works.

When I run 'strings' on ez, these are some of the file names I get:

/andrew/build_dir
/usr/vice/etc/AndrewSetup
/usr/andrew/etc/AndrewSetup


Does this mean that at some point it's going to try to use /usr/andrew?
Does this have anything to do with missing index files?  I thought I
overrode that by setting DEFAULT_ANDREWDIR_ENV to /andrew/build_dir.  Is
there something else I should do?

Here is my site.h file:
#define DEFAULT_ANDREWDIR_ENV /andrew/build_dir
#define RELEASE2_ENV 1
#define HPUX_ENV

And my site.mcr file:
        XBASEDIR = /
        XUTILDIR = /usr/local/bin
        XFC = /usr/bin/X11/xfc
        INSTALL = install



							-matt
-- 
Matt Burdick			| Hewlett-Packard
burdick%hpda@hplabs.hp.com	| Technical Communications Lab  (IND/TCL)

ajp+@ANDREW.CMU.EDU (Andrew Palay) (10/27/89)

> Excerpts from internet.info-andrew: 25-Oct-89 No index files found! (?)
> Matt Burdick@ucbvax.Berk (1162)

> I seem to be having some trouble making Andrew on my HP machine.  After
> I've finished running make and try to start up ez (or any other program in
> the bin directory), I get:

> CLASS RUNTIME:  NO INDEX FILES WERE FOUND!!!


> One unusual thing about my setup - I'm putting all of the Andrew stuff into
> /andrew/build_dir rather than into /usr/andrew, since I already have an old
> version there that works.


This should work, but doesn't seem to be.  You should be able to try to
set the environment variable ANDREWDIR to /andrew/build_dir.

Andy

burdick@HPINDL1.HP.COM (Matt Burdick) (10/28/89)

>(a) You shouldn't have to
>	#define HPUX_ENV

The #ifdef's using HPUX_ENV are in atk/ness/objects in the files call.c,
interp.c, and real.c.  These files are also not set up correctly for HPUX,
since they use the Berkeley bzero function.  Since I just wanted it to
compile OK, I changed the Makefile to link in /usr/lib/libBSD.a



>(b) The presence of /usr/andrew/etc/AndrewSetup as a string is because
>/usr/andrew/etc/AndrewSetup is the place of last resort for finding the
>AndrewSetup file.  If you have an AndrewSetup file there but not earlier
>in the list (/AndrewSetup, /etc/AndrewSetup, any LOCAL_ANDREW_SETUP_ENV
>you have defined, /usr/vice/etc/AndrewSetup,
>/andrew/build_dir/etc/AndrewSetup), then yes, the
>/usr/andrew/etc/AndrewSetup file will be used.  Even if it's so, will
>this hurt you?

No problem.  I've put an AndrewSetup file in the root directory.

>(c) Check your CLASSPATH (default: /andrew/build_dir/dlib/atk or
>$ANDREWDIR/dlib/atk) for the presence of an ``index'' file.  Could it be
>the case that you have ANDREWDIR or CLASSPATH set in your .login or
>.cshrc to the old /usr/andrew/dlib/atk directory?

CLASSPATH and ANDREWDIR weren't originally set, but after I set CLASSDIR to
/andrew/build_dir/dlib/atk I get the same results ("no index file found").
After I set ANDREWDIR to /andrew/build_dir, everything worked just fine.  I
thought - with all of the setup I put in site.mcr - that I wouldn't have to
define this environment variable.  Is there any way that I wouldn't have
to?  Would allowing the compile to take place in /usr/andrew help?

One last thing: how can I use the music object?  I haven't found it in the
bin directory, but there is a play.do object.

							-matt
-- 
Matt Burdick			| Hewlett-Packard
burdick%hpda@hplabs.hp.com	| Technical Communications Lab  (IND/TCL)