Re: Problem compiling bpl9

From: Jeremy Elson (
Date: 02/13/96

This is very strange.  Did you do something like run 'configure'
on a different machine than you're compiling on?  (configure has to
be run on the target machine.)  Try deleting config.cache, running
'configure' again, and recompiling.

For some reason, configure thinks you have sys/fcntl.h, crypt.h and
sys/select.h even though you apparently don't.  (Do you?)

If configure is, for some reason, being fooled into thinking that you
have header files that you don't have, then do this:

1- run configure a first time
2- manually change the values of those variables from 'yes' to 'no' in
3- run configure a second time
4- make


> Hi all, I'm having problems compiling the bpl9.  bpl8 worked fine, so I 
> know most of it all SHOULD compile, but it's not.  I have run the 
> configure program from the main circle directory, and it's generated a 
> Makefile for me, but when I move into the /src directory and try to run a 
> 'make all', the following errors pop up:
> make ../bin/circle
> gcc -c -g -O -Wall  comm.c
> In file included from comm.c:14:
> sysdep.h:103: sys/fcntl.h: No such file or directory
> In file included from comm.c:14:
> sysdep.h:119: crypt.h: No such file or directory
> In file included from comm.c:14:
> sysdep.h:134: sys/select.h: No such file or directory
> *** Error code 1
> Stop.
> *** Error code 1
> Stop.
> For what it's worth, here's the output of the configure routine:
> checking for gcc... (cached) gcc
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for more... (cached) more
> checking for -lsocket... (cached) no
> checking for -lnsl... (cached) no
> checking for -lmalloc... (cached) no
> checking for -lcrypt... (cached) no
> checking how to run the C preprocessor... (cached) gcc -E
> checking whether cross-compiling... (cached) no
> checking for ANSI C header files... (cached) yes
> checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
> checking for fcntl.h... (cached) yes
> checking for sys/fcntl.h... (cached) yes
> checking for errno.h... (cached) yes
> checking for net/errno.h... (cached) no
> checking for string.h... (cached) yes
> checking for limits.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for sys/select.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for memory.h... (cached) yes
> checking for crypt.h... (cached) yes
> checking for assert.h... (cached) yes
> checking for working const... (cached) yes
> checking for pid_t... (cached) yes
> checking for size_t... (cached) yes
> checking whether time.h and sys/time.h may both be included... (cached) yes
> checking return type of signal handlers... (cached) void
> checking for crypt... (cached) yes
> checking for random... (cached) yes
> creating ./config.status
> creating src/Makefile
> creating src/conf.h
> I'm running the mud under Ultrix T4.5-3 (Rev. 34), and again the mud HAS 
> successfully compiled under bpl 8.  Any ideas what's going wrong?  Any 
> and all help will be *greatly* appreciated...
> Thanks.
> 	---  Mark  ---

This archive was generated by hypermail 2b30 : 12/07/00 PST