-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
imagemagick dependency fail - libwmf error during build. #193
Comments
strange thing is that it built ok as a standalone package (ie. brew install libwmf) |
Hmm, that is strange. |
Can you try adding ENV.gcc_4_2 to the top of the install function in libwmf and then reinstalling imagemagick (of course brew rm libwmf first). |
I was unable to install imagemagick as well. Here's my errors: I tried the "ENV.gcc_4_2" edit as well, and that didn't work. I'm going to try installing X11 as this ticket suggests: |
I can confirm that libwmf installs correctly on SL if X11 is installed from the SL installation disc. Having some kind of messaging around this would definitely be helpful, though ;) |
I did install X11 form the SL installation disc but this still isn't working. Arghhhh! http://gist.github.com/278047 |
Hmm - sorry, but I don't know what might be wrong. The only thing I changed was installing X11 from the SL disc and it worked for me, so I expected that would work for everyone. Maybe there's something else going on in your case, too... |
Just pushed code that doesn't use libwmf dependency if X11 isn't installed correctly. Which is the case for you lot, I certainly don't understand what's going on. But ImageMagick must work. And now it will. |
Thanks for the update, but it's still not working for me... http://gist.github.com/278964 |
OK, I fixed the x11? problem, still getting the freetype related error. I've updated the gist with the git diff and the freetype error: http://gist.github.com/278047 |
Hmm, I can't of tested it before I pushed. I distinctly remember testing it though, which is possibly more worrying. |
I get this while trying to install imagemagick dependency - libwmf
/Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 -O4 -march=core2 -mmmx -msse4.1 -w -pipe -I/usr/X11/include/freetype2 -I/usr/X11/include -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -o .libs/wmf2gd wmf2gd.o -L/private/tmp/homebrew-libwmf-0.2.8.4-8Pxr/libwmf-0.2.8.4/src/.libs -L/usr/X11/lib -L/usr/X11R6/lib ../.libs/libwmf.dylib /private/tmp/homebrew-libwmf-0.2.8.4-8Pxr/libwmf-0.2.8.4/src/.libs/libwmflite.dylib -lfreetype -lX11 -lexpat -ljpeg -lpng -lz ../.libs/libwmflite.dylib -lm
lto-llvm.s:285:suffix or operands invalid for `movq'
lto-llvm.s:740:FATAL:Symbol _main already defined.
ld: could not do LTO codegen: error in assembly
collect2: ld returned 1 exit status
make[3]: *** [wmf2x] Error 1
make[3]: *** Waiting for unfinished jobs....
i686-apple-darwin10-gcc-4.2.1: lto-llvm.s: No such file or directory
i686-apple-darwin10-gcc-4.2.1: warning: '-x assembler' after last input file has no effect
i686-apple-darwin10-gcc-4.2.1: no input files
ld: could not do LTO codegen: error in assembly
collect2: ld returned 1 exit status
make[3]: *** [wmf2gd] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/libwmf.rb#L11
==> Environment
HOMEBREW_VERSION: 0.5
HEAD: b2fd885
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CACHE: /Library/Caches/Homebrew
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit penryn
OS X: 10.6
Kernel Architecture: i386
Ruby: 1.8.7-72
GCC-4.2: build 5646
LLVM: build 2206
MacPorts or Fink? false
Exit status: 2
Error: Failure while executing: make
The text was updated successfully, but these errors were encountered: