Tags:
create new tag
view all tags

Question

The problem is that search does not work because TWiki can't find egrep/fgrep.

The configure scripts reports "Warning: '/usr/bin/fgrep' program was not found on the current PATH. " , bu the path is set to "/usr/bin/fgrep %CS{|-i}% %DET ...".

fgrep/egrep etc are there and do work.

Any ideas?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Solaris 9
Web server: Apache/2.0.53
Perl version: v5.6.1
Client OS: Ubuntu 2.6.22-14-generic
Web Browser: Firefox 2.0.0.11
Categories: Platform, Search

-- PeterBonifacio - 14 Jan 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Looking at our solaris 9 system, we have configured ours to use the fgrep at /bin/fgrep - though I'm a bit puzzeled as to why. I thought TWiki needed the gnu grep, and that it had trouble with solaris'.

-- SvenDowideit - 14 Jan 2008

Thanks Sven - tried that but no difference I'm afraid.

-- PeterBonifacio - 15 Jan 2008

Install GNU grep and use that, it's not hard to do this. Also see TWikiOnSolaris in case that helps.

-- RichardDonkin - 15 Jan 2008

After reading around the issue I came across this page SolarisInstallCookbook which although referring to Solaris 10 provided a pointer, to use the gegrep and gfgrep in /usr/sfw/bin rather than the ones in /usr/local/bin. This did the trick. Thanks to all for their help.

-- PeterBonifacio - 06 Feb 2008

Change status to:
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2008-02-06 - PeterBonifacio
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.