Bug 72157 - setenv not found during compilation of kdeutils-3.1.94/kdepasswd on Solaris 8
Summary: setenv not found during compilation of kdeutils-3.1.94/kdepasswd on Solaris 8
Status: RESOLVED DUPLICATE of bug 71246
Alias: None
Product: kdepasswd
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Solaris
: NOR normal
Target Milestone: ---
Assignee: Geert Jansen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-08 16:03 UTC by David Rutitsky
Modified: 2004-01-10 12:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***