Couldn't detect type of database

Jim Lynch <[email protected]>
Newsgroups gmane.comp.search.xapian.general
Message-ID <[email protected]>
I recently lost a hard drive and after successfully restoring 
everything, I think, I'm getting "Error opening database `current.1': 
DatabaseOpeningError: Couldn't detect type of database"

The directory current.1 contains the following files:

-rw-rw-r-- 1 jwl jwl  30064640 Aug 28 23:44 docdata.glass
-rw-rw-r-- 1 jwl jwl       151 Aug 28 23:44 iamglass
-rw-rw-r-- 1 jwl jwl 767115264 Aug 28 23:44 position.glass
-rw-rw-r-- 1 jwl jwl 383213568 Aug 28 23:44 postlist.glass
-rw-rw-r-- 1 jwl jwl 203341824 Aug 28 23:44 termlist.glass
-rw-rw-r-- 1 jwl jwl         0 Aug 28 23:44 flintlock

I know that I was using 1.4.1 before, so I reinstalled that version and 
now delve decided that the db was OK, however when I went to install 
Xapia./XS/WritableDatabase.xs:30:47: error: missing binary operator 
before token "("
  #if defined XAPIAN_AT_LEAST && XAPIAN_AT_LEAST(1,5,0)
                                                ^
./XS/QueryParser.xs:54:47: error: missing binary operator before token "("
  #if defined XAPIAN_AT_LEAST && XAPIAN_AT_LEAST(1,5,0)
n::Search from cpan, it gave me errors.

I guess I'll have to upgrade the db to work with a newer version of 
Xapian somehow.  Is that possible?

Thanks,

Jim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.