<div dir="ltr">Many thanks, problem solved. - Bob<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 8, 2015 at 4:03 PM, Nicolas Ojeda Bar <span dir="ltr"><<a href="mailto:no263@dpmms.cam.ac.uk" target="_blank">no263@dpmms.cam.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Robert,<div><br></div><div>What version of ocaml are you using?  This was fixed shortly after 10.10 was released.  See <<a href="http://caml.inria.fr/mantis/view.php?id=6346" target="_blank">http://caml.inria.fr/mantis/view.php?id=6346</a>><span></span> for details.</div><div><br></div><div>Cheers,</div><div>Nicolas</div><div class="HOEnZb"><div class="h5"><div><br>On Sunday, February 8, 2015, Robert Muller <<a href="mailto:robert.muller2@gmail.com" target="_blank">robert.muller2@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Greetings, things have gone sideways for me with opam since upgrading my OSX to 10.10.  In particular, my attempt to reinstall Kenichi Asai's Universe library is failing because opam is failing in its attempt to install lablgtk. I'm pretty sure this problem is solved somewhere but I'm not finding a solution or workaround.<div><br></div><div>I'm pretty sure this isn't the right forum for posting this sort of problem, but I checked the opam FAQ and couldn't find any other obvious spot, and I've been seeing traffic relating to problems with opam. Hints as to where to post this kind of thing would be appreciated.</div><div><br></div><div>Anyway, as far as I can tell, the gcc compiler seems to fail because it's invoked with a switch:</div><div><br></div><div>-fno-defer-pop </div><div><p><span>that it doesn't recognize. I'm under the impression that earlier versions of Xcode treated this as a warning rather than an error, but I'm getting:</span></p><p><span># </span><span>clang: error: unknown argument: '-fno-defer-pop'</span></p></div><div>I'm running OSX 10.10.1 and Xcode 6.1.1. Any hints appreciated.</div><div><br></div><div>Thanks,</div><div>Bob Muller</div><div><br></div><div>-----------------------------</div><div>







<p><span>#===</span><span> <b>ERROR</b> <b>while installing lablgtk.2.18.3</b> </span><span>====================================#</span></p>
<p><span>#</span><span> </span><span>opam-version</span><span> 1.2.0</span></p><p><span>#</span><span> </span><span>os</span><span>           darwin</span></p>
<p><span>#</span><span> </span><span>command</span><span>      make world</span></p>
<p><span>#</span><span> </span><span>path</span><span>         /Users/muller/.opam/system/build/lablgtk.2.18.3</span></p>
<p><span>#</span><span> </span><span>compiler</span><span>     system (4.01.0)</span></p>
<p><span>#</span><span> </span><span>exit-code</span><span>    2</span></p>
<p><span>#</span><span> </span><span>env-file</span><span>     /Users/muller/.opam/system/build/lablgtk.2.18.3/lablgtk-36443-e4db2f.env</span></p>
<p><span>#</span><span> </span><span>stdout-file</span><span>  /Users/muller/.opam/system/build/lablgtk.2.18.3/lablgtk-36443-e4db2f.out</span></p>
<p><span>#</span><span> </span><span>stderr-file</span><span>  /Users/muller/.opam/system/build/lablgtk.2.18.3/lablgtk-36443-e4db2f.err</span></p>
<p><span>### stdout ###</span></p>
<p><span># </span><span>...[truncated]</span></p>
<p><span># </span></p>
<p><span># </span><span>        debug           no</span></p>
<p><span># </span><span>-e      C compiler      gcc</span></p>
<p><span># </span><span>/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src world</span></p>
<p><span># </span><span>ocamlc.opt -c -pp "camlp4o -impl" -impl varcc.ml4</span></p>
<p><span># </span><span>ocamlc.opt   -o varcc varcc.cmo</span></p>
<p><span># </span><span>rm -f *_tags.h *_tags.c</span></p>
<p><span># </span><span>./varcc gdkpixbuf_tags.var</span></p>
<p><span># </span><span>./varcc gdk_tags.var</span></p>
<p><span># </span><span>ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/X11/include -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include/libpng15 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/atk-1.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -imacros ml_domain.h -O' -verbose ml_gdkpixbuf.c</span></p>
<p><span>### stderr ###</span></p>
<p><span># </span><span>+ gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/X11/include -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include/libpng15 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gail-...[truncated]</span></p>
<p><span># </span><span>clang: error: unknown argument: '-fno-defer-pop'</span></p>
<p><span># </span><span>make[1]: *** [ml_gdkpixbuf.o] Error 2</span></p>
<p><span># </span><span>make: *** [world] Error 2</span></p></div></div>
</blockquote></div>
</div></div></blockquote></div><br></div>