Forum OpenACS Development: Response to Trying the search package

Collapse
Posted by jay he on
Thanks. Vinod. I didn't notice that I should su - nsadmin. I did ./configure as root, which path doesn't include postmaster. After I tried ./configure as nsamdin, I can make nsfts.so and copy it to aolserver/bin directory. But when I tried to load load.sql file, I got a problem.
....
psql:/usr/local/src/postgresql-7.1.3/contrib/intarray/_int.sql:297: NOTICE:  current transaction is aborted, queries ignored until end of transaction block
*ABORT STATE*
psql:/usr/local/src/postgresql-7.1.3/contrib/intarray/_int.sql:303: NOTICE:  current transaction is aborted, queries ignored until end of transaction block
*ABORT STATE*
psql:/usr/local/src/postgresql-7.1.3/contrib/intarray/_int.sql:309: NOTICE:  current transaction is aborted, queries ignored until end of transaction block
*ABORT STATE*
psql:/usr/local/src/postgresql-7.1.3/contrib/intarray/_int.sql:315: NOTICE:  current transaction is aborted, queries ignored until end of transaction block
*ABORT STATE*
psql:/usr/local/src/postgresql-7.1.3/contrib/intarray/_int.sql:321: NOTICE:  current transaction is aborted, queries ignored until end of transaction block
*ABORT STATE*
COMMIT
psql:/usr/local/src/Search-OpenFTS-tcl-0.2/func_pgsql/create_func.sql:25: ERROR:
  stat failed on file '/usr/local/pgsql/lib/relkov.so': No such file or directory
psql:/usr/local/src/Search-OpenFTS-tcl-0.2/func_pgsql/create_func.sql:29: ERROR:
  stat failed on file '/usr/local/pgsql/lib/relkov.so': No such file or directory
I have Redhat7.2 installed, which has a default postgresql rpm. I uninstalled the rpm version and installed postgresql from source, which is in the directory /usr/local/src/postgresql-7.1.3/. I installed intarray under this directory. I don't know why load.sql looks for /usr/local/pgsql and it doesn't have lib/relkov.so file. And there is no lib directory under /usr/local/src/postgresql-7.1.3. Where did I make a mistake? Any idea? Thanks,