Skip to main content.
home | support | download

Back to List Archive

Re: Rpm build problems: Failed to find [swish-config] in PATH

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Jan 19 2005 - 05:35:29 GMT
On Tue, Jan 18, 2005 at 09:18:40PM -0800, Stephen Granger wrote:
> Hi,
> rpmbuild -ba SPEC/swish-e.spec
> 
> and get the error
> 
> + SWISHBIN=~/rpm/tmp/BUILD/swish-e-2.4.3/src/swish-e
> + /usr/bin/perl Makefile.PL
> 
>   ** ERROR: Failed to find [swish-config] in PATH
>   Run perl Makefile.PL SWISHHELP for options

You probably need to build swish-e the normal way and run make
install.  And then make sure swish-config is in the path or specify
where it is using the SWISHBINDIR environment variable.

See, building the Perl module requires knowing where to find the
swish-e library.  And it's swish-config that tells it where to find
the library.

There probably should be a way to override that.  But, the bottom line
is the library needs to be installed before you can link other things
(like the perl module) against it).

Really, there should be two (or more) RPMs.  One for swish-e library,
and another for the perl module.

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Tue Jan 18 21:35:29 2005