From: Ben C. <bcl...@pe...> - 2004-12-30 09:46:32
|
Victor, I am glad this is working for you. A better fix will be published in later versions. Regards, Ben Vic...@es... wrote: > > Hi, > > It's working. > > I change dbms.c as you request me. > Then I did make, make install-strip. > And finally perfparse-db-tool --update. > > I can insert data in database and access to perfparse.cgi without problems. > > Now I try to make the graphs. > > Regards, > > Victor Gil > System Administrator > GyD Iberica, S.A. / Giesecke & Devrient Group > Industria, 3-5, E-08970 Sant Joan Despi (Barcelona), Spain > Ext. 371, Tel. (+34) 93 480 83 03, Fax (+34) 93 477 28 97 > mailto:vic...@es... > http://www.gi-de.com > > > > > > > > *Ben Clewett <be...@cl...>* > > 29/12/04 17:46 > > > Para > Vic...@es... > cc > per...@li... > Asunto > Re: [Perfparse-users] schema incorrect use perfparse-db-tool --update > > > > > > > > > Hi Victor, > > I am sorry about your problem. We are still working towards a solution. > There is something in the current code which effects the 'format' used > by printf so that 0.17 becomes "0,17". When scanned using 'atof' this > becomes 0.00. > > Can you please try a fix for me? > > Please edit libpp_mysql/dbms.c > > Near the top please add: > > #include <locale.h> > > Then after line 227 in function now_connect please add: > > setlocale(LC_NUMERIC, "POSIX"); > > Now please 'make' and let us know. > > To other members: > > Would any of you know which component effects this definition? > > Is this fix supported by FreeBSD, SUN and others if added to the > standard distribution? > > Thanks for all feedback, > > Ben. > > > > Vic...@es... wrote: > > > > > I have a problem with the version data. > > > > In my database the pp/database/version data = 0,17. > > If I set this value perfparse insert data to the database, but I cann't > > access to perfparse.cgi. "Error version 0.00 0.17 required please run > > perfparse-db-tool --update" > > If I change the value to 0.17 then I can access to perfparse.cgi but > > perfparse show error "Error version 0,00 0,17 required please run > > perfparse-db-tool-update" > > > > Any idea? > > > > > > Victor Gil > > System Administrator > > GyD Iberica, S.A. / Giesecke & Devrient Group > > Industria, 3-5, E-08970 Sant Joan Despi (Barcelona), Spain > > Ext. 371, Tel. (+34) 93 480 83 03, Fax (+34) 93 477 28 97 > > mailto:vic...@es... > > http://www.gi-de.com > > > > -- Ben Clewett bcl...@pe... PerfParse http://www.perfparse.org PP FAQ http://wiki.perfparse.org/tiki-list_faqs.php |