search for: path_to_database

Displaying 3 results from an estimated 3 matches for "path_to_database".

2011 Jun 10
2
Just starting to experiment with php
...6 value.baseB -rwxrwxrwx 1 jwl jwl 36864000 2010-07-18 00:36 value.DB php ex.php /data1/mail/db/cur.1 henry DatabaseOpeningError: Couldn't detect type of database From the ex.php file: include "/usr/share/php/xapian.php"; if ($argc < 3) { print "Usage: {$argv[0]} PATH_TO_DATABASE QUERY\n"; exit(1); } // Open the database for searching. try { $database = new XapianDatabase($argv[1]); // Start an enquire session. $enquire = new XapianEnquire($database); ... What did I miss?
2014 Apr 13
2
Adding an external library to Xapian
...1; - if (argv[1]) { - if (strcmp(argv[1], "--version") == 0) { - cout << "simpleexpand" << endl; - exit(0); - } - if (strcmp(argv[1], "--help") == 0) { - rc = 0; - } - } - cout << "Usage: " << argv[0] << " PATH_TO_DATABASE QUERY [-- [DOCID...]]" << endl; - exit(rc); - } + int rc = 1; + if (argv[1]) { + if (strcmp(argv[1], "--version") == 0) { + cout << "simpleexpand" << endl; + exit(0); + } + if (strcmp(argv[1], "--help") == 0) { + rc = 0; + } +...
2014 Apr 13
2
Adding an external library to Xapian
My code is not on Github. I am using the tarball as of now. The following it the error that occurred: http://pastebin.com/cVJrjUZX On Sun, Apr 13, 2014 at 8:16 PM, James Aylett <james-xapian at tartarus.org>wrote: > On 13 Apr 2014, at 15:37, Pallavi Gudipati <pallavigudipati at gmail.com> > wrote: > > > A linker error is encountered even after following the above