Summary: | setenv is not present on Solaris 8 (should use putenv) | ||
---|---|---|---|
Product: | [Unmaintained] configure | Reporter: | David Rutitsky <drutitsky> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Attempt at fixing the problem |
Description
David Rutitsky
2004-01-07 11:42:19 UTC
setenv() should be provided by libkdefakes (it's under kdelibs/kdecore) when missing. So it sounds like configure for some reason decided you have setenv or such Created attachment 4024 [details]
Attempt at fixing the problem
The error comes from the compiler, not from the linker. Which means all it
needs is a declaration, since libkdefakes in linked from libkdecore, which in
turn is linked from libkio.
Can you test the attached patch and see if it corrects the problem?
Note: this test also fails for me, but due to another reason. It seems to be a
"since 3.2" feature that isn't working.
how about including config.h then? Subject: kdelibs/kio/tests CVS commit by faure: This should fix the setenv problem on Solaris. CCMAIL: 72045-done@bugs.kde.org M +1 -1 kurifiltertest.cpp 1.36 --- kdelibs/kio/tests/kurifiltertest.cpp #1.35:1.36 @@ -1,3 +1,3 @@ - +#include <config.h> #include <iostream> #include <stdlib.h> |