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?
compiling ImageMagick source on CentOS 5.x
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
compiling ImageMagick source on CentOS 5.x
Last edited by NicolasRobidoux on 2012-03-11T15:44:32-07:00, edited 1 time in total.
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: compiling ImageMagick source on CentOS 5.x
No.NicolasRobidoux wrote:Could the fix be as simple as setting cc to point to gcc44 instead of the default gcc?
- 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
Have you tried disabling OpenMP?
-
- Posts: 1944
- Joined: 2010-08-28T11:16:00-07:00
- Authentication code: 8675308
- Location: Montreal, Canada
Re: compiling ImageMagick source on CentOS 5.x
Yes: viewtopic.php?f=1&t=20498#p81938fmw42 wrote:Have you tried disabling OpenMP?