Compilation fails on Solaris 8

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 09 Oct 2001 00:44:39 +0200

While compiling on Solaris 8 in the SF compile farm the following
automake error occurs:

Making all in fs
source='ufs/store_dir_ufs.c' object='ufs/store_dir_ufs.o' libtool=no \
depfile='.deps/ufs/store_dir_ufs.Po'
tmpdepfile='.deps/ufs/store_dir_ufs.TPo' \
depmode=none /bin/sh
/home/users/h/hn/hno/squid-head-200110072301/cfgaux/depcomp \
cc -DHAVE_CONFIG_H -I.
-I/home/users/h/hn/hno/squid-head-200110072301/src/fs -I../../include
-I. -I../../include
-I/home/users/h/hn/hno/squid-head-200110072301/include
-I/home/users/h/hn/hno/squid-head-200110072301/src/ -g -c -o
ufs/store_dir_ufs.o `test -f
/home/users/h/hn/hno/squid-head-200110072301/src/fs/ufs/store_dir_ufs.c
|| echo
'/home/users/h/hn/hno/squid-head-200110072301/src/fs/'`ufs/store_dir_ufs.c
error: cpp: ufs/store_dir_ufs.c No such file or directory

source is in /home/users/h/hn/hno/squid-head-200110072301

building in
/home/users/h/hn/hno/solaris8_sunprocc/squid-head-200110072301

Trying to make heads or tail of that make line, but I can't. There seems
to be more than one thing failing here.

Question: Remind me again on why automake builds the store modules
outside of their directories? It seems it is mostly these automake
fails on when using the SUN make program..

Build procedure:

1. Downloaded current Squid-HEAD

2. PATH=/opt/SUNWspro/bin:/usr/ccs/bin:$PATH
   export PATH
   CC=cc $HOME/squid-head-200110072301/configure
--prefix=$HOME/solaris8_sunprocc/squid-head
   make

How to access the SF compile farm:

   ssh compile.sourceforge.net

And there seems to be really lots of stuff to do to make Squid build in
this environment. The SunPRO compiler works differently...

Building with the GNU toolchain works better

1. Reset PATH to it's normal setting

2. PATH=/usr/ccs/bin:$PATH
   export PATH
   MAKE=gmake .../configure ...
   gmake

Mvh
Henrik
Received on Mon Oct 08 2001 - 16:52:56 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:26 MST