Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

how do i enable the cipher in imagemagick? i researched and came up with ./configure --enable-cipher but how do i use it? when i type it in terminal, i ended up with
bash: ./configure: No such file or directory
tnx for the help.

2008-12-09 Retitled by GrandFather, as per Monastery guidelines

Replies are listed 'Best First'.
Re: (OT) perlmagick cipher question
by svenXY (Deacon) on Dec 09, 2008 at 14:23 UTC
    Hi,
    this seems to be a bit off-topic to me, but looking at your error message, I assume that you are not in your source directory.

    Usually, you
  • download an archive with source code (you seem to have done that),
  • unpack it somewhere,
  • cd into it (it should generate a subdirectory, otherwise it's probably crap) and then
  • check for the existence of a file "configure" -
  • BUT before you run it you should examine the directory content for files like README and INSTALL and
  • read them.

    Regards,
    svenXY
Re: (OT) perlmagick cipher question
by marto (Cardinal) on Dec 09, 2008 at 14:25 UTC

    Hi,

    Did you read the Install-unix.txt file that explains how you configure and build ImageMagick?

    Cheers,

    Martin

Re: (OT) perlmagick cipher question
by Bloodnok (Vicar) on Dec 09, 2008 at 14:20 UTC
    It might seem a daft question, but you have changed directory - into the directory containing the extracted ImageMagick package - before issuing the ./configure ... command, haven't you ?

    A user level that continues to overstate my experience :-))
Re: (OT) perlmagick cipher question
by Anonymous Monk on Dec 09, 2008 at 14:47 UTC
    hi its me... anonymous monk... i forgot to tell you that i got my imagemagick from yum. it was installed by itself, and i got my perlmagick from yum too! hehe.. thats where im having problems...
      Hi,
      that means that it's all already compiled. No ./configure there...
      in my Ubuntu, perlmagic is actually a package containing Image::Magick. Is this what you try to compile with cipher??? Or is it ImageMagick itself?

      Update: I found this http://www.imagemagick.org/www/cipher.html and I believe this is the docs you are referring to. Right? That means that you either need to complie ImageMagick yourself instead of using the rpm that is supplied by yum or you need to find an rpm that has an ImageMagick that has been compiled with this option.

      If the perlmagick/imagemagick that you installed via yum is not compiled with the option you require, you need to go the loooooooooooooooong way I described above (but beforehand you need to uninstall the rpm package)
      Regards,
      svenXY