There seems to be some problems between my ISP's mail server and the mailing list's mail server, so I'm writting directly to you. Please repost this to the list if you think it's relevant. Le vendredi 14 juillet 2006 17:32, Sameer D'Costa a écrit : > On Fri, Jul 14, 2006 at 04:37:18PM +0200, Thibaut Cousin wrote: > > The page you mention doesn't give any instruction to generate this > > file, but I found some instructions in the INSTALL file inside the > > archive. It doesn't work. According to the INSTALL file, the command > > > > php schema.php --dump > > Hmm, thats odd. I see the exact same instructions at the bottom of this > wiki webpage. Did you look at the bottom where it says "The dbstruct.sql > file has been removed and to generate it you need to use... > php schema.php --dump " Yes I see this paragraph. First I had ignored it because I used 0.5.4, and then I forgot to look again. In any case, the command doesn't work (empty output). But I got everything to work anyway, see below. > Has php been compiled with the --with-sqlite option? Try typing > "php -m" on the command line to see if you have the sqlite extension > loaded. Problem solved, see below. In my distribution (OpenSUSE), the PHP extension for SQLite is packaged separately. I had a quick look at some other distributions, like Debian, it's the same. So it was not obvious from the requirements that I needed to install it. > > And is that problem enough to stop Gregarius from generating any > > output, even a main page? > > Thats right. Gregarius will not run without database support. The > install file is suppossed to catch such errors (and it did), but it is > not completely ready yet and so we do not advertise it. Well, good news, I got it to work. Once the package php5-sqlite was installed, the install.php script could detect my sqlite installation. From that point, magically, everything was fine. The first time I connected to the main page, it appeared (yeah!) with an error message and kindly generated my sqlite database. Why the commande line "php schema.php --dump" didn't work before, I have no idea. After that, it was easy, as Gregarius seems to be a very good product. I imported my feeds from Safari very easily and I'm playing around with them now. Thanks to Sameer for his help. :-) All in all here is what made this installation a bit difficult: - No documentation on sqlite. Sometimes instructions for MySQL are given without mentioning that they are only for MySQL. - Extension php5-sqlite (or php4-sqlite) forgotten in the system requirements. - When the database is absent, the main page should give a warning instead of a blank page. It's very confusing, since no error is reported in Apache's logs. Regards, -- Thibaut Cousin http://www.thibaut-cousin.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://sinless.org/pipermail/gregarius-dev/attachments/20060714/6e615e99/attachment.bin