Subject: Re: [SWIPL] host=powerpc-apple-machten4

From: Jan Wielemaker <[email-masked]>
Date: Mon, 5 Mar 2001 09:53:38 +0100

On Sun, 04 Mar 2001, Gilbert Gosseyn wrote:
>
>Hi,
>
>I am working with CodeBuilder 1.1 on my Mac.
>
>The following problems occured when I tried to
>install pl-4.0.1:
>
>--
>
>****************************************************************
>* Now type the following to make and install the basic environment
>*
>*       % make
>*       % make install
>*
>* To complete the environment, goto the packages directory
>and check
>* the README file for further instructions.
>****************************************************************
>
>root@CodeBuilder# make
>****************
>Making SWI-Prolog 4.0.1 for powerpc-machten4
>To be installed in /usr/local/bin/pl
>Home (libraries) in /usr/local/lib/pl-4.0.1
>****************
>cannot create parms.h%: error 22
>make: *** [parms.h] Error 2
>root@CodeBuilder# make install
>if [ ! -d /usr/local/lib  ];    then mkdir /usr/local/lib;  
>  fi
>mkdir: /usr/local/lib: File exists
>make: [idirs] Error 1 (ignored)
>if [ ! -d /usr/local/lib/pl-4.0.1  ];    then mkdir
>/usr/local/lib/pl-4.0.1;    fi
>mkdir: /usr/local/lib/pl-4.0.1: Not a directory
>make: [idirs] Error 1 (ignored)
>for d in bin bin/powerpc-machten4 lib lib/powerpc-machten4
>man boot library include runtime runtime/powerpc-machten
>4; do \
>                if [ ! -d /usr/local/lib/pl-4.0.1/$d ]; then \
>                        mkdir /usr/local/lib/pl-4.0.1/$d; \
>                fi; \
>        done
>mkdir: /usr/local/lib/pl-4.0.1/bin: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/bin/powerpc-machten4: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/lib: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/lib/powerpc-machten4: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/man: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/boot: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/library: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/include: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/runtime: Not a directory
>mkdir: /usr/local/lib/pl-4.0.1/runtime/powerpc-machten4: Not
>a directory
>make: *** [idirs] Error 1
>root@CodeBuilder# ls
>
>
>I have also attached the Makefile.
>
>Can somebody help me to set up the Prolog system ?

Seems your mail is not forwarded (you're not on the list?)  Anyway,
this smells like permission problems.  I don't like the first 

>cannot create parms.h%: error 22
>make: *** [parms.h] Error 2

No clue what error 22 means.  Permission denied?

Do you have sufficient permissions to create files in the
build-directory?  If you're installing you need to be able to
write to the /usr/local tree.

	--- Jan