Page 1 of 1

compiling ImageMagick source on CentOS 5.x

Posted: 2012-03-10T14:41:53-07:00
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?

Re: compiling ImageMagick source on CentOS 5.x

Posted: 2012-03-11T15:44:21-07:00
by NicolasRobidoux
NicolasRobidoux wrote:Could the fix be as simple as setting cc to point to gcc44 instead of the default gcc?
No.

Re: compiling ImageMagick source on CentOS 5.x

Posted: 2012-03-11T16:41:57-07:00
by fmw42
Have you tried disabling OpenMP?

Re: compiling ImageMagick source on CentOS 5.x

Posted: 2012-03-11T17:41:44-07:00
by NicolasRobidoux
fmw42 wrote:Have you tried disabling OpenMP?
Yes: viewtopic.php?f=1&t=20498#p81938