Thread: Full text index/compiling fti.c
Hi, I have been trying to compile the fti.c program that comes in the contrib directory, to no avail. Looks like it includes other files, which try to look for one such fmgr.h file, which is not in the postgres-7.0 source distribution. That fmgr.h file seems to define one such FmgrInfo struct, which I have not found anywhere else. Is that an obsolete 6.x structure? Is there an equivalent in 7.0? What could I do, in any case, to compile it? Thanks! J -- --> NEW ADDRESSES <-- jmerelo@geneura.ugr.es | jjmerelo@worldonline.es JJ Merelo | http://kal-el.ugr.es/htbin/jj-plex Grupo Geneura ---- Univ. Granada | http://www.geneura.org/
Juan Julian Merelo Guervos <jmerelo@geneura.ugr.es> writes: > I have been trying to compile the fti.c program that comes in the > contrib directory, to no avail. Looks like it includes other files, > which try to look for one such fmgr.h file, which is not in the > postgres-7.0 source distribution. In 7.0, fmgr.h is built during compilation of the source tree --- I'm afraid you need to work with a fully configured+built source tree. (We have a TODO item to try to make this a little cleaner in future. It's clear that more of the header files ought to be installed into the install include tree, but where to draw the line exactly?) regards, tom lane