[OpenAFS-devel] openafs-1.3.79-src.tar does not compile on solaris 9 - gcc

Craig Cook craig@cookitservices.com
Mon, 21 Mar 2005 15:48:32 -0500


1.3.78 fails with the same problem...

Not sure how to fix it, just reporting an issue.

root@mybox 5.9:/home2/ccook/openafs-1.3.79# ./configure
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking host system type... sparc-sun-solaris2.9
checking for AIX... no
checking for POSIXized ISC... no
[snip]
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/afs/Makefile
creating src/afsd/Makefile
creating src/afsmonitor/Makefile
creating src/afsweb/Makefile
creating src/audit/Makefile
creating src/auth/test/Makefile
creating src/auth/Makefile
creating src/bozo/test/Makefile
creating src/bozo/Makefile
creating src/bu_utils/Makefile
creating src/bubasics/Makefile
creating src/bucoord/Makefile
creating src/budb/Makefile
creating src/butc/Makefile
creating src/butm/Makefile
creating src/cmd/test/Makefile
creating src/cmd/Makefile
creating src/comerr/test/Makefile
creating src/comerr/Makefile
creating src/config/Makefile
creating src/config/Makefile.config
creating src/config/Makefile.version-NOCML
creating src/dauth/Makefile
creating src/des/test/Makefile
creating src/des/Makefile
creating src/des_stub/Makefile
creating src/dir/test/Makefile
creating src/dir/Makefile
creating src/export/Makefile
creating src/finale/Makefile
creating src/fsint/Makefile
creating src/fsprobe/Makefile
creating src/ftpd43+/Makefile
creating src/gtx/Makefile
creating src/inetd/Makefile
creating src/JAVA/libjafs/Makefile
creating src/kauth/test/Makefile
creating src/kauth/Makefile
creating src/libacl/test/Makefile
creating src/libacl/Makefile
creating src/libadmin/adminutil/Makefile
creating src/libadmin/Makefile
creating src/libadmin/bos/Makefile
creating src/libadmin/cfg/test/Makefile
creating src/libadmin/cfg/Makefile
creating src/libadmin/client/Makefile
creating src/libadmin/kas/Makefile
creating src/libadmin/pts/Makefile
creating src/libadmin/samples/Makefile
creating src/libadmin/test/Makefile
creating src/libadmin/vos/Makefile
creating src/libafs/Makefile.common
creating src/libafs/MakefileProto.SOLARIS
creating src/libafsauthent/Makefile
creating src/libafsrpc/Makefile
creating src/libuafs/Makefile.common
creating src/libuafs/MakefileProto.SOLARIS
creating src/log/test/Makefile
creating src/log/Makefile
creating src/login/Makefile
creating src/lwp/test/Makefile
creating src/lwp/Makefile
creating src/mpp/Makefile
creating src/ntp/Makefile
creating src/null/Makefile
creating src/package/Makefile
creating src/pam/Makefile
creating src/pinstall/test/Makefile
creating src/pinstall/Makefile
creating src/procmgmt/Makefile
creating src/procmgmt/test/Makefile
creating src/ptserver/Makefile
creating src/rcp/Makefile
creating src/rlogind/Makefile
creating src/rsh/Makefile
creating src/rx/Makefile
creating src/rx/bulk.example/Makefile
creating src/rx/bulktest/Makefile
creating src/rx/multi.example/Makefile
creating src/rx/simple.example/Makefile
creating src/rx/test/Makefile
creating src/rxdebug/Makefile
creating src/rxgen/Makefile
creating src/rxkad/Makefile
creating src/rxkad/test/Makefile
creating src/rxstat/Makefile
creating src/scout/Makefile
creating src/sgistuff/Makefile
creating src/shlibafsauthent/Makefile
creating src/shlibafsrpc/Makefile
creating src/sia/Makefile
creating src/sys/Makefile
creating src/tbutc/Makefile
creating src/tests/Makefile
creating src/tests/run-tests
creating src/tests/OpenAFS/Dirpath.pm
creating src/tsm41/Makefile
creating src/tviced/Makefile
creating src/tvolser/Makefile
creating src/ubik/Makefile
creating src/update/Makefile
creating src/usd/test/Makefile
creating src/usd/Makefile
creating src/uss/Makefile
creating src/util/Makefile
creating src/util/test/Makefile
creating src/venus/test/Makefile
creating src/venus/Makefile
creating src/vfsck/Makefile
creating src/viced/Makefile
creating src/vlserver/Makefile
creating src/vol/Makefile
creating src/vol/test/Makefile
creating src/volser/Makefile
creating src/wsadmin.src/Makefile
creating src/xstat/Makefile
creating src/helper-splint.sh
creating src/config/afsconfig.h

root@mybox 5.9:/home2/ccook/openafs-1.3.79# which make
/usr/local/bin/make

root@mybox 5.9:/home/ccook/openafs-1.3.79# make
mkdir -p /vicepa/home/ccook/openafs-1.3.79/include
mkdir -p /vicepa/home/ccook/openafs-1.3.79/include/afs
mkdir -p /vicepa/home/ccook/openafs-1.3.79/lib
make build
make[1]: Entering directory `/vicepa/home/ccook/openafs-1.3.79'
make finale DEST=3D/vicepa/home/ccook/openafs-1.3.79/sun4x_59/dest COMPILE_=
PART2B=3Dall DESTDIR=3D
make[2]: Entering directory `/vicepa/home/ccook/openafs-1.3.79'
cd src && cd config && make all
make[3]: Entering directory `/vicepa/home/ccook/openafs-1.3.79/src/config'
rm -f Makefile.version
if      [ -r SRC/../CML/state ] ; \
then    cp ./Makefile.version-CML Makefile.version ; \
else    cp Makefile.version-NOCML Makefile.version ; \
fi
make -f Makefile.version AFS_component_version_number.c
make[4]: Entering directory `/vicepa/home/ccook/openafs-1.3.79/src/config'
echo 'char cml_version_number[]=3D"@(#) OpenAFS 1.3.79 built ' `date +"%Y-%=
m-%d"` '";' >AFS_component_version_number.c
echo 'char* AFSVersion =3D "openafs 1.3.79"; ' >>AFS_component_version_numb=
er.c
make[4]: Leaving directory `/vicepa/home/ccook/openafs-1.3.79/src/config'
/opt/SUNWspro/bin/cc  -O -I/vicepa/home/ccook/openafs-1.3.79/include -I. -d=
y -Bdynamic -I. -c ./config.c
make[3]: /opt/SUNWspro/bin/cc: Command not found
make[3]: *** [config.o] Error 127
make[3]: Leaving directory `/vicepa/home/ccook/openafs-1.3.79/src/config'
make[2]: *** [config] Error 2
make[2]: Leaving directory `/vicepa/home/ccook/openafs-1.3.79'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/vicepa/home/ccook/openafs-1.3.79'
make: *** [all] Error 2


root@cwsi.esc.state.nc.us 5.9:/home2/ccook/openafs-1.3.79# /usr/ccs/bin/make
/usr/ccs/bin/make
/usr/ccs/bin/make build
/usr/ccs/bin/make finale DEST=3D/vicepa/home/ccook/openafs-1.3.79/sun4x_59/=
dest COMPILE_PART2B=3Dall DESTDIR=3D
cd src && cd config && /usr/ccs/bin/make all
/opt/SUNWspro/bin/cc  -O -I/vicepa/home/ccook/openafs-1.3.79/include -I. -d=
y -Bdynamic -I. -c ./config.c
sh: /opt/SUNWspro/bin/cc: not found
*** Error code 1
make: Fatal error: Command failed for target `config.o'
Current working directory /vicepa/home/ccook/openafs-1.3.79/src/config
*** Error code 1
make: Fatal error: Command failed for target `config'
Current working directory /vicepa/home/ccook/openafs-1.3.79
*** Error code 1
make: Fatal error: Command failed for target `build'
Current working directory /vicepa/home/ccook/openafs-1.3.79
*** Error code 1
make: Fatal error: Command failed for target `all'


Note: /vicepa/home/ccook is not my home dir yet, have not moved it onto AFS=
 yet...
/opt/SUNWspro/bin/cc is not found, I do not have the C compiler from Sun in=
stalled, it found gcc in "configure" though...

Craig Cook
--
Systems Monitoring Consulting and Support Services
http://www.cookitservices.com