Hello, i ad a problem while compiling kdesu. <br>
It says that "struct ucred" was redefined. Its because there is a redefiniton in secure.h like that :<br>
<br>
#ifndef HAVE_STRUCT_UCRED<br>
<br>
// `struct ucred' is not defined in glibc 2.0.<br>
<br>
struct ucred {<br>
pid_t pid;<br>
uid_t uid;<br>
gid_t gid;<br>
};<br>
<br>
#endif // HAVE_STRUCT_UCRED<br>
<br>
unfortenuately, there was an error in the ConfigureChecks.cmake
because HAVE_STRUCT_UCRED was used to check if the struct already
exists. Because of the renaming of cmake, HAVE_STRUCT_UCRED were never
devined.<br>
<br>
so i just renamed HAVE_STRUCT_UCRED to STRUCT_UCRED in ConfigureChecks.cmake and it works .<br>
<br>
i joined a patch of ConfigureChecks.cmake to this mail.<br>