[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:18 Jan 2004 19:27:02 -0000 
Subject:Re: Poplog on FreeBSD 
From:Aaron Sloman 
Volume-ID:1040118.02 

Many thanks for the update. I have made sub-directories called
freebsd and debian on the poplog web site

    http://www.cs.bham.ac.uk/research/poplog/freebsd/
    http://www.cs.bham.ac.uk/research/poplog/debian/

At present they are empty, but at some point I'll try to produce
summaries of messages you (and others) post about what needs
to be done to compile/run poplog on those platforms.

If you wish to send one or more summary 'Howto' files based on
your experiences please do: I'll be glad to insert the files
and then insert links in the main information file

    http://www.cs.bham.ac.uk/research/poplog/freepoplog.html

Maybe one day there should be appropriate variants of my
'easy install' scripts included with the latest versions
of
    bham-linux-poplog.tar.gz

outlined here
    http://www.cs.bham.ac.uk/research/poplog/linux-cd/SHORT-CUT-INSTALLATION.txt

You might wish to consider contributing to the openpoplog project
on sourceforge, desribed here:

    http://www.cs.bham.ac.uk/research/poplog/openpoplog.html

Another possiblity if it is hard for some users of freebsd to
start from a linux version is to provide a web site containing a
tarred version of
    $usepop/pop/pop/

since, in principle, if that replaces the corresponding directory
from a pc linux poplog tar file everything should work (unless
you have rebuilt anything in

    $usepop/pop/obj
    $usepop/pop/extern/lib

in which case those will have to be included in the tar file.


[JD]
> Up it comes with everything working. I have tried what I know ; which
> isn't much since everything I want to do in pop11 seems to lead me to C
> which consumes my time.

There is a fairly quick and easy and quite demanding test for the
installation.

If you don't have the bham extensions (including rclib, rcmenu
and newkit) then you should be able to fetch and install them
using

    http://www.cs.bham.ac.uk/research/poplog/bham.tar.gz
        2177452 bytes  Jan 12 22:11

    http://www.cs.bham.ac.uk/research/poplog/newkit.tar.gz
         702938 bytes Jan 12 22:09

If you don't already have the directory $poplocal/local make it,
and then untar those files there.

Then run:
    pop11

then make the tools available:

    uses rclib
    uses rcmenu
    uses newkit

get a teach file:
    teach sim_sheepdog.p

That reads the sheepdog tutorial file into ved.

    ENTER l1

That compiles it.

Then, in the output.p file put the Ved cursor on the instruction
it prints out

    run_sheep(2000);

and type ESC d to compile the line.

That brings up the (old) sheepdog demo allowing you to help or
hinder the sheepdog by moving sheep, trees or the dog while it
tries to herd the sheep.

If all that works, then probably everything else willm, as it
tests many things including asynchronous event handling as well
as the graphics. (However I don't use anything from motif, so it
should all work if you link poplog without motif.)

You may get a warning about fonts if the fonts used on the
control panel or in the sheep-labels are not on your system, but
I believe the X window system usually provides an alternative
font.

The latest version of newkit.tar.gz has a more sophisticated
version described in my last message to pop-forum. Compile
it using

    lib hybrid_sheepdog.p

Then run it using the same command: run_sheep(2000);

How recent is the poplog from which you started? My linux poplog
packages now have an empty file in $usepop whose name indicates
The version. E.g. the latest one should have something like this:

    ls -l This*
    -rw-r--r--    1 axs     0 Nov  3 00:00 This.is.linux.poplog.V15.53d

(Other parts of the system -- e.g. Birmingham extensions, will be
newer.)

Aaron