I tested the programs in the "test" directory and they all work well on Jaguar, well except vvector that gives me Fatal: v == vp violated at line 281 of `vvector.cxx' aborting Abort But the others are OK. Cheers Damir Le lundi, 14 oct 2002, à 21:46 Europe/Paris, Rene Brun a écrit : > Hi Sven, > > You forgot to mention that you were running under macosx. > There were several mails recently in roottalk about macosx10.1 and > 10.2. > Please contact the people running on macosx for help. > Currently we have no machine at our disposal to test your problem. > > Rene Brun > > On Mon, 14 Oct 2002, Sven A. Schmidt wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Rene, >> >> thanks for your reply. While muttering 'RTFM' to myself I plugged in >> the missing TApplication ... only to find out that now my code hangs >> at >> the TApplication instantiation! The same for TRint. >> >> So I compiled the examples in $ROOTSYS/test with the included Makefile >> and none of them (with TApplication) works: Same hang where the >> TApplication constructor is being called. >> >> I compiled the 3.03.09 source distribution, adopting Maylay's (I >> think) >> changes for Jaguar (streams, makelib, ...). Are there other Jaguar >> users who have problems with the examples? >> >> I'll fetch Maylay's binaries and/or recompile from cvs to see if that >> helps. >> >> Cheers, >> Sven >> >> On Sonntag, Oktober 13, 2002, at 10:43 Uhr, Rene Brun wrote: >> >>> Hi Sven, >>> >>> You must have a TApplication (or TRint). >>> See example in ROOT main program or the test programs. >>> >>> Rene Brun >>> >>> On Sun, 13 Oct 2002, Sven A. Schmidt wrote: >>> >>>> Hi, >>>> >>>> I'm using the TSQL* classes to connect to and query a mysql >>>> database. >>>> I >>>> have the following code in 'test.cc': >>>> >>>> - >>>> -------------------------------------------------------------------- >>>> -- >>>> -- >>>> #include <TSQLServer.h> >>>> #include <TSQLResult.h> >>>> #include <iostream.h> >>>> >>>> int main() { >>>> TSQLServer *db = TSQLServer::Connect( >>>> "mysql://localhost/mydata", >>>> "user", "password" ); >>>> TSQLResult *res = db->Query( "select * from theData" ); >>>> TSQLRow *row; >>>> cout << "rows: " << res->GetRowCount() << endl; >>>> } >>>> - >>>> -------------------------------------------------------------------- >>>> -- >>>> -- >>>> >>>> When I load this in the interpreter ( ".L test.cc" ) and run it by >>>> calling "main()", I get the expected row count. >>>> >>>> But when I compile the file like this: >>>> g++ -g -O -Wall -fPIC `root-config --cflags` `root-config --libs` >>>> `root-config --glibs` \ >>>> -o test test.cc >>>> and then run the resulting binary, it just sits there, trying to >>>> connect to the db. It never gets to the query line. >>>> >>>> The platform is MacOSX 10.2, root version is 3.03.09, MySQL version >>>> is >>>> 3.23.51. >>>> >>>> What is the difference in the compiled and the interpreted version >>>> of >>>> the DB access? >>>> Has anyone experienced (and solved?) the same problem? >>>> >>>> Cheers, >>>> Sven >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.0.7 (Darwin) >> >> iD8DBQE9qwymVpUkGuwnAeURAsl7AJ0cmZiVrBSMeHTB/GNW5Om66OwwvgCgmDif >> rIXgXkZaI73W2tbePVJoujI= >> =65ea >> -----END PGP SIGNATURE----- >> >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:14 MET