Installing Perl::Magick

2002-02-19 Thread lamp

I'm not quite ready to give up on this yet.  Below is a screen grab of my 
attempt(s) to install Perl::Magick.  As I have said previously, I am a 
complete Linux newbie - so what's happening here is lost on me (as yet).

Image::Magick is installed.  What am I doing wrong?

Thanks in advance.


[root@Beverley-II PerlMagick]# perl Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ljasper
Writing Makefile for Image::Magick
[root@Beverley-II PerlMagick]# make test
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/i686-linux 
-I/usr/local/lib/per
l5/5.6.1 /usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap 
/usr/local/lib/per
l5/5.6.1/ExtUtils/typemap Magick.xs  Magick.xsc  mv Magick.xsc Magick.c
cc -c -I../ -I.. -I/usr/include/freetype2 -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -I
/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 
-fno-strict-ali
asing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   
-DVE
RSION=\5.41\ -DXS_VERSION=\5.41\ -fpic 
-I/usr/local/lib/perl5/5.6.1/i686-lin
ux/CORE -DHAVE_CONFIG_H Magick.c
Magick.xs:76:24: magick/api.h: No such file or directory
make: *** [Magick.o] Error 1
[root@Beverley-II PerlMagick]# mak install
bash: mak: command not found
[root@Beverley-II PerlMagick]# make install
cc -c -I../ -I.. -I/usr/include/freetype2 -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -I
/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 
-fno-strict-ali
asing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   
-DVE
RSION=\5.41\ -DXS_VERSION=\5.41\ -fpic 
-I/usr/local/lib/perl5/5.6.1/i686-lin
ux/CORE -DHAVE_CONFIG_H Magick.c
Magick.xs:76:24: magick/api.h: No such file or directory
make: *** [Magick.o] Error 1





Re: Installing Perl::Magick

2002-02-19 Thread Marcel Weber

Hi

I don't know anything about your problem. I just wanted to give you a 
hint, as you said, that you were a complete linux newbie:

Do not work as root. It is dangerous! The root account should be for 
installation, configuration of the system and where it cannot be 
avoided. I always have some regular user account for working on my 
servers and as soon that I want to change something I do a su. The 
best is even to disable root logins on the console and especially via 
ssh / telnet. It gives you some extra security as everyone knows, that 
there must be a root account on a unix box.

Best regards and enjoy linux!

Marcel



Am Dienstag den, 19. Februar 2002, um 13:03, schrieb lamp:

 I'm not quite ready to give up on this yet.  Below is a screen grab of 
 my
 attempt(s) to install Perl::Magick.  As I have said previously, I am a
 complete Linux newbie - so what's happening here is lost on me (as yet).

 Image::Magick is installed.  What am I doing wrong?

---

PGP / GPG Key:  http://www.ncpro.com/GPG/mmweber-at-ncpro-com.asc




Re: Installing Perl::Magick

2002-02-19 Thread Richard Dice

Your question isn't a modperl question.  Please keep that in mind when
posting to this list.  Maybe you're trying to use Perl::Magick as part
of a project that uses modperl, but that doesn't make this a modperl
issue.

 I'm not quite ready to give up on this yet.  Below is a screen grab of my 
 attempt(s) to install Perl::Magick.  As I have said previously, I am a 
 complete Linux newbie - so what's happening here is lost on me (as yet).
 
 Image::Magick is installed.  What am I doing wrong?
[deletia]
 RSION=\5.41\ -DXS_VERSION=\5.41\ -fpic 
 -I/usr/local/lib/perl5/5.6.1/i686-lin
 ux/CORE -DHAVE_CONFIG_H Magick.c
 Magick.xs:76:24: magick/api.h: No such file or directory
 make: *** [Magick.o] Error 1

Immediately above is the problem.  The file magick/api.h isn't installed.
You may have Imagemagick installed, but you don't have the development
files associated with it installed.

Most package-based Linux distributions, like RedHat (or RedHat/RPM based
systems) or Debian (or Debian/DEB based systems) split up a whole package
into parts.  You probably don't have the FOO-dev or libFOO package
that goes along with FOO.

I use Debian... here's what I have that pertains to your query re:
ImageMagick...

rdice@tanru:~$ export COLUMNS=120  dpkg --list | grep -i image
ii  imagemagick  5.4.2.3-1Image manipulation programs.
ii  libmagick++5 5.4.2.3-1The object-oriented C++ API to 
the ImageMagick library
ii  libmagick++5-dev 5.4.2.3-1The object-oriented C++ API to 
the ImageMagick library.--develop
ii  libmagick5   5.4.2.3-1Image manipulation library (free 
version).

(The above list edited to remove matches that don't have anything to do with
ImageMagick.)

Maybe you use a RPM-based system... check out http://rpmfind.net/ in order
to track down which package contains the file you need.

Cheers,
Richard
-- 

  Richard Dice * Personal 416 841 7365 * Fax 416 841 7364
  ShadNet Creator * http://shadnet.shad.ca/ * [EMAIL PROTECTED]
  Occasional Writer, HotWired * http://www.hotwired.com/webmonkey/
  squeeze the world 'til it's small enough to join us heel to toe
  - jesus jones




[OT] RE: Installing Perl::Magick

2002-02-19 Thread Jonathan M. Hollin

:: Your question isn't a modperl question.  Please keep that in 
:: mind when posting to this list.  Maybe you're trying to use 
:: Perl::Magick as part of a project that uses modperl, but 
:: that doesn't make this a modperl issue.

I appreciate that.  This is part of a mod_perl project, however I forgot
to include [OT] in the subject line.  The only reason I post here is
that the quality of help, and accuracy of reply that I have experienced
in the past is exactly what I need to get over my initial Linux
confusion.  However, if anyone knows of a _good_ Linux list...

:: Immediately above is the problem.  The file magick/api.h 
:: isn't installed. You may have Imagemagick installed, but you 
:: don't have the development files associated with it installed.

OK.

:: Most package-based Linux distributions, like RedHat (or 
:: RedHat/RPM based
:: systems) or Debian (or Debian/DEB based systems) split up 
:: a whole package into parts.  You probably don't have the 
:: FOO-dev or libFOO package that goes along with FOO.

And it's RedHat I'm using.

:: Maybe you use a RPM-based system... check out 
:: http://rpmfind.net/ in order to track down which :: package 
:: contains the file you need.

http://rpmfind.net/ has already become my best friend!  :-)

Thank you.


Jonathan M. Hollin - WYPUG Co-ordinator
West Yorkshire Perl User Group
http://wypug.pm.org/ 




RE: Installing Perl::Magick

2002-02-19 Thread Jonathan M. Hollin

:: I don't know anything about your problem. I just wanted to 
:: give you a 
:: hint, as you said, that you were a complete linux newbie:
:: 
:: Do not work as root. It is dangerous! The root account should be for 
:: installation, configuration of the system and where it cannot be 
:: avoided. I always have some regular user account for working on my 
:: servers and as soon that I want to change something I do a su. The 
:: best is even to disable root logins on the console and 
:: especially via 
:: ssh / telnet. It gives you some extra security as everyone 
:: knows, that 
:: there must be a root account on a unix box.

Marcel, I was working as root after an su as I couldn't install
Image::Magick under my own account.

As far as security goes - I /think/ I have configured my box with only
the www and ssh services available, everything else is locked down (he
says, hopefully).  
 
:: Best regards and enjoy linux!

Thank you.  So far I'm enjoying Linux tremendously.  It's really
challenging, but fun and intellectually stimulating.  I only wish I'd
started years ago.


Jonathan M. Hollin - WYPUG Co-ordinator
West Yorkshire Perl User Group
http://wypug.pm.org/ 




Re: [OT] RE: Installing Perl::Magick

2002-02-19 Thread Steve Werby

Jonathan M. Hollin [EMAIL PROTECTED] wrote:
 I appreciate that.  This is part of a mod_perl project, however I forgot
 to include [OT] in the subject line.  The only reason I post here is
 that the quality of help, and accuracy of reply that I have experienced
 in the past is exactly what I need to get over my initial Linux
 confusion.  However, if anyone knows of a _good_ Linux list...

isp-linux?  See http://isp-lists.isp-planet.com/isp-linux/ for mailing list
subscription.  The ImageMagick mailing list, magick-users is also problably
a good resource for your problem.
mailto:[EMAIL PROTECTED]?subject=subscribe   Both lists
are what I consider medium volume.

You may also want to check for a list related to your Linux distro.  A good
place to find archives of hundreds of mailing lists which have a nice search
interface is http://marc.theaimsgroup.com/.

HTH,

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/





OT Re: Installing Perl::Magick

2002-02-19 Thread Marcel Weber

Sorry, I did not meant giving silly comments ;-) I just saw your email 
[EMAIL PROTECTED] so I thought you would usually work as root.

Marcel



Am Dienstag den, 19. Februar 2002, um 17:22, schrieb Jonathan M. Hollin:

 :: I don't know anything about your problem. I just wanted to
 :: give you a
 :: hint, as you said, that you were a complete linux newbie:
 ::
 :: Do not work as root. It is dangerous! The root account should be for
 :: installation, configuration of the system and where it cannot be
 :: avoided. I always have some regular user account for working on my
 :: servers and as soon that I want to change something I do a su. The
 :: best is even to disable root logins on the console and
 :: especially via
 :: ssh / telnet. It gives you some extra security as everyone
 :: knows, that
 :: there must be a root account on a unix box.

 Marcel, I was working as root after an su as I couldn't install
 Image::Magick under my own account.

 As far as security goes - I /think/ I have configured my box with only
 the www and ssh services available, everything else is locked down (he
 says, hopefully).

 :: Best regards and enjoy linux!

 Thank you.  So far I'm enjoying Linux tremendously.  It's really
 challenging, but fun and intellectually stimulating.  I only wish I'd
 started years ago.


 Jonathan M. Hollin - WYPUG Co-ordinator
 West Yorkshire Perl User Group
 http://wypug.pm.org/



---

PGP / GPG Key:  http://www.ncpro.com/GPG/mmweber-at-ncpro-com.asc




Re: Installing Perl::Magick

2002-02-19 Thread Ron Savage

lamp

See below.

Cheers
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html

 Magick.xs:76:24: magick/api.h: No such file or directory

This means you must, repeat must, have the ImageMagick source code on tap to compile 
PerlMagick. Being lazy, I wait for someone to
create an ActiveState ppm file...

As someone else mentioned, there are ImageMagick mailing lists:
http://www.imagemagick.org/www/magick-list.html




Re: Installing Perl::Magick

2002-02-19 Thread Ron Savage

Aaron

See below.

Cheers
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html

 There is a package available in ppm for ActiveState Perl.
 There is a short write up on it PerlMonks
 http://www.perlmonks.org/index.pl?node_id=140321

Thanx.

I was not actually asking for same. There is a package for V 5.4.3.2 here:
http://www.dylanbeattie.net/magick/downloads.html

I'm supplying this URI just for completeness.




Re: Installing Perl::Magick

2002-02-19 Thread Aaron Johnson

There is a package available in ppm for ActiveState Perl.
There is a short write up on it PerlMonks
http://www.perlmonks.org/index.pl?node_id=140321

Aaron Johnson

Ron Savage wrote:
 
 lamp
 
 See below.
 
 Cheers
 Ron Savage
 [EMAIL PROTECTED]
 http://savage.net.au/index.html
 
  Magick.xs:76:24: magick/api.h: No such file or directory
 
 This means you must, repeat must, have the ImageMagick source code on tap to compile 
PerlMagick. Being lazy, I wait for someone to
 create an ActiveState ppm file...
 
 As someone else mentioned, there are ImageMagick mailing lists:
 http://www.imagemagick.org/www/magick-list.html