[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 25 17:35:37 2001 
Subject:Re: [beginner] how to compile a pop11 program? 
From:Aaron Sloman See text for reply address 
Volume-ID:1010525.03 

[To reply replace "Aaron.Sloman.XX" with "A.Sloman"]

marcello@firstlinux.net writes:

> > > > > > popc -e junk junk.p
> > > > ...
> > > I got this:
> > > popc -e junk junk.p
> > > ;;; MISHAP - SAVED IMAGE NOT FOUND
> > > ;;; INVOLVING:  'e.psv'
> > > ;;; DOING
> >...
> >
> > If usepop is defined and popsys is not,
> ...
> so it was, but even after I 've defined popsys I get the same messages.
> > ...
> > If they are both defined, is there a file in $popsys/popc.psv?
> Yes, there is.

Let's go back a few steps to instructions which I hope should be in
the installation guide, but may have been buried in too much text
about licensing conditions:

1. First define $usepop

This should refer to the root directory where poplog is located,
e.g. /usr/local/poplog/v15.53 or whatever.

2. The next step will depend on your shell:

    IF using csh or tcsh as your shell do

        source $usepop/pop/com/poplog

    IF using bash, or ksh, or sh as your shell do

        . $usepop/pop/com/poplog.sh

If you don't first do steps 1 and 2, (or some equivalent, e.g. if
you have fetched setup.tar.gz ) you will find that lots of things
connected with poplog do not work.

3. Then check that the environment variable $pop_popc has been
defined:

    echo $pop_popc

This should print out something like:

    +/usr/local/poplog/v15.53/pop/pop/popc.psv

which should be equivalent to

    +$popsys/popc.psv

If you find that $pop_popc is not defined, after steps 1 and 2
then there is something amiss with your installation.


4. If $pop_popc is defined, then try the command that previously
failed:

    popc -e junk junk.p

If that still does not work, then the installation of poplog may
have gone wrong in some way.

If $pop_popc is defined as above, it should no longer give you

> ;;; MISHAP - SAVED IMAGE NOT FOUND
> ;;; INVOLVING:  'e.psv'

5. If $pop_popc is not defined, then you can try this:

    popc +$popsys/popc.psv -e junc junk.p

But you are likely to have some other problem if for some reason not
all the system environment variables have been defined.

Aaron
====
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk   (ReadATas@please !)
PAPERS: http://www.cs.bham.ac.uk/research/cogaff/
FREE TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html