Bug 72157

Summary: setenv not found during compilation of kdeutils-3.1.94/kdepasswd on Solaris 8
Product: [Applications] kdepasswd Reporter: David Rutitsky <drutitsky>
Component: generalAssignee: Geert Jansen <g.t.jansen>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description David Rutitsky 2004-01-08 16:03:30 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2 sun sparc
OS:          Solaris

This is similar to bug 72045   fixed the same way:
passwd.cpp: In member function `int PasswdProcess::exec(const char*, const 
   char*, int)':
passwd.cpp:81: `setenv' undeclared (first use this function)
passwd.cpp:81: (Each undeclared identifier is reported only once for each 
   function it appears in.)
gmake[3]: *** [passwd.lo] Error 1
gmake[3]: Leaving directory `/home/drutitsky/KDE3/kdeutils-3.1.94/kdepasswd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/drutitsky/KDE3/kdeutils-3.1.94/kdepasswd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/drutitsky/KDE3/kdeutils-3.1.94'
gmake: *** [all] Error 2

Fix :
--- kdepasswd/passwd.cpp~       2004-01-08 16:58:13.260002000 +0200
+++ kdepasswd/passwd.cpp        2004-01-08 16:58:04.740007000 +0200
@@ -8,6 +8,7 @@
  * passwd.cpp: Change a user's password.
  */
 
+#include <config.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
Comment 1 Dirk Mueller 2004-01-10 12:55:37 UTC

*** This bug has been marked as a duplicate of 71246 ***