!HEfOZuCWbFqQODrTRb:matrix.org

Xapian

10 Members
The Xapian search engine library https://xapian.org/ | GSoC https://trac.xapian.org/wiki/GSoCProjectIdeas | FAQ https://trac.xapian.org/wiki/FAQ | doc https://getting-started-with-xapian.readthedocs.io/ | If you have a question, just ask it and WAIT for a reply (there's often a delay due to timezones)2 Servers

Load older messages


SenderMessageTime
15 Apr 2024
@olly.nz:matrix.orgollyyou don't want the equivalent, you want the path to the MSVC link05:37:22
@olly.nz:matrix.orgolly in CI we currently just crudely rm /usr/bin/link.exe but that's in a throw-away environment and not what you'd want to do in an actual mingw install 05:38:26
@olly.nz:matrix.orgolly you could try which cl and then the MSVC link is probably in the same directory 05:39:16
@fastcardriver:matrix.orgfastcardriver The output of which cl is the directory that contains link.exe but I still get
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
I tried pasting the direct output of which cl and also went to the directory and copied the address
05:47:26
@fastcardriver:matrix.orgfastcardriver Like this : LD='C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64' 05:48:02
@olly.nz:matrix.orgollyyou probably want to use / not \ for paths here05:48:29
@olly.nz:matrix.orgollyand you want .../link rather than just the directory05:48:50
@olly.nz:matrix.orgollynote that you likely still won't actually get a DLL, it's just that the current failure point with LD and NM set is much later (so probably we're closer to getting it working)05:50:32
@fastcardriver:matrix.orgfastcardriver Tried LD='C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/link' and it did not work. Hmm okay, but would still be good to have "checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes", like you05:51:22
@fastcardriver:matrix.orgfastcardriverPerhaps I should just use the static library then and try out some Xapian features05:51:37
@fastcardriver:matrix.orgfastcardriverIs my assumption correct, that in order to index word files you need Xapian Omega?10:48:42
@fastcardriver:matrix.orgfastcardriver * Is my assumption correct, that, in order to index word files you need Xapian Omega?11:13:15
@fastcardriver:matrix.orgfastcardriverTo be more specific: The practical example indexes into a db using data from the museum csv file. I'd like to do the same via a word, pdf or excel file. Do I need anyhting in addition to xapian core for that ? (like Omega)11:28:01
@fastcardriver:matrix.orgfastcardriver * To be more specific: The practical example indexes into a db using data from the museum csv file. I'd like to do the same via a word, pdf or excel file. Do I need anything in addition to xapian core for that ? (like Omega)11:35:54
@fastcardriver:matrix.orgfastcardriver * Is my assumption correct, that, in order to index word (.docx) or excel files you need Xapian Omega?12:58:47
@fastcardriver:matrix.orgfastcardriver
In reply to @fastcardriver:matrix.org
Is my assumption correct, that, in order to index word (.docx) or excel files you need Xapian Omega?
If so, has there been experience regarding the installation of libmagic for Windows or more generally building Xapian Omega on Windows?
12:59:34
@fastcardriver:matrix.orgfastcardriver Update: I have not been able to build Xapian Omega on Windows yet. However I found the file index_file.cc which shows how to index word, pdf etc. files. Will try to learn from that or perhaps use the entirety of the file to write my own Xapian program 13:51:20
@fastcardriver:matrix.orgfastcardriver * Update: I have not been able to build Xapian Omega on Windows yet. However I found the file index_file.cc which shows how to index word, pdf etc. files. Will try to learn from that or perhaps use the entirety of the file to write my own Xapian program 13:51:34
@fastcardriver:matrix.orgfastcardriverWould be very valuable to be able to build Xapian Omega on Windows to get a better understanding by invoking the Debbuger14:04:03
@olly.nz:matrix.orgollyIt should be possible to build but you will need to build libmagic and pcre first (or use packages of them)18:39:40
@olly.nz:matrix.orgollyIt's fairly easy to build omega with mingw GCC as mingw had the needed packages18:41:49
16 Apr 2024
@fastcardriver:matrix.orgfastcardriverYes, but if I use the versions of libmagic and pcre that I get via installing packages in MSYS2, is that still compatible with my intent to build Xapian Omega using MSVC?05:51:48
@olly.nz:matrix.orgollyI'm not entirely sure but I was suggesting using GCC - omega is an application so the compiler you use doesn't really matter like it might for building a library05:58:56
@olly.nz:matrix.orgollyIt should be possible to build with MSVC but you'll probably need to build libraries used first05:59:40
@fastcardriver:matrix.orgfastcardriverIs there any possibility to build Xapian Omega on Windows leaving libmagic out? From what I have seen in the source code it does not seem to be absolutely necessary for the core functionality.10:56:41
@fastcardriver:matrix.orgfastcardriver
In reply to @fastcardriver:matrix.org
Is there any possibility to build Xapian Omega on Windows leaving libmagic out? From what I have seen in the source code it does not seem to be absolutely necessary for the core functionality.
Well, that is my current approach. Creating a Version of Xapian Omega without libamgic and pcre2 functionality, building that version and using the indexing functionality in my own programs
13:04:08
@fastcardriver:matrix.orgfastcardriver
In reply to @fastcardriver:matrix.org
Is there any possibility to build Xapian Omega on Windows leaving libmagic out? From what I have seen in the source code it does not seem to be absolutely necessary for the core functionality.
* Well, that is my current approach. Creating a Version of Xapian Omega without libmagicand pcre2 functionality, building that version and using the indexing functionality in my own programs
13:04:21
@fastcardriver:matrix.orgfastcardriver * Well, that is my current approach. Creating a Version of Xapian Omega without libmagic and pcre2 functionality, building that version and using the indexing functionality in my own programs 13:04:39
@fastcardriver:matrix.orgfastcardriver * Well, that is my current approach. Creating a Version of Xapian Omega without libmagic and pcre2 functionality by deleting selected parts, building that version and using the indexing functionality in my own programs 13:09:24
@olly.nz:matrix.orgollyIt's pretty important for omindex but not used by anything else21:35:48

There are no newer messages yet.


Back to Room ListRoom Version: