[Kst] Compile problem

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Wed Nov 2 15:52:04 CET 2005


I was away for a few days, and saw that there has been a lot going on
kst-wise! Cool... I tried to update to update to the latest svn to
benefit from the recent optimizations, and now I can't compile :-(
The problem is that Solaris does not have setenv/unsetenv, but only
putenv/getenv... Try to think about that when adding new code :-) I
changed unsetenv("VAR") to putenv("VAR=") but I'm not sure I should
commit this...

if /bin/bash ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I.  -I../..
-I/usr/local/kde/V3.4.0/include -I/usr/local/kde/include
-I/opt/csw/include -I/S/KDE/Vdev/include  -DQT_THREAD_SUPPORT
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_NO_TRANSLATION  -MT ksttimezones.lo -MD -MP -MF
".deps/ksttimezones.Tpo" -c -o ksttimezones.lo ksttimezones.cpp; \
then mv -f ".deps/ksttimezones.Tpo" ".deps/ksttimezones.Plo"; else rm -f
".deps/ksttimezones.Tpo"; exit 1; fi
rm: cannot remove `.' or `..'
ksttimezones.cpp: In member function `QDateTime
KstTimezone::convert(const KstTimezone*, const QDateTime&) const':
ksttimezones.cpp:253: error: `::unsetenv' has not been declared
ksttimezones.cpp: In member function `int
KstTimezone::offset(Qt::TimeSpec) const':
ksttimezones.cpp:299: error: `::unsetenv' has not been declared
gmake[3]: *** [ksttimezones.lo] Error 1
gmake[3]: Leaving directory
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
gmake: *** [all-recursive] Error 1

More information about the Kst mailing list