compiling ImageMagick source on CentOS 5.x

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

compiling ImageMagick source on CentOS 5.x

Post by NicolasRobidoux »

It appears that a few people have had issues compiling ImageMagick on CentOS 5.x.

CentOS 5.x, like it's parent RedHat 5.x, has a 4.1 series gcc. Apparently, OpenMP support made a big leap forward starting with gcc 4.2.2.

A 4.4 series gcc is available on the most recent CentOS/RedHat 5.x through gcc44.

Could the fix be as simple as setting cc to point to gcc44 instead of the default gcc?

Anybody else has issues/solutions?
Last edited by NicolasRobidoux on 2012-03-11T15:44:32-07:00, edited 1 time in total.
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: compiling ImageMagick source on CentOS 5.x

Post by NicolasRobidoux »

NicolasRobidoux wrote:Could the fix be as simple as setting cc to point to gcc44 instead of the default gcc?
No.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: compiling ImageMagick source on CentOS 5.x

Post by fmw42 »

Have you tried disabling OpenMP?
NicolasRobidoux
Posts: 1944
Joined: 2010-08-28T11:16:00-07:00
Authentication code: 8675308
Location: Montreal, Canada

Re: compiling ImageMagick source on CentOS 5.x

Post by NicolasRobidoux »

fmw42 wrote:Have you tried disabling OpenMP?
Yes: viewtopic.php?f=1&t=20498#p81938
Post Reply