Philip Yarra philip
Fri Dec 23 03:51:39 PST 2005
On Fri, 23 Dec 2005 12:27 pm, Philip Yarra wrote:
> Fails to compile, due to kerberos include files being in
> /usr/kerberos/include on RHEL3.0.

OK, symlinked yet another kerberos include file... now I get this rather wacky 
one (trying to make altperl tools):

$ make
[surprisingly quick make process]
$ su -
# make install
[lots of slony make stuff, then...]
for subdir in altperl ; do \
          make -C $subdir install ; \
        done
make[2]: Entering directory 
`/home/philip/installs/slony1-1.1.5-rc2/tools/altperl'
/bin/sh: line 1: show_configuration: Permission denied
chmod: changing permissions of `show_configuration': Operation not permitted
[and so on for each file...]

Now I can see why this is occurring: altperl's 'install' target calls 'all' 
which attempts to chmod the files. In my particular setup (NFS-mounted home 
directory w/ root squash) root cannot chmod my files in my home directory. I 
concede this setup may not be all that common, and easy enough to work around 
(build in local dir like /tmp) but simply removing 'all' from the 'install' 
target fixes the problem.

I reckon this is a reasonable fix - I never su to root until 'make install' 
stage. Are there any objections?

Regards, Philip.

-- 

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-----------------
Utiba Pty Ltd 
This message has been scanned for viruses and
dangerous content by Utiba mail server and is 
believed to be clean.



More information about the Slony1-general mailing list