From: Piet B. <pie...@ya...> - 2002-12-31 07:00:56
|
I spent Christmas afternoon chasing all of the dependent Perl modules, RPMifying each one of them. 1) if you're running rh80, downoad the whole directory of RPMs from: http://pietbarber.com/ids/RPMS/ (don't download the ids-0.82-0.i386.rpm -- delete it if you already have; it's kind of broken in not-so-subtle ways). 2) Make sure you already have ImageMagick-perl*.rpm installed from the distribution CD or a mirror of the redhat archive. 3) go into the directory where you downloaded all of the RPMs, and run rpm -Uvh *.rpm 4) restart your web server (/sbin/service httpd restart) 5) Make sure you supply a good password for the admin: htpasswd -m /usr/share/ids/admin/.htpasswd admin "your lovely password" (This SHOULD work!) This should include perl-Image-Xbm and perl-Image-Xpm, which perl-Image-Info depends on. Notice there are two different image format RPMS, (Xbm and Xpm) ^ ^ Image::Info also depends on IO::Strings, IO::Strings depends on... OOoooh! I'm getting a headache thinking about all this! If you RPM -Uvh all of those RPMS all at once, you should be fine. Since they all depend on each other, you can eliminate the need of determining what needs what by doing all the RPMs all at once. If you really like making pain for yourself, you could download the whole directory, figure out the dependency tree, install each one, one at a time, each in order, until you finally can get ids running. That is painful, and I would not recommend it. ;) Has anybody out there run apt-get for RPM? AWESOME! If anybody here has used apt for rpm (http://apt.freshrpms.net), the right way to go about this is to have a apt.sources file, so we can get all of the dependencies automated, and so that RedHat users with apt4rpm installed, can learn why all the Debian zealots are ... well.. so "enthusiastic"; by running something along the lines of: "apt-get update && apt-get install ids" Once I can crack the code of how to make an apt.sources file, I will get one set up for ids. Oh, and By the way, I plan on having all of these packages uploaded to the IDS website anyday now (http://ids.sourceforge.net), as my webserver on my sucky DSL connection probably isn't too great for downloading anything in bulk. If you are scared of using my perl RPMS, you can go about installing the myriad of annoying perl modules the "manly" way: As root, type: perl -MCPAN -e shell The first time through, you'll get asked a bunch of questions, for the most part they are all the default answer, unless you're using a web proxy or an http proxy. After you get to the CPAN shell mode, type install Image::Info And CPAN will fetch all dependent Packages, and compile them, and install them on your system. Me? I prefer RPMS for my perl modules, even if it means spending Christmas chasing down dependent perl modules. Why? Because you can remove them much more easily, and avoid cruft-building of having a perl directory with 3 years of useless packages you compiled looooong ago. --- Larry Airaghi <ai...@sp...> wrote: > Im trying to install ids from the new rpms on a RedHat 8.0 new > machine. ImageMagic is already installed. I keep getting the failure > > perl(Image::Xbm) is needed by perl-Image-Info-1.11-0 > > when trying to install "rpm -ivh ids...rpm" or even perl-image-info-...rpm > by itself. The package perl-Image-Xbm-1.08-0.i386.rpm installed ok. > > I tried using cpan to find module Image::Xbm and it says it is installed. > > This is a show-stopper for me using these new rpm. any ideas what I might > be missing? > > Larry > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > IDS-devel mailing list > IDS...@li... > https://lists.sourceforge.net/lists/listinfo/ids-devel ===== Piet Barber Please forward all further correspondence to: <pb...@sk...> http://skylinesoaring.org/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |