Koozali.org: home of the SME Server
Contribs.org Forums => General Discussion => Topic started by: ked on July 02, 2007, 03:27:31 PM
-
Hello everyone, I would value some assistance.
I would like to install the Zaval file search product (http://www.zaval.org/products/file-search/) on an install of SME 7.1 that I maintain for a friends' small business.
They do environmental assessment work and have amassed a lot of data on flora and fauna in a range of electronic formats (email, PDFs, gifs, Word etc). Unfortunately it is now very hard to manage, and I would like to look at setting up a search engine on their server. The Zaval product looks like a good one to start with.
When I try to install the rpms on my test SME (a VMWare install) it fails due to a dependency on perl-libnet. After locating and downloading an appropriate perl-libnet rpm, it in turn fails due to a dependency on perl-modules. And so on.
I'm afraid my understanding of the rpm/yum world is sketchy. As I understand it I have two basic options:
1. Keep downloading and "rpm -i"ing the required packages until I sort of reverse-cascade myself back up the "dependency waterfall" to a point at which dependencies are met, and I make my way back down again.
2. Use YUM to install perl-libnet which will resolve the dependencies and install the required packages.
I don't like the idea of option 1 because:
- I'm lazy and I don't like hard work
- I'm afraid to break SME by installing a newer/older/incompatible component
- I don't want to get too far away from the basic vanilla SME install, with auto updates and upgrades
I like the idea of option 2 because:
- I'm lazy ...
- It is the preferred option in the SME Server wiki for adding software
- It is easier to re-run if an SME upgrade/update breaks the search functionality
The only problem is that I don't know how to find a YUM repository which contains the required rpm packages.
Can anyone confirm my understanding of the situation above and (if I'm on the right track) help me with the YUM repos stuff, or let me know if I'm barking up the wrong tree?
Cheers
-
Hello everyone, I would value some assistance.
[cut]
Can anyone confirm my understanding of the situation above and (if I'm on the right track) help me with the YUM repos stuff, or let me know if I'm barking up the wrong tree?
Cheers
Hi..
the right way is to use yum..
if you've zaval's rpm on your sme (for example in /root) try:
yum --enablerepo=* --disablerepo=testing localinstall yourzaval.rpm
it should work
HTH
Ciao
Stefano
-
Thanks for that Stefano, it all makes a lot more sense now.
However, when I run the command below, while it detects the perl-libnet dependency it does not find the perl-libnet rpm:
yum --enablerepo=* --disablerepo=smeupdates-testing localinstall zfsearch-spider-1.3.0-1.i386.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining zfsearch-spider-1.3.0-1.i386.rpm: zfsearch-spider - 1.3.0-1.i386
Marking zfsearch-spider-1.3.0-1.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package zfsearch-spider.i386 0:1.3.0-1 set to be updated
--> Running transaction check
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
--> Processing Dependency: perl-libnet for package: zfsearch-spider
--> Finished Dependency Resolution
Error: Missing Dependency: perl-libnet is needed by package zfsearch-spider
================================================================
No new rpms were installed. No additional commands are required.
================================================================
I have had a look at the /etc/yum.conf file and checked out the urls for each of the repository - none of which contain a perl-libnet rpm.
Are there other yum repositories I can add in to the config file?
-
Thanks for that Stefano, it all makes a lot more sense now.
However, when I run the command below, while it detects the perl-libnet dependency it does not find the perl-libnet rpm:
yum --enablerepo=* --disablerepo=smeupdates-testing localinstall zfsearch-spider-1.3.0-1.i386.rpm
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Local Package Process
Examining zfsearch-spider-1.3.0-1.i386.rpm: zfsearch-spider - 1.3.0-1.i386
Marking zfsearch-spider-1.3.0-1.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package zfsearch-spider.i386 0:1.3.0-1 set to be updated
--> Running transaction check
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
--> Processing Dependency: perl-libnet for package: zfsearch-spider
--> Finished Dependency Resolution
Error: Missing Dependency: perl-libnet is needed by package zfsearch-spider
================================================================
No new rpms were installed. No additional commands are required.
================================================================
I have had a look at the /etc/yum.conf file and checked out the urls for each of the repository - none of which contain a perl-libnet rpm.
Are there other yum repositories I can add in to the config file?
Hi..
AFAIK there's no perl-libnet package for sme/centos/redhat
try to contact zfsearch-spider..
Ciao
Stefano
-
You may already have it. Just the rpm DB is not aware of it.
Look in /usr/lib/perl5/5.8.5/Net
Two dodgy suggestions.
Install an old version
wget ftp://fr2.rpmfind.net/linux/falsehope/home/requested/perl/perl-libnet-1.0703-5rh71.i386.rpm
or
Use rpm and force the install as per the authors instructions.
-
Ked;
I think you are exaggerating your laziness :lol: . I use Google desktop to search my sme file server with good results. And it keeps me from installing something else on the server.
Ian
-
Thanks everyone for your suggestions - they are all very helpful. So much so that I am following up all three!
Ian, I've got the users up and running with Google desktop search across the mapped network drives that I've put in the netlogon.bat file. Its certainly doing the job in the office, but I need to also provide search functionality over the web as the users spend days away from the office with no VPN access - just i-net cafes etc.
William_syd - you are right. In fact, when I recently ran the update for another SME 7.1 instance I have, the perl-libnet rpm appeared in the list as one of the RPMs to be updated. So I will pursue the no deps options of rpm, and as suggested by Stefano, will contact the zfsearch people to see if they can help.
If I get it up and running I will whip up a howto - I've been looking for something to contribute back into the SME Server community.
-
Ked;
I'd be interested in the searching without having to vpn onto the network.
With Google, I do not have any mapped drives, I just log on to my machine, the network and the server (sometimes I work from home on a different machine). There is a part of google desktop that lets you specify network locations and drives as default search places. It works pretty well.
Ian