1 |
On 9/24/06, Peter Humphrey <prh@××××××××××.uk> wrote: |
2 |
> I've started a new thread because the old one had drifted. |
3 |
> |
4 |
> While trying Duncan's CFLAGS I found I couldn't emerge imagemagick because |
5 |
> it didn't recognise -combine or -ftree-pre. So I removed those |
6 |
> from /etc/make.conf and reran emerge imagemagick. Weirdness. Here are some |
7 |
> extracts from the compilation log: |
8 |
> |
9 |
> # cat /var/log/portage/media-gfx:imagemagick-6.2.9.5-r1:20060924-120227.log |
10 |
> [...] |
11 |
> >>> Compiling source |
12 |
> in /var/tmp/portage/imagemagick-6.2.9.5-r1/work/ImageMagick-6.2.9 ... |
13 |
l5/5.8.8/x86_64-linux-thread-multi/CORE" -DHAVE_CONFIG_H |
14 |
> Magick.c |
15 |
> x86_64-pc-linux-gnu-gcc: unrecognized option `-combine' |
16 |
> cc1: error: unrecognized command line option "-ftree-pre" |
17 |
> make[2]: *** [Magick.o] Error 1 |
18 |
> make[2]: Leaving directory |
19 |
> `/var/tmp/portage/imagemagick-6.2.9.5-r1/work/ImageMagick-6.2.9/PerlMagick' |
20 |
> make[1]: *** [install-exec-perl] Error 2 |
21 |
> make[1]: Leaving directory |
22 |
> `/var/tmp/portage/imagemagick-6.2.9.5-r1/work/ImageMagick-6.2.9' |
23 |
> make: *** [install-am] Error 2 |
24 |
> |
25 |
> !!! ERROR: media-gfx/imagemagick-6.2.9.5-r1 failed. |
26 |
> Call stack: |
27 |
> ebuild.sh, line 1546: Called dyn_install |
28 |
> ebuild.sh, line 1020: Called src_install |
29 |
> imagemagick-6.2.9.5-r1.ebuild, line 90: Called die |
30 |
> |
31 |
> So I removed -rf /var/tmp/portage/imagemagick-6.2.9.5-r1 and got exactly |
32 |
> the same result! |
33 |
> |
34 |
> Can anyone see what I'm doing wrong? Perhaps another C flag is pulling those |
35 |
> two in. |
36 |
> |
37 |
> -- |
38 |
> Rgds |
39 |
> Peter |
40 |
|
41 |
Are you running amd64 or ~amd64 or do you possibly have imagemagick |
42 |
keyworded? I recompiled everything using Duncan's flags and I had no |
43 |
problems with imagemagick. |
44 |
|
45 |
emerge -p imagemagick |
46 |
|
47 |
These are the packages that would be merged, in order: |
48 |
|
49 |
Calculating dependencies... done! |
50 |
[ebuild R ] media-gfx/imagemagick-6.2.9.5 |
51 |
|
52 |
I noticed that 6.2.9.5-r1 is marked as ~amd64. Have you tried |
53 |
compiling the amd64 keyworded version with these flags or do you have |
54 |
something on your system that requires the ~amd64 keyworded version of |
55 |
imagemagick? |
56 |
-- |
57 |
gentoo-amd64@g.o mailing list |