Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Error on trying to install Image::Magick
Hi

I am getting a screen full of errors when trying to build Image::Magick

Note that the error starts with=20

gcc: unrecognized option `-pthread'

Looks like it can be compiled only in the multithreaded version of perl
5.8.0

Is there a get around if I want to install in the non-multithreaded
version of perl.

Thanks in advance

Philip

Commands used:

# perl -MCPAN -e shell
cpan> install Image::Magick

=20
Errors:


Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lMagick
Note (probably harmless): No library found for -lfreetype
Note (probably harmless): No library found for -llcms
Note (probably harmless): No library found for -ltiff
Note (probably harmless): No library found for -lfreetype
Note (probably harmless): No library found for -ljpeg
Note (probably harmless): No library found for -lpng
Note (probably harmless): No library found for -ldpstk
Note (probably harmless): No library found for -ldps
Writing Makefile for Image::Magick
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
/usr/local/bin/perl /usr/local/lib/perl5/5.8.6/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.8.6/ExtUtils/typemap  Magick.xs > Magick.xsc &&
mv Magick.xsc Magick.c
gcc -c  -I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/include
-I/usr/X11R6/include/X11 -I/usr/include/libxml2  -fno-strict-aliasing
-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 =
-g
-O2 -Wall -pthread -O    -DVERSION=3D\"6.2.0\"  -DXS_VERSION=3D\"6.2.0\"
-fPIC "-I/usr/local/lib/perl5/5.8.6/sun4-solaris/CORE"
-D_FILE_OFFSET_BITS=3D64 -DHAVE_CONFIG_H Magick.c
gcc: unrecognized option `-pthread'
Magick.xs:63:24: magick/api.h: No such file or directory
Magick.xs:152: error: parse error before "MagickRealType"
Magick.xs:152: warning: no semicolon at end of struct or union
Magick.xs:159: error: parse error before '*' token
Magick.xs:159: warning: type defaults to `int' in declaration of
`image_reference'
Magick.xs:159: warning: data definition has no type or storage class
Magick.xs:169: error: parse error before '}' token
Magick.xs:173: error: parse error before "ImageInfo"
M

Report this thread to moderator Post Follow-up to this message
Old Post
Philip Tham
05-14-05 08:58 PM


RE: Error on trying to install Image::Magick
I did not receive any response yet.=20

-----Original Message-----
From: Colin Johnson [mailto:colin@claviusbase.net]=20
Sent: Thursday, June 09, 2005 1:34 AM
To: Tham, Philip
Subject: Error on trying to install Image::Magick


Hello Philip,

Did you solve your problem installing Image::Magick? (I have exactly the

same problem.... would appreciate if you had the solution).

Regards,
Colin


Report this thread to moderator Post Follow-up to this message
Old Post
Philip Tham
06-09-05 08:56 PM


Re: Error on trying to install Image::Magick
On Fri, 13 May 2005, Tham, Philip wrote:

> I am getting a screen full of errors when trying to build Image::Magick

Is the [non-Perl] ImageMagick suite installed?

The Perl Image::Magick library will, as I understand it, depend on this.

You get "probably harmless" warnings that I think are actually
identifying the problem. I'm not sure what platform you're on, but I
suspect that installing the relevant IM package[s] may get you past this
error in the CPAN shell.



--
Chris Devers

Report this thread to moderator Post Follow-up to this message
Old Post
Chris Devers
06-09-05 08:56 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:55 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.