[fink:package-submissions] #4092 ImageMagick 6.5.8.10 with better Leopard support
Hanspeter Niederstrasser via Fink-tracker <[email protected]>
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/4092/aa7e498fc2b95da52fae6696dbf19153d3044f11.package-submissions@fink.p.sourceforge.net> |
- **labels**: Updated Revision of Existing --> Updated Revision of Existing, graphics
- **status**: open --> closed-out-of-date
- **Group**: Awaiting_Update_from_Submitter --> Other
- **Comment**:
This is out of date. IM is several libN ahead, and Leopard support was dropped long ago.
---
** [package-submissions:#4092] ImageMagick 6.5.8.10 with better Leopard support**
**Status:** closed-out-of-date
**Group:** Other
**Labels:** Updated Revision of Existing graphics
**Created:** Sat Mar 03, 2012 09:07 PM UTC by Peter Dyballa
**Last Updated:** Sat Mar 03, 2012 09:16 PM UTC
**Owner:** nobody
Does this package have OS version restrictions? Probably not. It built on PPC 10.4 and 10.5 and on intel 10.6.
Which section does it belong in? graphics
Have you built it with -m --build-as-nobody? Yes, on all three platforms, the -nox and also the plain variant.
The main difference is the use of "CC=gcc-4.2 CXX=g++-4.2" as additional configure parameters. On Leopard, Mac OS X 10.5, this is necessary to ensure the use of OpenMP because here Fink is playing foul and prepending /sw/var/lib/fink/path-prefix-g++-4.0 to PATH so that the faulty /sw/var/lib/fink/path-prefix-g++-4.0/c++ shell script is used which resets the compiler to g++-4.0. This lets the statement
make CCLD=g++
fail because now a different and older compiler is used than during the configure step which cannot use the OpenMP interface and so the build fails, as Dominique and I reported. So this make invocation is better reset to plain 'make'.
• On Tiger this setting plays no role, the compilers are too dumb – except, maybe, one tries to use a Fink gcc4\[2-6\] package for compilation.
• On Lion it also plays no role, the compilers are modern and up-to-date.
• On Snow Leopard Fink also changes PATH but here the Fink wrapper scripts keep the compiler version. So when GCC 4.2 is active the OpenMP interface and libgomp are found and used. When GCC 4.0 is used then OpenMP is not found and also no libgomp. Compilation succeeds always.
Using for example
if \[ \`sw\_vers -productVersion|cut -f2 -d.\` == 5 \] ; then export CC=gcc-4.2 CXX=g++-4.2 ; fi
the OpenMP aware compilers are enabled only for Leopard.
I also substituted the old and not working \("unknown option"\) "--enable-libtool-verbose" with "--disable-dependency-tracking --disable-silent-rules" – the latter option makes the compilation verbose again.
Another change is that the -nox variant uses --without-openexr because the utilities \(binaries\) could not be built on Leopard \(PPC\) and Snow Leopard \(intel, Sandy Bridge\). Finally the fourth "DocFiles: LICENSE README.txt ChangeLog NEWS.txt" statement was commented: with HFSX and this line enabled the packages do not build.
The PATCH file just takes into account changed path names to the files.
ImageMagick 6.5.8 can be built in parallel:
177.686u 60.873s 4:24.44 90.2% 0+0k 356+1938io 0pf+0w imagemagick 1 CPU
344.772u 92.014s 2:06.66 344.8% 0+0k 391+1391io 0pf+0w imagemagick 8 CPU
141.639u 30.915s 3:07.02 92.2% 0+0k 770+1115io 0pf+0w imagemagick-nox 1 CPU
245.789u 40.249s 1:45.23 271.8% 0+0k 1422+767io 0pf+0w imagemagick-nox 8 CPU
The output from dpkg -L is not available because the package is already updated with another one, one up-to-date.
---
Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker