More with the antiquated Solaris compiler... I'm trying to build GAIA on
Solaris 8 to no avail. I've set the following environment variables:
F77 = f77
FC = f77
CC = cc
CXX = CC
...in addition to the standard ones needed for the build. With a fresh
checkout of the GAIA tree, in the 'make' phase I eventually get:
make[3]: Entering directory
`/export/scratch/starlink-cvs/applications/gaia/skycat/tclutil/util'
for i in src include test man; do (cd $i; echo "$i:"; make all) || exit 1;
done
src:
make[4]: Entering directory
`/export/scratch/starlink-cvs/applications/gaia/skycat/tclutil/util/src'
test -d ../lib || mkdir ../lib
CC /opt/SUNWspro/WS6/include/CC/Cstd/./ios.cc -o
/opt/SUNWspro/WS6/include/CC/Cstd/./ios
ld: fatal: file /opt/SUNWspro/WS6/include/CC/Cstd/./ios: open failed:
Permission denied
make[4]: *** [/opt/SUNWspro/WS6/include/CC/Cstd/./ios] Error 1
make[4]: Leaving directory
`/export/scratch/starlink-cvs/applications/gaia/skycat/tclutil/util/src'
make[3]: *** [all] Error 1
make[3]: Leaving directory
`/export/scratch/starlink-cvs/applications/gaia/skycat/tclutil/util'
make[2]: *** [sub] Error 1
make[2]: Leaving directory
`/export/scratch/starlink-cvs/applications/gaia/skycat/tclutil'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/export/scratch/starlink-cvs/applications/gaia/skycat'
make: *** [rtdConfig.h] Error 1
Two questions:
1) Why is it trying to build in a system directory?
2) How can I stop it from doing so?
I haven't done anything out of the ordinary with this build.
Cheers,
Brad.
|