From: Sam S. <sd...@gn...> - 2011-02-28 16:08:49
|
> * Don Cohen <qba...@vf...3-vap.pbz> [2011-02-26 23:42:50 -0800]: > > This is in linux, building from current source. > I earlier did the configure successfully as root but now cannot do it > as a non-root user. > > The output of configure ends with > checking whether the C compiler works... no > configure: error: in `/home/don/hg/clisp/build-dir': > configure: error: C compiler cannot create executables > See `config.log' for more details. > which turns out to mean in the configure directory. > Here's the relevant output from that file. > configure:3945: checking for C compiler version > configure:3954: gcc -m64 --version >&5 > ccache: failed to create /var/cache/ccache/tmp (Permission denied) > configure:3965: $? = 1 > configure:3954: gcc -m64 -v >&5 > ccache: failed to create /var/cache/ccache/tmp (Permission denied) > configure:3965: $? = 1 > > What is trying to create /var/cache/ccache/tmp and why? > It seems that the "root" of the problem is that the earlier configure > as root created that same tmp directory belonging to root. Also the > ccache directory belongs to root (with group ccache) and was not > marked writable (or executable) by other. > > There's something wrong with using a directory like this that is > shared. Is this something in clisp or is the fault elsewhere? I am pretty sure this is a generic "root/non-root" issue which has nothing to do with clisp. please talk to aut...@gn... mailing list. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final) X http://honestreporting.com http://dhimmi.com http://truepeace.org http://ffii.org http://thereligionofpeace.com I am always late to my punctuality class. |