svlug-installing_perlmagick_etc_installation_hassles_with_different_distros_including_debian

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Tue, 8 Oct 2002 23:06:25 -0700
From: "Rafael Skodlar,,," <raffi@linwin.com>
To: George Georgalis <georgw@galis.org>
Cc: svlug@lists.svlug.org
Subject: Re: [svlug] another image display system...

George Georgalis wrote:

> I'm looking for something like http://ids.sourceforge.net
> 
> and/or a guest book. but this is the only apache "image display system"
> I can find. is there a page with similar apps linked, or do you know
> any?

You may find something here:
http://www.hotscripts.com/Perl/Scripts_and_Programs/Image_Galleries/


I happened to look into something similar last night and tonight to
create an index of photos I want to put on my web server.

Besides that I needed to change the size and brightness in over 150
pictures. I decided to write a short script to do that for me. Resizing
was not a problem but "display" command doesn't change the brightness
(Redhat7.2). Looking for software to manipulate graphics some other way
I came across PerlMagic. The following happens during installation
attempt:

perl Makefile.PL
Note (probably harmless): No library found for -lfpx
Writing Makefile for Image::Magick

make
gcc -c -I../ -I.. -D_REENTRANT -D_FILE_OFFSET_BITS=64
-I/usr/local/include -I/usr/X11R6/include -fno-strict-aliasing
-I/usr/local/include -O2 -march=i386 -mcpu=i686     -DVERSION=\"5.31\"
-DXS_VERSION=\"5.31\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/CORE
-DHAVE_CONFIG_H Magick.c
Magick.xs:76:24: magick/api.h: No such file or directory
make: *** [Magick.o] Error 1

That's on Redhat 7.2 with "everything installed". It's useless.

Tried to use the same thing on Debian:

ark:~# apt-get install perlmagick
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  perlmagick: Depends: libmagick5 (= 4:5.4.4.5-1) but 4:5.4.7.1-1 is to
be installed
E: Sorry, broken packages
ark:~# apt-get install libmagick5
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, libmagick5 is already the newest version.

So don't tell me that one distribution is any better than the other.

I installed RH8.0 at work on Dell machine today. It doesn't bring the
network up (3COM interface). Previous versions (7.0, 7.2) and Mandrake
installed without problem. Go figure!

I know there is a bunch of people out there who will say, go compile
from the sources etc. Who the hell has all the time to play with this,
i.e. try to figure out why the whole distribution (RH7.2) is not able to
compile simple (?) thing like PerlMagick.

Compiling from sources was working better 4 years ago than it does now.
And what's the point making useless packages? Too many other important
things to do than mess with packages. It makes you curl your hair:
http://www.remotepoint.com/~jordanh/gallery/index.cgi?mode=image&album=/Pictures/Places%5fand%5fThings/Miscellaneous&image=01%20Unix%20Stylist%20Hair%20Dryer.jpg

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu