Re: Make fails with xapian custom installation

2021-12-09 Thread Al Haji-Ali
On 09/12/2021, David Bremner wrote: > Does it help if you set LDFLAGS on the make command line? Looking at > Makefile.global, LDFLAGS are added before the other computed flags. So > something like > > % make V=1 LDFLAGS=-L/home/al/.local/stow/xapian/lib Yep, this works. Thanks! I feel that

Re: Make fails with xapian custom installation

2021-12-09 Thread David Bremner
Al Haji-Ali writes: > On 09/12/2021, David Bremner wrote: >> configure actually invokes xapian-config rather than pkg-config (I >> forget why offhand). So you probably need to set XAPIAN_CONFIG in the >> environment to the one in your /home when running configure. > > Ah OK. My xapian-config is

Re: Make fails with xapian custom installation

2021-12-09 Thread Al Haji-Ali
On 09/12/2021, David Bremner wrote: > configure actually invokes xapian-config rather than pkg-config (I > forget why offhand). So you probably need to set XAPIAN_CONFIG in the > environment to the one in your /home when running configure. Ah OK. My xapian-config is also correctly configured

Re: Make fails with xapian custom installation

2021-12-09 Thread David Bremner
Al Haji-Ali writes: > Hello, > > I have an old version of Xapian installed in root and a new one installed in > my home folder which I want to use. My pkgconfig is configured correctly > > , > | ~ pkg-config --libs xapian-core > | -L/home/al/.local/stow/xapian/lib -lxapian > ` >