[rrd-users] localtime on Solaris 5.8

laurent.achouche at st.com laurent.achouche at st.com
Mon May 22 15:35:16 MEST 2000


Hi all,

I'm still trying to make RRDTOOL 1.0.13 on solaris 5.8
my pb is that it crashes on a localtime c call. because of
of type mismatch :

make[2]: Entering directory
`/home/lachouch/archives/rrdtool-1.0.13/contrib/trytime'
gcc -DHAVE_CONFIG_H -I. -I. -I../../config -I../../src -I../../gd1.3   
-g -O2 -Wall -pedantic -fPIC -c trytime.c
trytime.c: In function `main':
trytime.c:83: warning: `%c' yields only last 2 digits of year in some
locales
trytime.c:93: warning: `%c' yields only last 2 digits of year in some
locales

when you look at trytime.c on line 83|93 :
  strftime(tim_b,100,"%c %Z",localtime(&start_tmp));

and man strftime (or localtime) specifies that standards were
changing...
(time.h are completly different between 5.7 and 5.8)
any body try to compile on solaris 5.8 ?


Ps: i have other pb, like na undefined after #define na_PL na in
perl-shared packages..
my perl version is 5.6.0 
it worked fine with 5.005_03

in CHANGES, you can read :
- 1999/11/04 -- Paul E. Erkkila
<pee at frontiernet.net>                                            
  made RRDs work on lates perl betas as well as current ones na -> PL_na

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users



More information about the rrd-users mailing list