> < ^ Date: Wed, 04 Feb 1998 11:06:18 -0330 (NST)
> < ^ From: Neil Zanella <nzanella@cs.mun.ca >
> ^ Subject: installation problems

Hi.

I now have the gap3r4p4.zoo binary.
I put it in / (no space left in /usr/local) and extracted with
unzoo -o -x gap3r4p4.zoo
That workes fine.
I am now looking at the instructions provided on the gap world wide web
(as shown below)
I go to gap3r4p4 and type : make
I get a list of operating systems, then chose my own (Linux) and type:

[root@localhost src]# make ibm-i386-linux-gcc2

When I do that the following error messages come up:

make[1]: Entering directory `/gap3r4p4/src'
gcc -DSYS_IS_USG -DSYS_HAS_TIME_PROTO -DSYS_HAS_SIG_T=void -c system.c
-o system.o
system.c:1571: conflicting types for ioctl
/usr/include/sys/ioctl.h:43: previous declaration of `ioctl'
system.c: In function `syAnswerCont':
system.c:1608: warning: `return' with a value, in function returning void
system.c: In function `syAnswerTstp':
system.c:1619: warning: `return' with a value, in function returning void
system.c: In function `syAnswerIntr':
system.c:2738: warning: `return' with a value, in function returning void
make[1]: *** [system.o] Error 1
make[1]: Leaving directory `/gap3r4p4/src'
make: *** [ibm-i386-linux-gcc2] Error 2

What have I done wrong this time?

Thanks.

Regards,

Neil Zanella
nzanella@ganymede.cs.mun.ca

How to install GAP on a UNIX computer
    -------------------------------------

First go to a directory where you want to install GAP, e.g., your
home
directory or '/usr/local/lib'. GAP will be installed in a
subdirectory
called 'gap3r4p4/' of this directory. You can later move GAP to
another
location, for example you can first install it in your home directory
and
once it works move it to '/usr/local/lib/'.

Get the distribution 'gap3r4p4.zoo' and the source for the zoo
archive
extractor 'unzoo.c'. How you can get those files is described in
the
section "How to get GAP". The usual way would be to get it
with
'ftp'onto your machine. Remember that the distribution consists
of
binary files and that you must transmit them in binary mode.

Compile the zoo archive extractor 'unzoo' with the command

cc  -o unzoo  -DSYS_IS_UNIX  -O unzoo.c 

Unpack the distribution with the command

unzoo -x -o gap3r4p4.zoo

Change into the source directory 'gap3r4p4/src/', print the list
of
possible targets with the command 'make', select the target that
fits
best, and then compile the kernel with the command

make <target>
cp gap ../bin

Alternatively we provide ready compiled executables for the some
popular
systems on our 'ftp' server in the 'bin/' subdirectory.

Change into the directory 'gap3r4p4/bin/' and edit the script
'gap.sh',
which starts GAP, according to the instructions in this file. Then
copy
this script to a directory in your search path, e.g., '~/bin/', with
the
command

Miles-Receive-Header: reply


> < [top]