Bug 141595

Summary: Compile error on Solaris 8 - src/kgpgme.cpp uses setenv which is not available
Product: [Applications] basket Reporter: Steve Evans <stevee>
Component: generalAssignee: Kelvie Wong <kelvie>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: groot, jonas.vejlin
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Steve Evans 2007-02-12 15:43:23 UTC
Version:            (using KDE KDE 3.5.6)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this compile error on Solaris:

if /bin/bash ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/opt/qt/include   -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -DQT_THREAD_SUPPORT -I/opt/kde/include  -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/gnome2/include/glib-2.0 -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT kgpgme.lo -MD -MP -MF ".deps/kgpgme.Tpo" \
  -c -o kgpgme.lo `test -f 'kgpgme.cpp' || echo './'`kgpgme.cpp; \
then mv -f ".deps/kgpgme.Tpo" ".deps/kgpgme.Plo"; \
else rm -f ".deps/kgpgme.Tpo"; exit 1; \
fi
kgpgme.cpp: In member function `void KGpgMe::setPassphraseCb()':
kgpgme.cpp:380: error: `setenv' was not declared in this scope

setenv is a linux extention. I believe that KDE provides an alternate implementation in libkdefakes, but there is no prototype provided.
Comment 1 Jonas Vejlin 2009-04-04 11:12:43 UTC
do you still have this bug?
Comment 2 Andrew Crouthamel 2018-11-02 23:01:12 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-16 05:34:32 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!