On Wed, 6 May 2009 20:59:06 +1000, Maria <koal0...@gmail.com> wrote: >Hi, I would like to modify sqlite source code. >Before, start of modification, I wanted to print 'hello world!' message from >'sqlite3_initialize()' routine. > >I've downloaded sqlite-amalgamation-3.6.13.tar.gz ><http://www.sqlite.org/sqlite-amalgamation-3.6.13.tar.gz>on ubuntu system. >then, I followed the install step, such as: > >>./configure >>make >>make install > >After I install it successfully, I opened the 'sqlite3.c' file and found the >'sqlite3_initialize()' routine and add 'fprintf(stdout, "hello world!\n");' >then, I recompiled. >> make > >and run the sqlite >>sqlite3 test.db >>.tables >>.read createStudent.sql > >etc.. >I thought when I start the sqlite3, it would call initialize routine and >print 'hello world'..... but it dosen't. >I also put some printing message in 'sqlite3StartTable()' and >'sqlite3EndTable()' then recompiled it and run create or drop table >statement. > >Two days ago, actually, I could print messages by above way. But since >yesterday, it's never printed anything. I even reinstalled my os system. >I am pretty much confused with it. Could anyone give me some advice, please?
In your shell, type: which sqlite3 Does the result point to the result of yur compilation of sqlite3 ? >Thanks so much. -- ( Kees Nuyt ) c[_] _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users